Jul 20, 2010

arm-elf- toolchain rough notes of my works......

scratches of my arm works... This is my rough backup.
This post explains how to develop a ready to run assembly code which works on an arm board from scratch. This includes boot.s crt.s and app.s.

Jul 12, 2010

an overview of arm board with mini2440

Mini2440 uses the samsung processor S3C2440 (arm7tdmi) from samsung. 

Processor S3C2440

Flash: 2MB NOR or 64MB(128, 256) NAND. Selected using S2 switch.

SDRAM: 2 Nos - 32MB each So total 64MB. Which has a 32 bit data bus width for maximum speed. Chip select nGCS6 places the SDRAM in 0 x 3000 0000.

Use JTAG Interface to program NOR flash with supervivi bios.

Features of my interest....

Jul 8, 2010

CPU digest.


DMA Controller: It contains source address, destination address and the count of words going to transfer between source and destination. One problem that can occur due to this is cache coherency.


Intel C8237 is a DMA chip.

Jul 1, 2010

Java Com API settings. ( access comm port through java )

Get comm.jar, win32com.dll, javax.comm.properties files.
Then follow the steps.
  1. copy comm.jar to jre/bin
  2. copy win32comm.dll to jre/bin
  3. copy javax.comm.properties to jre/lib
So that is it.... It is tea time... bye....

Jun 25, 2010

htc hero on android. (configure for ubuntu )

For to progam each android phone we need to define rules. the rules files are in
  • /etc/udev/rules.d/
For HTC Hero to work with android ubuntu.  First get android tools, eclipse, adt-plugin and bla blas required....( that is a common procedure ).

Jun 23, 2010

square of numbers near to the base



Square of 104 ( faster way.. )


     Answer will have  _ _ _ _ _  .That is five digits.

  1. add the 4 to the entire number that is 104+4 = 108_ _. so we got first 3 digits. we are adding 4 as the distance of the number from base is 4.
  2. remaining two digits.(two more digits are there because base is 100, which contains two zeros). 
  3. That is square of 4 ie 16 ( bcoz 104 is 4 number away from base ).
  4. So answer is 10816
Base means 100,1000,10000.. etc....

Basically what happened is, I have taken the base as 100. Now 104 is 4 more than the base. So immediately add that 4 to the entire number. That is 108 which is the first three digit of our answer. Now since base is 100 and it has two zeros. So now two more digits to go. So there comes square of 4 which is 16.

another example :
square of 112.
  1. 112 + 12 is 124.
  2. As base is 100 which contains two zeros we require two more digits.
  3. 12 square is 144 so answer is
  • 1 2 4
  •       1 4 4
  • That is 12544.
Analyse the number 1 under 4. How and Why :) ?

Another example 
square of 96
  1. 96 is 100 - 4 . here also base is 100 but our number is four less than the base.
  2. so we will subtract that 4 from our number 96 - 4 = 92
  3. now 2 more digits ( as base is 100 )
  4. now 4 square is 16 ( bcoz 96 is 4 number away from base )
  5. so answer is 9216
this is well explained in this video.


For Web Developer

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