I'm building an srec for a 6482 using a RAM linker model. I recently upgraded to start using CodeGen tools v7.0.1... and have run into a problem.
I have a structure with four unsigned shorts. It gets statically initialized in code similiar to... VerStruct version = { 0x5555, 0x6666, 0x7777, 0x8888 };
In the .out file I see the 8 bytes located at offset 0x70267 of the .out file. But in the srec, the 0x5555 value is set to 0. The other three values are correct.
I assume this is either a bug in the linker (putting a 2 byte aligned structure on an odd boundary?) or a hex6x bug?
Two questions...
- Am I missing something? Should I try a newer/different version of code gen tools?
- Where would I get a newer version of the code gen tools to try? I only see versions through 6.1.22, here... https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm#C6000 (Version 7.0.1 was being passed around by others, so I'm not sure how we got it in the first place)
thanks,
Brad