78M6618 PDU1 Firmware Quick Start Guide July 2012 Rev.
Table of Contents 1 Introduction ......................................................................................................................................... 3 1.1 What’s Included with an EVK? ...................................................................................................... 4 1.2 What’s included with an SDK? ...................................................................................................... 5 1.3 Other Development Tools ..................................
UG_6618_122 78M6618 PDU1 Firmware Quick Start Guide 1 Introduction The 78M6618 PDU1 Firmware is a turnkey energy measurement solution optimized for use in single-phase AC Power Distribution Units (PDUs). At the sensor interface, the 78M6618 with PDU1 Firmware provides eight sense inputs for current and two sense inputs for voltage (single-phase).
78M6618 PDU1 Firmware Quick Start Guide 1.1 UG_6618_122 What’s Included with an EVK? The PDU1 Evaluation Kit (EVK) includes the 78M6618 PDU1 Board (P/N 78M6618-PDU-1) demonstrating measurement and relay control of eight outlets using shunt resistors. The board incorporates the 78M6618 power and energy measurement IC, sensors, relays, and an isolated serial port connection to a Windows PC.
UG_6618_122 1.2 78M6618 PDU1 Firmware Quick Start Guide What’s included with an SDK? The SDK contains all the required elements for a variety of usages. For the user who would like to evaluate the application in their own hardware, pre-built image files are available. Loading these image files into a 78M6618 will allow running the application as provided.
78M6618 PDU1 Firmware Quick Start Guide 1.3.2 UG_6618_122 Compiler and Integrated Development Environment (IDE) Maxim recommends using the PK51 Professional Developer’s Kit by Keil™ (www.keil.com), containing the µVision 4 Integrated Development Environment (IDE), complete with 8051 assembler, editor, C compiler, linker, and locator. The Demo Code shipped with the Demo Kits for Maxim AC Power Monitoring ICs was written using this tool.
UG_6618_122 1.3.4 78M6618 PDU1 Firmware Quick Start Guide TFP2 Flash Programmer The Signum ADM-51 can serve as a programmer for prototyping and small quantities. For programming production quantities, Maxim offers the TFP2 Flash Programming Module (P/N 80515-FPBM-TFP2), which is a stand-alone programmer that can be operated manually or in an ATE environment.
78M6618 PDU1 Firmware Quick Start Guide UG_6618_122 2 Getting Started with the EVK This section describes the necessary steps to get the pre-built application up and running. Note that some of the steps are only required once when the setup is installed for the first time. 2.1 USB Driver Installation The Evaluation Kit includes an isolated USB interface for serial communications with a PC. The FTDI USB controller IC FT232R performs the USB functions.
UG_6618_122 78M6618 PDU1 Firmware Quick Start Guide 3 Getting Started with the SDK 3.1 Required Hardware and Software Development Tools 3.1.1 Running the PDU1 Application Software The PDU1 Demo Application can be used without purchasing software development tools.
78M6618 PDU1 Firmware Quick Start Guide 3.3 UG_6618_122 Rebuilding the Application The application can be built with or without inclusion of the Boot Loader utility. 3.3.1 Without the Boot Loader Building the application without the Boot Loader entails that software updates in the end product are possible only by connecting the TFP2 or ADM-51 tools to the ICE interface port. However, 1 KB of flash memory is freed when the Boot Loader is not included, which can be used by the application itself.
UG_6618_122 3.4 78M6618 PDU1 Firmware Quick Start Guide Downloading the *.abs File to the Target The ADM-51 Emulator is used to download the *.abs file to the EVM board. Once downloaded, the developer can run, stop and debug the application. Familiarity with the ADM-51 debugging tools is assumed for the purpose of this document. Rev.
78M6618 PDU1 Firmware Quick Start Guide UG_6618_122 4 Getting Started with Flash Programming 4.1 Via the GUI If the Firmware includes a Boot Loader, the following steps describe how to use the GUI to upgrade the Firmware using the Boot Loader: 1. On the SAI Commands tab, click the Invoke Boot Loader Mode button near the lower-left corner. 2. Power cycle the device, or send “Watchdog Reset” command. It will enter the Boot Load mode.
UG_6618_122 78M6618 PDU1 Firmware Quick Start Guide 3. On the BootLoader tab, click the Load New Hex File button and select the hex file for the upgrade. 4. The GUI will show progress during the firmware upgrade. After the firmware upgrade is complete the new firmware application is running. Rev.
78M6618 PDU1 Firmware Quick Start Guide 4.2 UG_6618_122 Via theTFP2 Flash Programming Tool Refer to the Flash Programmer Model TFP2 User’s Manual for more detailed instructions if necessary. 1. Connect the TFP2 Programmer to the evaluation board via the ribbon cable and connect the serial cable to the PC. Make sure the 78M6618 is connected to 3.3V. The memory size switch must be set to 64 KB for the 78M6618 target device. 2. Start a terminal program. In the example, Hyper Terminal was used.
UG_6618_122 78M6618 PDU1 Firmware Quick Start Guide 4. Wait for the hex file to get transferred to TFP2 internal EEPROM. Once complete, a PASS message should appear as seen below. Rev.
78M6618 PDU1 Firmware Quick Start Guide UG_6618_122 5. To program the device’s flash using the flash image that was just programmed in the TFP2’s EEPROM in steps 3 and 4 above, type the “P” command at the > prompt or simply push the Program button on the TFP2. If the programming is successful, a “PASS” message will be displayed. The Firmware programming is now complete. 16 Rev.
UG_6618_122 4.3 78M6618 PDU1 Firmware Quick Start Guide Via the ADM-51 Emulator Refer to the Signum System ADM-51 Emulator documentation if necessary. 1. Connect the ADM-51 to the PC using the isolated USB cable. Connect the target board to ADM-51 emulator using the ribbon cable and power up the 78M6618 device. 2. Start the Wemu51 program from the connected PC. 3. Stop the CE by writing 0x00 at XRAM address 0x2000 (see the XDATA memory window below). 4.
78M6618 PDU1 Firmware Quick Start Guide UG_6618_122 5. Browse using the Hex File Type, or ABS file type (see Section 3.4). 6. Click OK to start the programming. The progress will be shown in the progress bar. 7. Once progress is 100%, the firmware programming is complete. 18 Rev.
UG_6618_122 78M6618 PDU1 Firmware Quick Start Guide 5 Contact Information For more information about the 78M6618 or other Maxim products, contact technical support at www.maxim-ic.com/support. Revision History Revision Number Revision Date 0 7/12 Description First publication. Pages Changed – Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied.