could not open hex file!!

来源:互联网 发布:淘宝6年店铺蓝冠 编辑:程序博客网 时间:2024/06/10 04:09

生成的HEX文件不对,IAR进行下面设置1、project->options->linker->output  Format选中第二个other,不要选Debug information c-spy【如:图1所示】2、project->options->linker->extra options  选中use command line options,在下面空白处添加:-M(CODE)[(_CODEBANK_START+_FIRST_BANK_ADDR)-(_CODEBANK_END+_FIRST_BANK_ADDR)]*_NR_OF_BANKS+10000=0x8000【如图2】

图1


图2

烧写成功:



0 0
原创粉丝点击