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.
Hi Team,
This issue comes from our customer:
How to convert the .out file generated by EABI format into a TXT file containing global variables? We chose the COFF format before, using coffconveter_ary.exe to convert the .out file into a TXT file containing global variables. And we now use CCS12, chip selection 280039C, and no longer support the COFF format file. We can only use the EABI format file. How do I configure CCS12, or what tools should I choose to get the global variable in our code? Are there any tools similar to coffconverter_ary.exe, convert the .out file containing the EABI format into the TXT file we need?
--
Thanks & Regards
Yale
The article A Brief History of TI Object File Formats has some background information that is useful here. Focus on two parts. One, the part about how debug information and the object file format are separate concepts. And two, the part about hex files.
The option --symdebug:coff is confusing. Because that incorrectly names a debug format after an object file format. It should have been named --symdebug:stabs. Because stabs is the name of the debug format used before Dwarf. I'm partly to blame for that error. I was on the team at the time the option spelling --symdebug:coff was proposed. For whatever reason, that error escaped our notice until it was too late for us to change it.
So, stabs debug format (specified with the badly named option --symdebug:coff) is no longer available. But, as far as the compiler tools are concerned, you can still use COFF object file format. That is, in the last screen shot, you can set the Output format to legacy COFF. Before you do that, though, consider all the other components in your build, such as C2000Ware. It may the case that those components are only available for EABI, and that could become the reason you have to use EABI.
If you can change to COFF, then you can continue to use the coffconverter_ary utility
If you have to use EABI, then consider converting the executable file to a hex file. In your case, the hex utility is named hex2000. It is documented in the C28x assembly tools manual chapter titled Hex Conversion Utility Description. One of the output formats it supports is named TI-TXT. It might work for you.
Thanks and regards,
-George