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.
I have a customer who was given a .out file for a TMS320F28027PTS design. The design was done by a 3rd party who did not give him the project. He needs to convert the .out file to a .hex so he can program his flash. Is there a utility available to do the .out to .hex conversion?
Hi Iggy,
This command can be used to generate a Intel-hex from a .out
"${CG_TOOL_HEX}" -i "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.hex" -order MS -romwidth 16
Where
"${CG_TOOL_HEX}" = C:\TI\ccsv5\tools\compiler\c2000_6.1.1\bin\hex2000.exe
"${BuildArtifactFileName}" = name of .out file
"${BuildArtifactFileBaseName}.hex" = name of desired .hex file
In short, copy the .out to '"C:\TI\ccsv5\tools\compiler\c2000_6.1.1\bin\" and call hex2000.exe -i "Name.out" -o "HexName.hex" -order MS -romwidth 16
Thanks,
Louis
I'm in the same situation! I'm working on a project that is 10 years old and there is no documentation. I have to convert .out to .hex and the p/n is TMS320F2810
which parameters should I use with hex2000.exe?
Thanks,
Hello and thank you for your comment but I'm using CCS version 3.3 and I'm unable to migrate because it's an old project.
Unfortunately I have to do this manually looks like hence my request for help.
Cheers,
Gil
Hi Gil,
You should be able to import CCSv3.3 projects into CCSv5. You will then have the option to generate a hex output.
The documentation for the hex2000 utility is here: http://www.ti.com/lit/ug/spru513g/spru513g.pdf on page 272.
We also have a wiki page here: http://processors.wiki.ti.com/index.php/C2000_Bootloader that covers programming these devices.
Thanks,
Louis
Hi Louis,
Thanks for the information. I would like to try to migrate but my boss said it is not an option. They don't want to take chances with a 10 years old technology.
Pretty much I just need to know if the -romwidth 16 and the -order MS are correct? I know section 12 talks about the hex conversion but I don't know the if the parms are correct.
Thanks for offering to help.
Gil
Hi Gil,
Gil Motta said:Pretty much I just need to know if the -romwidth 16 and the -order MS are correct?
The post build step option mentioned CCSv5 for this seems to equate to:
"${CG_TOOL_HEX}" -i "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.hex" -order MS -romwidth 16
So I would assume your guess is correct. However, Louis can confirm if this is correct.
ki