[M031] Bootloader with IAP

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

24 Mar 2020, 11:31

  • Application: This code uses memory layout and enables IAP function for bootloader to manage memory distribution when bootloader size is larger than LDROM size.
  • BSP Version: M031 Series BSP CMSIS v3.01.000
  • Hardware: NuMaker-M032LD V1.0
This example code uses memory layout and enables IAP function for bootloader to manage memory distribution when LDROM size is smaller than bootloader size.

User can use bootloader to update current application program in APROM through several common communication interfaces, such as UART, USB and so on. User can also add some additional actions to perfect the update process, like checksum confirmation and encryption/decryption for update file. These actions will enlarge the bootloader size and the size may be over the LDROM size. If the bootloader size is larger than the LDROM size, user can use memory layout and enables IAP function to manage memory distribution in APROM and LDROM.

This example code uses bootloader for NuMaker-M032LD through USB interface and manages the memory distribution to LDROM and the last 4 KB of APROM.

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests