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.

CC2640R2f Multi_role 片外OAD编译出错

新手,网上看了很多帖子,几乎没有在R2F这个芯片上OAD成功的;

1.35的SDK,IAR,原生multi_role工程编译之后可以烧录可以连接,按文档:

file:///E:/Program%20Files/ti_old/simplelink_cc2640r2_sdk_1_35_00_33/docs/blestack/ble_sw_dev_guide/html/oad/oad.html#on-chip-oad

里头:Add Off-chip OAD to an existing project增加修改之后编译,显示错误:

Error[Lp023]: absolute placement (in [0x20004c00-0x20004fff]) overlaps with absolute symbol: C:\ti\simplelink_cc2640r2_sdk_1_35_00_33\examples\rtos\CC2640R2_LAUNCHXL\blestack\multi_role_new_two\tirtos\iar\app\..\..\..\..\..\..\..\..\source\ti\blestack/common/cc26xx/iar/cc26xx_app_oad.icf 282
[0x20004c00-0x20004c13] "advParam"
[0x20004c6c-0x20004c83] "initCmd"
... and 78 more

双击错误信息,跳转到 cc26xx_app_oad.icf :

280行 // Runtime Stack
281行 define block CSTACK with alignment = 8, size = STACK_SIZE { section .stack };
282行 place at end of RAM { block CSTACK };

目测是堆栈问题,然后调整 STACK_SIZE 的值,问题没有解决;

但是如果注释281、282行,可以编译过,但是固件基本废了。

至此,想请教各位大拿,有啥方法可以让我完成multi_role片外OAD的实验?或者有啥思路我也可以捣鼓捣鼓。

ps:

除了文档中需要增加或者修改的参数代码外,其余无任何变动;

bim+simpleperipheral_oad_offchip stack 、APP 烧录之后正常;