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.

[参考译文] CC2652R7:Program Address Offset Settings

Guru**** 2923960 points

Other Parts Discussed in Thread: SYSCONFIG

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1651430/cc2652r7-program-address-offset-settings

器件型号: CC2652R7
主题: SysConfig 中讨论的其他器件

我想实施固件更新功能、因此应用的起始地址需要偏移至 0x6000。 我需要为我的应用配置哪些设置(以`simple_peripheral`为例)? 到目前为止、我做了以下工作:
1、在`main`函数的第一行中、我调用了`HWREG (NVIC_vtable)=(uint32_t) 0x6000;`μ s
2.修改了链接器文件中的两个位置:
2.1.#define FLASH_START         0x6000
2.2.
很重要

  .resetVecs:load > 0x6000
  .vecs:load > 0x20000000、type = noLoad
}
进行这些更改后、程序无法运行。 当我执行 BIOS_start();时,程序会到达 Error_raiseX。
我的修改是否有问题? 如果没有、应如何解决?debug.jpg

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Nick、

     由于闪存矢量表的位置将发生变化、因此请查看 SYSCONFIG -> Device Configurations ->“Address of Flash Vector Table“、因为您需要修改 SET_CCFG_image_valide_CONF_image_valid 的值。

      

    此致、
    Ryan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    非常感谢。