Download USER GROUP NEWS

Transcript
Issue 4 - Vol 2
MDP APPLICATIONS
USER GROUP NEWS
Chuck Smith, MDP Product r.1arketing
FREE 8051 SIMULATOR AVAILABLE!
Travis Marlatte or E.F. Johnson Co. (Johnson Ave, Waseca, MN 56093) has created an outstanding 8051 sortware
simulator package which can be used in the design and debug or 8051 applications on an 8560/61! He has agreed
to make this package available through the MUGL library with the provision that he cannot provide any consultation or support on its use. Because or the high quality or the documentation and the availability or the rully
commented source, there should be no need ror contacting him with questions. However, he would appreciate any
feedback regarding enhancements or bugs via mail.
Following is a summary of the simulator's capabilities paraphrased rrom the supplied documentation.
The environment or the simulator is an 8051, 8751, or 8031 isolated Crom peripheral hardware. External stimuli
can be presented through the command language or the simulator. The user has complete control, with commands to cause single stepping through instructions, commands to cause constant trace output to be produced
while simulating the execution or the instructions, commands to simulate a char;Q.cters received via the serial
UART, and rull status or the simulated processor is available, plus some or the obscure registers. The 128 byte
internal memory is implemented, as well as the 4K or code memory. In addition, 4K or external memory is supported. Commands to examine, block display, repeated set, and fill or all three memories are availabl~. There are
3 types or breakpoints: PC breaks, internal memory breaks, and stackpointer breaks. There are 3 PC breakpoints available, which can optionally be set with an iteration count and/or set to arm another PC breakpoint.
There are three memory breakpoints which can be set to halt simulation when an internal memory location
changes value. The stackpointer -breakpoint can be set to trigger whenever the stackpointer crosses the set boundary. This is useCul for detecting and monitoring stack overflow.
Trace output can be directed to a file, as well as the CRT. This permits detailed analysis away Crom the CRT.
Simulated real time is shown as part or the status display. Instruction sequences can be accurately timed, even
when breakpoints interrupt the program. The master oscillator rrequency is programmable by the user.
Command summary:
• imem - examine/alter internal memory
• cmem - examine/alter code memory
• xmem - examine/alter external memory
• g - start/restart simulation
• bpmem - memory breakpoint control
• stat - display microprocessor register contents
• sel - select desired register set
• mc - initialize timer
• quit - exit simulator
• ss - enable/disable single step
• bppc - PC breakpoint manipulation
• bpstk - SP breakpoint manipulation
• read - load (Intel) hex application program
• trace - enable/disable short/long trace option
• mosc - set master oscillator to desired value
30
TEKTRONIX
March 1984