[NUC240] Read Bin File Data from SD Card to IAP

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

10 Jun 2020, 17:13

  • Application: This code demonstrates how to execute IAP process by reading bin file data from SD card to update user application.
  • BSP Version: NUC230/240 Series BSP CMSIS V3.01.001
  • Hardware: NuTiny-SDK-NUC240V V1.2, NuEdu-Advance02
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
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 37 guests