LINKER 路径BLE\common\cc2540\cc254x_f256_imgA.xcl 时
报错
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment BANKED_CODE. Unable to place 84 block(s) (0x1f4b8 byte(s) total) in 0x1bc3d byte(s) of memory. The problem occurred while processing the segment placement command "-P(CODE)BANKED_CODE=_CODE_BEG-_CODE_END,_BANK4_BEG-_BANK4_END,_BANK5_BEG-_BANK5_END,_BANK6_BEG-_BANK6_END,_BANK7_BEG-_BANK7_END", where at the moment of placement the available memory ranges were "CODE:35b4-3ff7,CODE:4b000-4ffff,CODE:58607-5ffff,CODE:68000-6ffff,CODE:78000-7e7ff"
wenyu shi:
CC2541
Susan Yang:
根据您的错误描述,应该是您用尽RAM /FLASH。您可以通过减少INT_HEAP_LEN定义来减小heap size。通过减少这个值,您应该获取足够的RAM。
Susan Yang:
回复 wenyu shi:
若是经过上述操作还出现这样的错误,建议您参考下BLE_Large_Image_OAD
http://processors.wiki.ti.com/index.php/BLE_Large_Image_OAD
wenyu shi:
回复 Susan Yang:
修改过后任然报相同错误