Discussion Forum

Simulating 2 8051 connected by number of Pins

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
John Smith
Posted
21-Jul-2003 10:39 GMT
Toolset
C51
New! Simulating 2 8051 connected by number of Pins
i want to ask if i can simulate 2 8051 at the same time ,, as i have made communication system using 4 wires and i want to test it
some may say use serial ,, but i already have a serial system working on another thing
so can i simualte 2 8051 at the same time
Read-Only
Author
Andrew Neil
Posted
21-Jul-2003 20:20 GMT
Toolset
C51
New! RE: Simulating 2 8051 connected by number of Pins
For each of your 8051s, the other simply appears as a 4-wire interface - it is completely unaware that those 4 wires are actually connected to another 8051!

Therefore, you will need to write a simulation of your 4-wire interface.

If you have written your code carefully, with all the 8051-specifics isolated, it should be quite easy to take it and just "wrap" it into a PC app (or uVision DLL)...?

There's a couple of app notes on writing simulation DLLs, or you might be able to do it with the Signal Functions in the uVision debugger - see the Manual

Next Thread | Thread List | Previous Thread Start a Thread | Settings