Power Management

From ESS-WIKI
Revision as of 07:52, 18 August 2016 by Alex.cheng (talk | contribs) (Upgrade MCU Firmware Image Step)
Jump to: navigation, search

Use LPC11U14 to control power management.

Introduction

The LPC11U14 are an ARM Cortex-M0 based, low-cost 32-bit MCU family, designed for 8/16-bit microcontroller applications, offering performance, low power, simple instruction set and memory1 addressing together with reduced code size compared to existing 8/16-bit architectures.


The LPC11U14 operate at CPU frequencies of up to 50 MHz. Equipped with a highly flexible and configurable full-speed USB 2.0 device controller, the LPC11U14 bring unparalleled design flexibility and seamless integration to today's demanding connectivity solutions.


The peripheral complement of the LPC11U14 includes up to 32 kB of flash memory, up to 8 kB of SRAM data memory, one Fast-mode Plus I2C-bus interface, one RS-485/EIA-485 USART with support for synchronous mode and smart card interface, two SSP interfaces, four general purpose counter/timers, a 10-bit ADC, and up to 54 general purpose I/O pins.


Currently ROM-3420 and ROM-5420 devices support LPC11U14 MCU.

Upgrade MCU Firmware Image

You need to prepare for hardware and software.

Preparing for Hardware

  • Device: ROM-3420 or ROM-5420
  • MCU cable
  • PC running the Microsoft® Windows® 7 or XP operating systems.
ROM-3420
ROM-5420

Preparing for Software

  • Download flash magic tool at following URL:
 http://www.flashmagictool.com/

POWER MANAGEMENT 03.png


  • After downloading flash magic tool, please install this tool in the Microsoft® Windows® 7 or XP operating systems.

Upgrade MCU Firmware Image Step

1. Connect the device and Windows PC with MCU cable. Then power in the device. MCU lamp will lit.

POWER MANAGEMENT 04.png

2. Open Flash Magic tool in Windows PC.

POWER MANAGEMENT 05.png

3. When you open Flash Magic tool in Windows PC, you will see following picture.

POWER MANAGEMENT 06.png

4. Click to select "LPC11U14/201" device.

POWER MANAGEMENT 07.png

5. At "Device Manager", check COM port number in Windows PC. Then select the COM port to use or enter a COM port name.

POWER MANAGEMENT 08.png

POWER MANAGEMENT 09.png

6. Select or enter the "38400" baud rate to communicate with the device.

POWER MANAGEMENT 10.png

7. Select "None (ISP)" interface being used between Flash Magic and the device.

POWER MANAGEMENT 11.png

8. Enter "12" oscillator frequency on the hardware.

POWER MANAGEMENT 12.png

9. Select "Erase all Flash+Code Rd port". Check to erase the entire flash when the Start button is pressed.

POWER MANAGEMENT 13.png

10. Select "ISP" item, then selec "Read Device Signature..." option.

POWER MANAGEMENT 14.png

POWER MANAGEMENT 15.png

11. Click to select Hex file.

POWER MANAGEMENT 16.png

POWER MANAGEMENT 17.png

12. Click Start button to erase, program, verify, fill, generate checksums and set security bits.

POWER MANAGEMENT 18.png

POWER MANAGEMENT 19.png

POWER MANAGEMENT 20.png

POWER MANAGEMENT 21.png