3 programming the 71m653x chips, 4 debugging of the 71m653x chips, 5 test tools – Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual
Page 18: Programming the 71m653x chips, Debugging of the 71m653x chips, Test tools

71M653X Software User’s Guide
3.3 PROGRAMMING THE 71M653X CHIPS
There are two ways to download a hex file to the 71M653X Flash Memory:
•
Using a Signum Systems ADM-51 ICE.
•
Using the TERIDIAN Semiconductor Flash Download FDBM-TFP-2 Stand-Alone Module
Note: For both programming and debugging code it is important that the hardware watchdog timer is
disabled. See the Demo Board User’s Manual for details.
Before downloading code to a 71M653x:
•
Stop the MPU
•
Disable the CE by writing a 0 to XDATA at address 0x2000.
•
Erase the flash memory.
3.4 DEBUGGING OF THE 71M653X CHIPS
When debugging with the ADM51 in-circuit emulator, the CE continues to run, and this disables flash memory access
because the code of the CE is located in flash memory.
When setting breakpoints, only two breakpoints can be used, because the first two breakpoints are
“hardware” breakpoints, while the rest attempt to write to flash memory.
3.5 TEST TOOLS
A command line interface operated via the serial interface of the 71M653X MPU provides a test tool that can be used
to exercise the functions provided by the low-level libraries. The command-line interface requires the following
environment:
1) Demo Code (653X_demo.hex) must be resident in flash memory
2) The Demo Board is connected via a Debug Board to a PC running Hyperterminal or another type of terminal
program.
3) The communication parameters are set at 300 bps, 7N2, XON/XOFF flow control, as described in section
3.5.1 .
v1.1v1.1
TERIDIAN Proprietary
18 of 116
© Copyright 2005-2008 TERIDIAN Semiconductor Corporation