牛卧堂MCU技术交流

标题: [M031] Bootloader with IAP [打印本页]

作者: admin    时间: 2024-2-19 10:28
标题: [M031] Bootloader with IAP

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





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2