Forum: ARM programming with GCC/GNU tools Co-simulation of ARM and sensor

von Mike S. (Company: Clearbox Solutions) (clearbox)

Rate this post
0 useful
not useful
I'm trying to figure out how I can simulate a sensor and it's 
interaction with a microcontroller.

1) I have successfully compiled and run simple programs on 
CodeSourcery's ARM7 simulator.  I'd either like to have an external 
process talk to this simulator or run the program on an actual device 
and talk to the external process from that device (through JTAG 

A few options I've tried:
1)  Once gdb is running my ARM7 SW, could I somehow connect to gdb to 
read/set registers?
2)  Could I open a pipe to another program that I could use for 
simulation of the sensor.  I've tried this a little bit but haven't 
figured out how I can open the pipe.

Any other suggestions.  I'm not sure if I'm even on the right track 




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.