EmbDev.net

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


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


Rate this post
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 
presumably).

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

Thanks!

Mike

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.