找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

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

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2022-4-21 12:27:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  • 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
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU