Apr 30, 2011

Scanner tutorial in java

Scanner object can be used to get inputs from keyboard in java. It is analogous to cin or scanf in C/C++. The Source code is given below. Here it will come out from the loop when you press 0. the code will wait in scanner.hasnext() function for an entry and "Enter" key.

Apr 10, 2011

Virtual memory and memory management unit

This post is incomplete. Would update later... ;)

Address space of a process can exceed physical memory using virtual memory.
I can use the addresses in the secondary memory for realisation of a memory space bigger than that is available in terms of SDRAM on the embedded system.
Multiple processes resides in main memory, each process with its own address space.
Only active code and data is actually in the memory
Another property provided through that of virtual memory is protection. One process should not interfere with another process. Because they operate in different address spaces. This we can make sure once we have implemented virtual memory. Because then we have a clear partitioning of address spaces of different processes.

Feb 14, 2011

How to write an IEEE paper or journal in in latex.


Formatting IEEE papers in MS-Word is cumbersome.  So here I briefs my experience with writing an IEEE journal using latex. I am working in Ubuntu(10.04). So the procedure starting from installation is given below.

Aug 4, 2010

arm memory organisation

This post is some scratches of what I learned from a youtube video for ARM processor memory organization.

Memory organisation? how the different types of memories such as cache, RAM are used to set up the complete memory system in an embedded system.

Aug 2, 2010

android camera tutorial

To learn camera programming with android, what I did is downloaded some sample programs and opened that as existing projects in android. I am using ubuntu 10.04. The links that I used for camera tutorialis given below.
First download the existing projects. (better to hack an existing one than writing from scratch ;) )

Jul 29, 2010

arm assembly work book { incomplete }

This is some of my rough works.
adc r2, r0, r1  ; r2 = r0 + r1 + carry bit

Arm architecture reference manual.pdf is a good reference for to learn ARM Architecture.

The subroutine return is performed by copying R14 back to the program counter.
This is typically done in one of the two following ways:
MOV PC,LR
BX LR

For Web Developer

  open -a "Google Chrome" --args --disable-web-security