beautypg.com

Maxim Integrated 71M6513H Power Meter IC Family Software User Manual

Page 4

background image

71M651x Software User’s Guide

Table of Contents

1. INTRODUCTION...................................................................................................................................................... 12

1.1. Use of this Document............................................................................................................... 12
1.2. Related Documentation............................................................................................................ 13
1.3. Compatibility Statement............................................................................................................ 13

2. DESIGN GUIDE....................................................................................................................................................... 14

2.1. Hardware Requirements............................................................................................................ 14
2.2. Software Requirements............................................................................................................. 14
2.3. Utilities........................................................................................................................................ 16

2.3.1. IO_MERGE..................................................................................................................................... 16

2.3.2. CE_MERGE.................................................................................................................................... 16

3. DESIGN REFERENCE............................................................................................................................................. 18

3.1. Program Memory....................................................................................................................... 18
3.2. Data Memory.............................................................................................................................. 18
3.3. Programming of the 71M651X Chips....................................................................................... 19
3.4. Test Tools................................................................................................................................... 19

3.4.1. Running the 651X_Demo.hex Program.......................................................................................... 19

3.4.2. Complete List of CLI Commands.................................................................................................... 21

3.4.3. Command (Macro) Files..................................................................................................................28

4. TOOL INSTALLATION GUIDE................................................................................................................................ 30

4.1. Installing the Programs for the ADM51 Emulator................................................................... 30
4.2. Installing the Wemu Program (Chameleon Debugger)........................................................... 30
4.3. Installing the ADM51 USB Driver.............................................................................................. 31
4.4. Installing Updates to the Emulator Program and Hardware................................................... 32
4.5. Creating a Project...................................................................................................................... 33
4.6. Installing the Keil Compiler....................................................................................................... 36
4.7. Creating a Project for the Keil Compiler.................................................................................. 37

4.7.1. Directory Structure.......................................................................................................................... 37

4.7.2. Adjusting the Keil Compiler Settings............................................................................................... 38

4.7.3. Manually Controlling the Keil Compiler Settings............................................................................. 39

4.8. Project Management Tools....................................................................................................... 42
4.9. Alternative Compilers................................................................................................................ 42
4.10. Alternative Editors................................................................................................................... 42

5. Demo Code Description......................................................................................................................................... 44

5.1. 80515 Data Types and Compiler-Specific Information........................................................... 44

5.1.1. Data Types...................................................................................................................................... 44

5.1.2. Compiler-Specific Information......................................................................................................... 45

5.2. Program Flow............................................................................................................................. 46

Revision 2.4

TERIDIAN Proprietary

4 of 137

© Copyright 2005-2006 TERIDIAN Semiconductor Corporation