标题: [M031] Bootloader with IAP [打印本页] 作者: admin 时间: 2024-2-19 10:28 标题: [M031] Bootloader with IAP
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.