在CCSv5 IDE默认的配置情况下,编译生成的代码都是.out格式的,如果要生成.hex格式,可以在CCS IDE工程下做如下配置,参考下图的设置。
上面的图中选择“Create flash image: Intel-HEX”, 生成.HEX格式代码。如果要生成TI-TXT格式,则选择"Create flash image:TI-TXT"
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.
在CCSv5 IDE默认的配置情况下,编译生成的代码都是.out格式的,如果要生成.hex格式,可以在CCS IDE工程下做如下配置,参考下图的设置。
上面的图中选择“Create flash image: Intel-HEX”, 生成.HEX格式代码。如果要生成TI-TXT格式,则选择"Create flash image:TI-TXT"
另外补充一点,其实编译生成.HEX的程序是hex430.exe,其位置在C:\Program Files\Texas Instruments\ccsv4\tools\compiler\msp430\bin目录下。也可以使用命令行代码来生成.HEX。参考如下的命令格式:
1.out 为源文件,默认的CCSv5编译后生成的.out文件格式,
2.hex为生成的目标文件,这里可以改成其他文件名,
-i 表示生成的是hex格式的文件,如果要生成TI-TXT hex格式,可以改成--ti_txt格式
shucheng zhang,
Rebuild后,请到工程文件所在目录下的debug文件夹中寻找即可。O(∩_∩)O~
希望对你有帮助!
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin"
"${BuildArtifactFileName}"
"${BuildArtifactFileBaseName}.bin"
"${CG_TOOL_ROOT}/bin/ofd6x" "${CG_TOOL_ROOT}/bin/hex6x"
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"
您好 我想知道这每一句的含义 ,什么意思?还有生成的.bin文件从什么地址开始,怎么设置定义的??