beautypg.com

1 running the 652x_demo.hex program, Running the 652x_demo.hex program – Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual

Page 21

background image

71M652X Software User’s Guide

Revision 1.7

TERIDIAN Proprietary

21 of 138

© Copyright 2005-2007 TERIDIAN Semiconductor Corporation

3.5.1 Running the 652X_Demo.hex Program

This object file is the 71M652X 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 or 300 bps (depending on the setting of jumper

connected to DIO_08 – see the 71M6521 Demo Board User’s Manual), 8N1, one stop bit, with
XON/XOFF flow control enabled. The setup dialog box is shown in Figure 3-1:

• Power on the Demo Board and hit a few times on the PC keyboard until ‘>’ is displayed on the

Hyperterminal screen.

Type a command from the CLI Reference documented in the 71M6521 Demo Board User’s Manual.

• 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)

The 71M6521 Demo Board User’s Manual contains instructions on how to connect the serial cable.

Figure 3-1: Port Speed and Handshake Setup

Note: HyperTerminal can be found by selecting Programs ÆAccessories Æ Communications from the Windows

©

start

menu. The connection parameters are configured by selecting File Æ Properties and then by pressing the
Configure button. Port speed and flow control are configured under the General tab, bit settings are configured
by pressing the Configure button (Figure 3-1:), as shown below.