Tuesday, June 29, 2010

i wrote something....

"i could have been the richest and most powerful person on Earth. But unfortunately i is imaginary and worse, its the square-root of -1..."

Saturday, June 26, 2010

Graphics LCD In Proteus

Hello there, you have reached this page because you got a direct link or you were searching about graphics LCD interface / simulation in Proteus. Well this could be one of those right places to look for. Below is a "pretty basic" GLCD simulation as it runs on Proteus. Following are the platform details.

uC - ATMEGA32.
IDE - CodeVision AVR
XTAL - 16 MHz.
No word wrapping.


People interested in code details can leave a comment.
Plus any suggestions on improvement etc :P



Graphics LCD interface in Proteus (Click to Enlarge)

Sunday, June 20, 2010

No Donut Today !!!

Just enabled Google Analytics on my blog. Now i'd know who visited from where, when, how long, how many times and provide me accurate info on their profiles and mail accounts, okk i made up the last part... hehehhee.. :D

Happy Surfing... !!!

Sunday, June 13, 2010

Ubuntu on BeagleBoard.....

Finally, got running Ubuntu 10.04 on my BeagleBoard. All setup with a pretty slick script. Two actually - setup_sdcard.sh and the one below:

1. Goto http://elinux.org/BeagleBoardUbuntu#Help
2. Download http://rcn-ee.net/deb/rootfs/ubuntu-10.04-minimal-armel.tar.7z
3. Unpack it - tar -xvf ubuntu-10.04-minimal-armel.tar [after unzipping it in WinRAR or 7z]
4. Run the script - ./setup_sdcard.sh --mmc /dev/sdX --uboot beagle

And bingo after a while the BB boots up with Ubuntu (console version)

I did however try a few things though. Got an Angstrom full development enabled image / rootfs generated by the Angstrom Online Builder utility at http://www.angstrom-distribution.org/narcissus/
This one however did not run on the BB as it was getting stuck at Free init memory 168K which indicated a broken or incorrect build. Now as it had some binaries compiled for the ARM architecture i used the same on Ubuntu. A few worked but the one that i really wanted to - arm-linux-gnueabi-gcc - did not, giving an error saying - execv : Exec format error. However i managed to run vim from Angstrom distro in Ubuntu -

- Copy vim binary from /usr/bin of Angstrom to /usr/bin - of Ubuntu
- Copy all the following libs from /usr/lib - Angstrom to Ubuntu
- libXt.so.6.0.0 as libXt.so.6
- libSM.so.6.0.1 as libSM.so.6
- libICE.so.6.3.0 as libICE.so.6
- libX11.so.6.3.0 as libX11.so.6
- libXau.so.6.0.0 as libXau.so.6
- libXdmcp.so.6.0.0 as libXdmcp.so.6

- Copy everything from /usr/share/vim/vim72 of Angstrom into sams path of Ubuntu.
- Edit vimrc of Ubuntu at /usr/share/vim and comment syntax highlighting, uncomment the indentation related lines and add set backspace=2 to make life easier and prevent any startup warnings.

Bingo, now we've got vim running on ubuntu from angstrom the hard way...
Now only if i could compile stuff directly on the BB !!!

A screenshot of a typical dev day (click to maximize)


Mid screen - Ubuntu console interface over HDMI
Right - Kernel debugger console
Left - Die Hard 4.0

Until then - Ciao...