
DK101 Low-Cost Demo Kit Motherboard
11 of 13
Table 3. Terminal Mode Commands
COMMAND
FUNCTION
AddrMap
F
Help |
Display the DK101 address map.
Display firmware version.
Display help text.
Jump to address if given. Alternately, jump to program start location indicated by
previously loaded s-record.
Load Motorola s-record to memory, adding offset if present.
Set default device number for use with the X command.
Read from <address> in byte (B), word (W) or longword (L) format
Write <value> to <address> in byte (B), word (W) or longword (L) format.
Displays information about the attached daughter card.
Read or write to daughter card slot addresses. The fourth hex digit of the address is
the device number. Addresses with fewer than four hex digits are added to the
address of the default device set by the SetDev command.
Examples:
$ X 1020 = FF {write FFh to device 1, address 020h}
$ X 1999
{read device 1, address 999h}
FF
{value stored in device 1, address 999h}
$ X 55
{read address 55h of default device as set by SetDev)
32
{value stored in default device, address 55h}
$ X 20, 30 = 5
{write 05h to default device, addresses 20h to 30h}
Jump [address]
Load [offset]
SetDev <0–F>
PEEK <B | W | L> <address>
POKE <B | W | L> <address> <value>
TimInfo [verbose]
X <addr> [, <endaddr>] [= <value>]
The following commands are used by Demo mode. They are not recommended for use in Terminal mode.
CTRL <…> <slot>
The DK101 firmware includes T1/E1 device driver code written by NComm. CTRL
calls the TE1DCTRL device driver API with the indicated parameters (see T1/E1
driver code documentation for details). The slot number on the end is not passed
through to the API but is simply used to determine which device driver to call.
Example: CTRL 0 400 0 {resets span 0 of slot 0}
POLL <…> <slot>
The DK101 firmware includes T1/E1 device driver code written by NComm. POLL
calls the TE1DPOLL device driver API with the indicated parameters (see T1/E1
driver code documentation for details). The slot number on the end is not passed
through to the API but is simply used to determine which device driver to call.
Example: POLL 0 600 0 {polls for RLOS on span 0 of slot 0}
Additional Development Resources
The following resources are available for continued development using the DK101:
T1/E1 Trunk Management Software (TMS
), NComm Inc.
www.ncomm.com
CodeWarrior for MCORE Embedded Systems, Metrowerks
www.metrowerks.com/MW/Develop/Embedded/MCore/Default.htm
MCORE and GNU-MCORE Tools and Drivers, Motorola
e-www.motorola.com/webapp/sps/site/prod_summary.jspcode=MMC2107&nodeId=03M0ym4t3ZGM0ylsb8yr
TMS is a trademark of NComm Inc.