simple_peripheral工程 NV范围起始:0x48000大小:0x4000(2page)
simple_peripheral_oad_onchip为什么有两个NV,分别用来做什么?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
simple_peripheral工程 NV范围起始:0x48000大小:0x4000(2page)
simple_peripheral_oad_onchip为什么有两个NV,分别用来做什么?
您好,
CONFIG_NVSINTERNAL1(Region Base:0x0),存储的用户应用程序(包括原工程和后期oad的工程),BIM查找该地址并启动应用程序。
CONFIG_NVSINTERNAL(Region Base:0x34000),0x34000 到 0x38000 这部分是默认保留用于非易失性内存存储。
默认simple_peripheral对于双映像配置来说太大,因此使用了persistent_app。
simple_peripheral_oad_onchip 是使用 persistent 镜像更新active镜像区域的示例,您可以查看 Application Execution switching section部分:
On power up, BIM will pass execution to the user application. When user application wants to upload a new image, it has to switch the execution to the persistent application. (开机时,BIM 会将执行传递给用户应用程序。什么时候用户应用程序想要上传新图像,它必须将执行切换到持久性应用程序。)
您好,
不只是要改这个,之前也有回复您,cmd文件也要改,另外只用一页NV的话,宏定义也要改。
所以我们不是很建议乱改。
您好,
看到您之前的帖子(LAUNCHXL-CC26X2R1: 修改oad_onchip工程替换persistent_app - 蓝牙论坛 - Bluetooth - E2E 设计支持 (ti.com))有提到:
所有相关项目的所有链接器命令文件都应该更新(包括simple_peripheral_load_onchip)。您所做的更改尚未经过TI的测试,我们只能为这些更改提供有限的支持。
我们建议您可以将问题发帖至E2E英文论坛(e2e.ti.com),产线工程师专家会针对性解决您的需求。