This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

smartRF flash programmer 无法下载?

smartRF flash programmer 下载时会提示无法打开Hex文件,但用IAR的Debugger则能成功下载

  • 是不是你的IAR配置问题

    linker选项中,Output标签里面进行如下改动:
    去掉Output file中Override default复选框中的勾
    勾选Allow C-SPY......复选框
    转到Extra ouput标签里,进行如下设置
    勾选Generate extra....复选框
    勾选Override default ,并改变编辑框的输出文件名, .hex
    Output format格式选择intel-extended
    这样第一个问题就解决了,可以使用SmartRF Flash Programmer下载hex文件了。
  • 生成hex的时候,在f8w2530.xcl文件中把下面两行加进去

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

x 出现错误。请重试或与管理员联系。