Posts

Showing posts with the label ARM

QEMU and ARM assembly simulation for linux (debian)

I was looking for some assembly language simulators for ARM. Open sources preferable (free!) so after a lot of trial and error,  I found that QEMU was the solution I was looking for. here is a short description  of QEMU. "QEMU is a generic and open source machine emulator and virtualizer. When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. QEMU supports virtualization when executing under the Xen hypervisor or using the KVM kernel module in Linux. When using KVM, QEMU can virtualize x86, server and embedded PowerPC, and S390 guests." (source : http://wiki.qemu.org/Main_Page ) We dint have a simulation environment set up in our school for running ARM programs. So i decided to get myself one because i knew there were a number of open sourced hardware ...

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 mana...