Part Number:LAUNCHXL-CC2640R2Other Parts Discussed in Thread:CC2640R2F, CC2642R, CC2652R7
CCS 导入 simplelink_cc2640r2_sdk_5_30_00_03 中示例simple_peripheral_oad_onchip 编译APP工程提示内存错误
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/blestack/common/cc26xx/ccs/cc26xx_app_oad.cmd", line 318: error #10099-D: program will not fit into available memory. placement with alignment fails for section "GROUP_3" size 0x9364 . Available memory ranges:
FLASH size: 0x8f98 unused: 0x11 max hole: 0x3"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/blestack/common/cc26xx/ccs/cc26xx_app_oad.cmd", line 327: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".cinit" size 0x32a . Available memory ranges:
FLASH size: 0x8f98 unused: 0x4 max hole: 0x3error #10010: errors encountered during linking; "simple_peripheral_cc2640r2lp_oad_onchip_app_FlashROM.out" not built
>> Compilation failure
makefile:190: recipe for target 'simple_peripheral_cc2640r2lp_oad_onchip_app_FlashROM.out' failed
gmake[1]: *** [simple_peripheral_cc2640r2lp_oad_onchip_app_FlashROM.out] Error 1
makefile:183: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Kevin Qiu1:
你使用的CCS版本是多少,注意需要与sdk release note文件中要求的版本保持一致
,
Black:
CCS 9.1.0.00010
,
Kevin Qiu1:
这是一个已知问题: 由于 CCS 的内存限制,Simple Peripheral OAD onchip Secure 无法编译
https://sir.ext.ti.com/jira/browse/EXT_EP-10229
CC2640r2f flash太小了,不足以支持onchip oad,建议你使用CC2642R或者CC2652R7
或者使用offchip OAD
,
YiKai Chen:
你可以參考
https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1058183/launchxl-cc2640r2-on-chip-unsecure-oad-example-not-built-due-to-flash-memory-space
e2e.ti.com/…/launchxl-cc2640r2-build-error-simple_peripheral_oad_onchip-project