Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual

Page 4

Advertising
background image

71M652X Software User’s Guide

Revision 1.7

TERIDIAN Proprietary

4 of 138

© Copyright 2005-2007 TERIDIAN Semiconductor Corporation

Table of Contents

1

 ............. INTRODUCTION

13

 

1.1

 

Using this Document ............................................................................................................................. 13

 

1.2

 

Related Documentation ......................................................................................................................... 14

 

1.3

 

Compatibility Statement ........................................................................................................................ 14

 

2

 ............. DESIGN GUIDE

15

 

2.1

 

Hardware Requirements ........................................................................................................................ 15

 

2.2

 

Software Requirements ......................................................................................................................... 15

 

2.3

 

Software Architecture ............................................................................................................................ 16

 

2.4

 

Utilities .................................................................................................................................................... 17

 

2.4.1 

D_MERGE

17 

2.4.2 

CE_MERGE

17 

3

 ............. DESIGN REFERENCE

19

 

3.1

 

Program Memory .................................................................................................................................... 19

 

3.2

 

Data Memory ........................................................................................................................................... 19

 

3.3

 

Programming of the 71M652X Chips .................................................................................................... 20

 

3.4

 

Debugging of the 71M652X Chips ........................................................................................................ 20

 

3.5

 

Test Tools ............................................................................................................................................... 20

 

3.5.1 

Running the 652X_Demo.hex Program

21 

3.5.2 

CLI Commands

22 

3.5.3 

Command (Macro) Files

22 

4

 ............. TOOL INSTALLATION GUIDE

23

 

4.1

 

Installing the Programs for the ADM51 Emulator ................................................................................ 23

 

4.2

 

Installing the Wemu Program (Chameleon Debugger) ....................................................................... 23

 

4.3

 

Installing the ADM51 USB Driver .......................................................................................................... 24

 

4.4

 

Installing Updates to the Emulator Program and Hardware ............................................................... 25

 

4.5

 

Creating a Project .................................................................................................................................. 26

 

4.6

 

Installing the Keil Compiler ................................................................................................................... 29

 

4.7

 

Creating a Project for the Keil Compiler .............................................................................................. 30

 

4.7.1 

Directory Structure

30 

4.7.2 

Adjusting the Keil Compiler Settings

31 

4.7.3 

Manually Controlling the Keil Compiler Settings

32 

4.8

 

Project Management Tools ................................................................................................................... 35

 

4.9

 

Alternative Compilers ............................................................................................................................ 35

 

4.10

 

Alternative Editors ................................................................................................................................. 35

 

4.11

 

Alternative Linkers ................................................................................................................................. 36

 

5

 ............. Demo Code Description

37

 

5.1

 

80515 Data Types and Compiler-Specific Information ........................................................................ 37

 

5.1.1 

Data Types

37 

5.1.2 

Compiler-Specific Information

40 

5.2

 

Demo Code Options and Program Size ............................................................................................... 41

 

Advertising