NUTINY-SDK-M0516 Nuvoton Technology Corporation of America, NUTINY-SDK-M0516 Datasheet - Page 351

no-image

NUTINY-SDK-M0516

Manufacturer Part Number
NUTINY-SDK-M0516
Description
BOARD EVAL NUMICRO M051 SERIES
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Type
MCUr
Datasheets

Specifications of NUTINY-SDK-M0516

Contents
Board, Cable
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
M051™ Series, M052/M054/M058/M0516
NuMicro M051
Series Technical Reference Manual
Figure 6.13-4 Flash Memory Structure
6.13.7 In System Program (ISP)
Note: Before use this ISP function, please turn-on the ISP clock in ISP_EN(AHBCLK[2]).
Figure 6.13-5 shows the ISP Clock Source Block Diagram
ISP_EN(AHBCLK[2]
ISP_CLK
HCLK
Figure 6.13-5 ISP Clock Source Control
The program memory and data flash supports both in hardware programming and in system
programming (ISP). Hardware programming mode uses gang-writers to reduce programming
costs and time to market while the products enter into the mass production state. However, if the
product is just under development or the end product needs firmware updating in the hand of an
end user, the hardware programming mode will make repeated programming difficult and
inconvenient. ISP method makes it easy and possible. NuMicro M051™ series supports ISP
mode allowing a device to be reprogrammed under software control. Furthermore, the capability
to update the application firmware makes wide range of applications possible.
ISP is performed without removing the microcontroller from the system. Various interfaces enable
LDROM firmware to get new program code easily. The most common method to perform ISP is
via UART along with the firmware in LDROM. General speaking, PC transfers the new APROM
code through serial port. Then LDROM firmware receives it and re-programs into APROM through
ISP commands. Nuvoton provides ISP firmware and PC application program for NuMicro M051™
series. It makes users quite easy perform ISP through Nuvoton ISP tool.
ISP Procedure
NuMicro M051
series supports boot from APROM or LDROM initially defined by user
configuration bit (CBS). If user wants to update application program in APROM, he can write
BS=1 and starts software reset to make chip boot from LDROM. The first step to start ISP
function is write ISPEN bit to 1. S/W is required to write REGWRPROT register in Global Control
Register (GCR, 0x5000_0100) with 0x59, 0x16 and 0x88 before writing ISPCON register. This
procedure is used to protect flash memory from destroying owning to unintended write during
power on/off duration.
Publication Release Date: Sept 14, 2010
- 351 -
Revision V1.2

Related parts for NUTINY-SDK-M0516