Co-simulation of ARM and sensor

OP (Company: Clearbox Solutions) #2327647
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

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.