CC2530 - ID0050: HEX file content at address 0x4A4DD exceeds chip's 256 kB flash size
时间:10-02
整理:3721RD
点击:
我用Embedded Workbench 6.0 Evaluation编译调试,debug程序,单步都没问题,但是用Setup_SmartRFProgr_1.9.0,下载程序,一直提示这个CC2530 - ID0050: HEX file content at address 0x4A4DD exceeds chip's 256 kB flash size,请问我该怎么办
// Include these two lines when generating a .hex file for banked code model:
-M(CODE)[(_CODEBANK_START+_FIRST_BANK_ADDR)-(_CODEBANK_END+_FIRST_BANK_ADDR)]*\
_NR_OF_BANKS+_FIRST_BANK_ADDR=0x8000
文件过大超过内存,最好的办法是优化下代码。
另外,如楼上所说,下面两行注释掉试试,路径是IAR ---Option---link ---ti_51ew_cc2530f256.xcl
-M(CODE)[(_CODEBANK_START+_FIRST_BANK_ADDR)-(_CODEBANK_END+_FIRST_BANK_ADDR)]*\
_NR_OF_BANKS+_FIRST_BANK_ADDR=0x8000
谢谢,很满意