Many friends using the CCS software generated hex files can not be used in C2prog and IAP online programming, there are some inexplicable errors, because the resulting hex file format is incorrect
The following hex files are generated using two methods, and the pro-test is available
(1) Universal method
No matter which version of the. out file is generated by the CCS compiler, the translation can be used only with HEX2000.exe software. Method:
Hex2000-romwidth 16-memwidth 16-i-o 20170817chuankoudayin.hex 20170817chuankoudayin.out
However, this method needs to go into the multi-Windows DOS interface, in the start-and-run->CMD->CD to HEX2000 folder, using the above command, generated a
Hex file that can be used.
(2) setting in the compiler
Most friends want to directly edit the. out file, it is directly generated can use the hex file, you can follow the following methods (my CCS version is CCS6.0)
(i) Click on the project right click, select Properties, will enable C2000 Hex utility tick
(ii) The output format in the output format options is selected as-intel,-i
(iii) The General Options option will then need to be specify memory width = Specify rom width = 16, as shown in the figure