71M6521 Demo Board User’s Manual
Revision 2.18
© 2005-2009 TERIDIAN Semiconductor Corporation
Page: 17 of 111
1.7.3 SERIAL COMMAND LINE INTERFACE (CLI)
Once, communication to the Demo Board is established, press <CR> and the Demo Program prompt (“
>
”)
should appear. Type
>i1
to verify that the Demo Program version is revision 4.7 or later.
Users should familiarize themselves with the Demo Program commands described in the tables below. Due
to limited memory space, there is no help menu.
The Demo Program (Demo Code) is compiled with EEPROM specified as the non-volatile memory. This
means that the default calibration factors are stored in flash memory whereas the calibration factors resulting
from an actual calibration are stored in EEPROM.
The tables below describe the commands in detail.
Commands for CE Data Access:
]
CE DATA ACCESS
Description:
Allows user to read from and write to CE data space.
Usage:
] [Starting CE Data Address] [option]…[option]
Command
combinations:
]???
Read consecutive 16-bit words in Decimal
]$$$
Read consecutive 16-bit words in Hex
]U
Update default version of CE Data in EEPROM.
Important: The CE must be stopped (CE0)
before issuing this command!
Example:
]40$$$
Reads CE data words 0x40, 0x41 and 0x42.
]7E=12345678=9876ABCD
Writes two words starting @ 0x7E
CE data space is the address range for the CE DRAM (0x1000 to 0x13FF). All CE data words are
in 4-byte (32-bit) format. The offset of 0x1000 does not have to be entered when using the ]
command, thus typing ]A? will access the 32-bit word located at the byte address 4 * A
= 0x1028.
Commands for MPU/XDATA Access:
)
MPU DATA ACCESS
Description:
Allows user to read from and write to MPU data space.
Usage:
) [Starting MPU Data Address] [option]…[option]
Command
combinations:
)???
Read three consecutive 32-bit words in Decimal
)$$$
Read three consecutive 32-bit words in Hex
)a=n=m
Write the values n and m to two consecutive
addresses starting at a
Example:
)08$$$$
Reads data words 0x08, 0x0C, 0x10, 0x14
)04=12345678=9876ABCD
Writes two words starting @ 0x04
MPU or XDATA space is the address range for the MPU XRAM (0x0000 to 0x07FF). All MPU data words
are in 4-byte (32-bit) format. Typing ]A? will access the 32-bit word located at the byte address 4 *
A = 0x28. The energy accumulation registers of the Demo Code can be accessed by typing two
Dollar signs (“$$”), typing question marks will display negative decimal values if the most
significant bit is set.