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.

关于cc2530上如何使用bank1来存储和运行应用程序代码

Other Parts Discussed in Thread: REMOTI

大家好,

最近看RemoTi的示例代码,RC上的代码主要分boot和app两个部分,app代码的存储地址是:

-D_CODE_START=(_OAD_BOOT_SIZE+_OAD_HEADER)      // 0x900
-D_CODE_END=0x7FFF             // Last address for ROOT bank.

想请教下,是否可以将app代码放入BANK1中存储,然后由BANK0中的boot程序直接跳到0x8000以上执行app程序?

如果可以,那么_CODE_START,_CODE_END又该如何设置?

现在知道,给FLASH中BANK1的code定位,似乎要用0x18000这个逻辑地址,而不是0x8000。

初次接触,还望大侠们指明方向,非常感谢!