[M480] ISP Firmware Update and Restore

Post Reply
Posts: 280
Joined: 13 Mar 2020, 09:08

05 Dec 2022, 14:17

  • Application: This LDROM sample code divides APROM into run part and backup part. To restore the firmware in APROM, two parts are compared and updated after power cycling.
  • BSP Version: M480 Series BSP CMSIS V3.05.003
  • Hardware: NuMaker-PFM-M487 V3.0
This LDROM sample code supports APROM update via UART, firmware verification and restoration is processed by separated bank. Since the M480 series microcontrollers (MCUs) are not equipped with bank re-mapping, two banks in APROM are acted as run part and backup part respectively as shown in Figure1-1 Flash Memory Allocation. When doing firmware update via ICE or UART, it is necessary to program an application to APROM_SIZE/2. Band0 and Bank1 are compared page by page after power cycling. If a difference is detected, sample code in LDROM starts updating the corresponding page in APROM. Besides, two banks are also compared after normal power cycling to correct the page fault.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 2810151944

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests