This post includes methods to cross compile gcc source against ARM-Cortex-M3 target and use it to compile a program to blink LED in an LPC1343 board. The environment I used is Ubuntu 10. It may work with other platforms also. I tested this in Ubuntu lucid lynx and BOSS-2.6.22-3-486 ( Bharat Operating System Solutions ). This I tried referring this blog post.
Jul 7, 2011
May 25, 2011
17 Tips to Double Your Productivity in 14 Days ( got this wonderful mail from Robin Sharma )
This I got as a mail from sharma leadership inc. It worths reading.
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.
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.
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 ;) )
Subscribe to:
Posts (Atom)
For Web Developer
open -a "Google Chrome" --args --disable-web-security
-
Square of 104 ( faster way.. ) Answer will have _ _ _ _ _ .That is five digits . add the 4 to the entire number that is 104+4 ...
-
So start an emulator with sdcard some things that I tried ----> emulator -sdcard sdcard1.iso -avd avd_1.5 mksdcard 8M sdcard emulator -sd...
-
I was thinking about designing a web application which can be used as a profile of us. A profile page which describe ourselves. What I had ...