Setting up ARM Simulation Environment using GNU Tool chain

ARM DOCUMENTATION

Note : These are the steps i followed in setting up to develop C programs for ARM using the GNU tool chain. I am not using this currently, I am using an ARM emulator called QEMU.

IDE
    eclipse
COMPILER
    gcc
DEBUGGER
    gdb
SIMULATOR
    insight

REFERENCES
http://download.ronetix.info/toolchains/arm/arm_cross_development_guide.pdf
(contains the files that are to be downloaded for simulator)
http://embeddedcraft.org/armtutorials.html

ERROR
arm-elf-insight: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

cd /lib
ln libexpat.so.1 libexpat.so.0

this error is removed after this
--------------------------------------------
INSTALLING ECLIPSE
1. synaptic package manager
2. search eclipse
3. mark and apply for installation

after it is installed you have to install the eclipse c/c++ development tool chain
In package manager search
eclipse cdt and install
----------------------------------------------------------------------------

TO SETUP THE INSIGHT SIMULATOR INSIDE ECLIPSE
http://embeddedcraft.org/freearmtools3a.html#top

1. Run -> external tools -> external tools configuration

2. click on the Lunch new configuration button

3. Name it "insight"

4. Location is /home/abishek/opt/ARM/bin/arm-elf-insight

5. select the work bench

6. Now go to the common tab of External Tools Configurations and configure it to be displayed in External Tools favorites menu.
------------------------------------------------------------------------------

HELLO WORLD PROGRAM
http://blogs.arm.com/software-enablement/139-hello-world-in-assembly/
http://www.armadeus.com/wiki/index.php?title=Eclipse


setting up arm tools
http://embdev.net/articles/Using_arm-elf-run
using C to write ARM tools






Comments

Popular posts from this blog

Setting up atalanta ATPG to work on Linux

Generating 16k ROM using Xilinx IP COREGEN and simulating it in modelsim

Sparse matrix - 3 tuple representation