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

von Andre T. (anta40)

Rate this post
0 useful
not useful

I'd like to learn ARM programmming using YAGARTO (I'm on Windows, 
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
0 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
0 useful
not useful
Hmm I found these 2 links:

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


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.