Programming of the 71m651x chips, Test tools, Running the 651x_demo.hex program – Maxim Integrated 71M6513H Power Meter IC Family Software User Manual
Page 18: Programming of the 71m651x chips 3.4. test tools

71M651x Software User’s Guide
3.3.PROGRAMMING OF THE 71M651X CHIPS
There are two ways to download a hex file to the 71M651x Flash Memory:
•
Using a Signum Systems ADM-51 ICE.
•
Using the TERIDIAN Semiconductor Flash Download Board Module (FDBM).
The 71M651x also is available in a ROM version. Testing of the ROM version is supported with the onek_c.asm
assembler code.
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.
3.4.TEST TOOLS
A command line interface operated via the serial interface of the 71M651X 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 (651X_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 9600 bps, 8N1, XON/XOFF flow control
3.4.1. Running the 651X_Demo.hex Program
This object file is the 71M651x embedded application developed by TERIDIAN to exercise all low-level function calls
using a serial interface. Demo Boards ship pre-installed with this program. To run this program:
•
Connect a serial cable between the serial port of the Debug Board RS232 and a COM port of a Windows
PC.
•
Open a Windows’ Hyperterminal session at 9600 bps, 8N1 with XON/XOFF flow control enabled.
•
Power on the Demo Board and hit
Hyperterminal screen.
•
Type ‘??’ for general usage help. Type ‘? [Cmd]’ for specific command help. For example, ?M will display
how to run the Meter Display command.
•
All references to ‘c’ (lower case c) indicate any ASCII character, all other lowercase letters are one-byte
numbers
•
Numbers can be entered in decimal by preceding them with a plus-sign (e.g. hex 20 = +32)
Revision 2.4
TERIDIAN Proprietary
18 of 137
© Copyright 2005-2006 TERIDIAN Semiconductor Corporation