牛卧堂MCU技术交流

标题: [NUC240] Read Bin File Data from SD Card to IAP [打印本页]

作者: admin    时间: 2022-4-21 12:27
标题: [NUC240] Read Bin File Data from SD Card to IAP
This example code demonstrates how to execute IAP process by reading bin file data from SD card to update user application. If there is an update bin file inside the SD card, this example code will update user application. After finishing the IAP process, update process will remap the start address of new program to vector page address and call system reset function to run the new program. By changing different bin file data inside the SD card, user can easily update the program.

This example code provides two test program, one toggles LED at 1 Hz, another one toggles LED at 10 Hz. User can copy the bin file to SD card and rename it as “update.bin” to test the IAP process.

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





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