EmbDev.net

Forum: ARM programming with GCC/GNU tools Simulator for YAGARTO


von Andre T. (anta40)


Rate this post
useful
not useful
Hi,

I'd like to learn ARM programmming using YAGARTO (I'm on Windows, 
anyway).
I don't have any ARM boards at the moment, so is there any simulator on 
which I can test the code?

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
gdb offers a target called sim. I have just played a little bit with it 
and can not tell much. The sim-target can be used of simulate an ARM 
core (ARM7TDMI IRC) and also offers "hooks" for the standard SWI 
semihosting stdio. There is no support for integrated functions (like 
PLL, UART, SPI etc.).
You may also try QEMU: http://wiki.qemu.org/Main_Page . It's usually 
used to simulator "big" controllers but the documentation also mentions 
controllers with Cortex-M3 core.
For the first steps you may use the evaluation version of Keil/ARM 
MDK-ARM, it can be used to simulate different controllers and the 
integrated peripherals. It's a very good simulator for "low-level" work. 
Since machine-code generated with GNU tools can be simulated by the 
MDK-ARM simulator too you can use the toolchain as in Yagarto for 
compilation, assembling and linking.
Hope this gives at least a few keywords to feed a search-engine.

von Andre T. (anta40)


Rate this post
useful
not useful
Hmm I found these 2 links:
http://www.aurel32.net/info/debian_arm_qemu.php
http://www.armux.org/index.php/Virtual_Development_Board

I guess I'll try the "Debian Arm Qemu" first...

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.