Flash Programer 给CC2530下载Hex文件 error解决办法 汇总

1.错误提示:HEX file content at address 0x4A390 exceeds chip's 256 kB flash size

解决办法:

找到 f8w2530.xcl文件并打开,找到以下两行被注释的代码:

// Include these two lines when generating a .hex file for banked code model:(生成Hex文件需要包含两行)
//-M(CODE)[(_CODEBANK_START+_FIRST_BANK_ADDR)-(_CODEBANK_END+_FIRST_BANK_ADDR)]*\
//_NR_OF_BANKS+_FIRST_BANK_ADDR=0x8000

改为:

// 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


2.错误提示:Could not open specified HEX file

解决办法:右键单击工程文件->Options->linker->Flash Programer 给CC2530下载Hex文件 error解决办法 汇总_第1张图片 

改为:


Flash Programer 给CC2530下载Hex文件 error解决办法 汇总_第2张图片

你可能感兴趣的:(SmartRF,CC2530,错误)