71M651X Energy Meter IC A Maxim Integrated Products Brand APPLICATION NOTE AN 651X 033 NOVEMBER 2010 Development Tools This Application Note describes the various development and programming tools available for the 71M651X, 71M652X, and 71M653X families of Energy Meter ICs. Compiler Teridian recommends using the CA51 Compiler Kit by Keil (www.keil.com), which contains the Vision 3 Integrated Development Environment (IDE), complete with 8051 assembler, editor, C compiler, linker, and locator. The Demo Code shipped with the Demo Kits for Teridian Energy Meter ICs is written using this tool. Keil offers the best support for the memory model of the 80515 core used in the 71M651X ICs. It is possible to use alterna- tive compilers, but the code for these is not supported by Teridian. Figure 1: Keil Vision3 User Interface While all Demo Code is written using the standard CA51 tool by Keil, significant improvements in memory usage can be made by using the PK51 Professional Developers Kit by Keil. The PK51 contains the LX51 advanced linker that can reduce code size by up to 8%, using special optimization techniques. Teridian Application Note 1/8 AN 651X 033 Development Tools In-Circuit Emulator (ICE) The Signum Systems ADM51 (www.signum.com) is compatible with the Keil symbolic output format and supports the 71M65XX ICs, including the 71M653X bank switching mechanism. It is useful to perform the following tasks: Code emulation with breakpoints, watch windows, etc., with support of source code symbols Memory monitoring and manipulation (SFRs, XRAM, I/O RAM) Flash erase and code loading into flash memory of the 71M651X Teridian supplies the ADM51 to customers at a preferred price (P/N DB6510-ADM51). Note: Since meters are sometimes tested with live voltages, isolation of the emulator is strongly recommended. USB isolators are available from various vendors. For example, the UISOHUB4 or UEF10M are available at B&B Electronics (www.bb-elec.com, or