LE AVAILAB 78M6613 PSU Firmware Quick Start Guide May 4, 2012 Rev.
78M6613 PSU Firmware Quick Start Guide UG_6612_113 Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. The parametric values (min and max limits) shown in the Electrical Characteristics table are guaranteed. Other parametric values quoted in this data sheet are provided for guidance.
UG_6613_113 78M6613 PSU Firmware Quick Start Guide Table of Contents 1 Introduction ......................................................................................................................................... 4 1.1 What’s Included with an EVK? ...................................................................................................... 5 1.2 What’s included with an SDK? ...................................................................................................... 6 1.
78M6613 PSU Firmware Quick Start Guide UG_6612_113 1 Introduction The 78M6613 PSU Firmware is a turnkey energy measurement solution optimized for use in AC power supply units (PSUs). At the sensor interface, the 78M6613 with PSU Firmware supports one voltage sense input one current sense input, and an optional input for an external thermistor voltage measurement. At the host interface, ready-to-use data is available over a low baud-rate serial interface for minimal cost of data isolation.
UG_6613_113 1.1 78M6613 PSU Firmware Quick Start Guide What’s Included with an EVK? The PSU evaluation kit (EVK) includes the 78M6613 PSU Board (P/N 78M6613-PSU-1) demonstrating an example modular daughter card for measurements of a single phase AC load or power supply. The small daughter card incorporates the 78M6613 power and energy measurement IC and plugs into a host adaptor board that includes sensors, connection to AC mains, and an isolated serial port connection to a Windows PC.
78M6613 PSU Firmware Quick Start Guide 1.2 UG_6612_113 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 78M6613 will allow running the application as provided.
UG_6613_113 1.3.2 78M6613 PSU Firmware Quick Start Guide 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.
78M6613 PSU Firmware Quick Start Guide 1.3.4 UG_6612_113 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.
UG_6613_113 78M6613 PSU Firmware Quick Start Guide 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.
78M6613 PSU Firmware Quick Start Guide UG_6612_113 3 Getting Started with the SDK 3.1 Required Hardware and Software Development Tools 3.1.1 Running the PSU Application Software The PSU Demo Application can be used without purchasing software development tools.
UG_6613_113 3.3 78M6613 PSU Firmware Quick Start Guide 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.
78M6613 PSU Firmware Quick Start Guide 3.4 UG_6612_113 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. 12 Rev.
UG_6613_113 78M6613 PSU Firmware Quick Start Guide 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. It will enter the Boot Load mode.
78M6613 PSU Firmware Quick Start Guide UG_6612_113 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. When the Status bar shows 100%, the firmware upgrade is completed and the new firmware application is running. 14 Rev.
UG_6613_113 4.2 78M6613 PSU Firmware Quick Start Guide 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 78M6613 is connected to 3.3V. The memory size switch must be set to 32 KB for the 78M6613 target device. 2. Start a terminal program. In the example, Hyper Terminal was used.
78M6613 PSU Firmware Quick Start Guide UG_6612_113 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_6613_113 4.3 78M6613 PSU 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 78M6613 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.
78M6613 PSU Firmware Quick Start Guide UG_6612_113 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_6613_113 78M6613 PSU Firmware Quick Start Guide 5 Contact Information For more information about Maxim products or to check the availability of the 78M6613, contact technical support at www.maxim-ic.com/support. Revision History Revision Number Revision Date 0 5/4/12 Rev. 0 Description First publication.