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.
Tool/software: TI C/C++ Compiler
Hello,
As stated in the subject, I built the same project on both a laptop and a desktop. Both builds use 6.2.0.00050 and the same compiler, i.e. 18.1.1.LTS. Both map files are identical except the econst section crc and the file date.
Why would the econst stection CRCs be different?
Stephen
laptop:
.econst: algorithm=CRC32_PRIME(ID=0), page=0, load addr=0030c58a, size=00004efe, CRC=bb584069
destop:
.econst: algorithm=CRC32_PRIME(ID=0), page=0, load addr=0030c58a, size=00004efe, CRC=dc740e5e
Please use the utility objdiff from the cg_xml package to compare the executable .out files. I suspect this will show a difference in the raw data of the .econst section.
Thanks and regards,
-George
Hello Geroge,
It seems the overview mainly discusses using ofd6x. Also, most of the data in the xml file generated by ofd6x is in binary form (i.e. ascii characters).
I have a table in my code that contains strings. Is there a way to get the xml code to show the strings. It might be possible that I am overlooking the strings since the xml file is rather large.
By the way, I think I figured out what was causing the difference in the xconst section. A table in my code (that is contained in the xconst section) has __DATE__ and __TIME__ as table items. I just needed to move the date and time to a section that doesn't have a CRC associated with it.
Stephen
stevenh said:A table in my code (that is contained in the xconst section) has __DATE__ and __TIME__ as table items. I just needed to move the date and time to a section that doesn't have a CRC associated with it.
I have heard of similar experiences from others. But there is no simple way to track this down. The source of the error, and how it finally shows up, are too far apart to see easily.
Thanks and regards,
-George