Linking
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment BANKED_CODE. Unable to place 68 block(s)
(0x200eb byte(s) total) in 0x1be40 byte(s) of memory. The problem occurred while processing the segment placement command
"-P(CODE)BANKED_CODE=_CODE_BEG-_CODE_END,_BANK1_BEG-_BANK1_END,_BANK2_BEG-_BANK2_END,_BANK3_BEG-_BANK3_E
ND,_BANK4_BEG-_BANK4_END", where at the moment of placement the available memory ranges were
"CODE:6cec-7fff,CODE:18000-1ffff,CODE:28000-2ffff,CODE:38000-3ffff,CODE:484d4-4afff"
Error while running Linker
不加OAD,程序正常,请教这个怎么解决?
cedar_xuesong:
FLASH不够了,优化APP代码
Guohua zhang:
回复 cedar_xuesong:
145 987 bytes of CODE memory 34 bytes of DATA memory (+ 101 absolute ) 7 772 bytes of XDATA memory 194 bytes of IDATA memory 8 bits of BIT memory 1 141 bytes of CONST memory
Errors: noneWarnings: none
程序编译约138KB,数据占用了Page 124,FLASH是256KB,也有100多KB没用啊。FLASH不够?有其它原因吗?
Light J:
回复 Guohua zhang:
OAD需要三个image,你一个就占了138,就搞不起来了,因此链接文件限定了代码的位置和大小。而你的应用超出了这个范围,所以链接出错。建议使用Large OAD
XiaoZhuang Ling:
回复 Guohua zhang:
你好Guohua zhang,你的问题解决了吗?我也遇到这个问题,搞了2天多了,还是没头绪。希望你分享一下经验。
Guohua zhang:
回复 XiaoZhuang Ling:
查不多放弃了,可以参考:http://processors.wiki.ti.com/index.php/BLE_Large_Image_OAD