Download HSM/320 & /520 Technical Reference

Transcript
HSM/320 & HSM/520 Technical Reference 2.0 - October 6, 1999 - © Systronix®
Function Register. Timed Access Registers are supported, and the loader performs that
special access for you. There are no restrictions, so you can, if you wish, clobber the serial
I/O used to access the loader. If this happens just reset the board.
WP val port - put value to microcontroller port
Puts the value you provide to the port, except for port pins which are used for TXD1, RXD1,
RD, WR of Port1 & Port3.
WX address value - write the byte to the address in xdata space
This command lets you set individual bytes of xdata space, and write to any location in
memory-mapped I/O space. Xdata space typically includes I/O space at F000 and above. On
many development systems, xdata space in LOAD mode becomes code space in RUN mode.
F
This command gives you the ability to manually write to any peripherals you’ve installed in
the prototype area as memory-mapped I/O. This is very useful in debugging your hardware.
R{I|R} address - read at address in idata or SFR space
Read the value in idata or SFR space at the given address. You must use the SFR address, not
its assembly code label. For example, RR 89H reads the TMOD SFR. Timed Access
Registers are supported, and the loader performs that special access for you.
RP port - get microcontroller port value and display it
If you use the board’s pushbuttons to drive some of the Interrupt pins, you should see the
change in values with the RP command. For example, HSM/320 INT0 (P3.2) driven low
causes RP 3 to return FB, undriven, port 3 is FF.
RX address - read the byte from the address in xdata space
This command lets you read individual bytes of xdata space, including any location in I/O
space.
F
This command gives you the ability to manually read any peripherals you’ve installed in the
prototype area as memory-mapped I/O. In combination with the W command, you can
manually configure and test all your I/O devices.
M - exhaustive memory test
This command does not access I/O space. This command writes a series of patterns to
memory and reads them back. Errors are reported as they occur. This tests all bits of memory
with ones and zeros, and will detect shorted address or data lines. It doesn’t help you find
which lines are shorted, however. On many development systems, xdata space in LOAD
mode becomes code space in RUN mode - on such systems this command tests what will be
code space.
On systems with multiple memory pages, all pages will be tested. This can take a few
minutes, during which time the loader emits a series of periods, two per page, to indicate that
the test is running.
23