I'm turning on a new board with a C6745. I'm using a TTO gel file that I've edited down to suit the 6745 and a XDS100V2 from SD. One problem I had earlier was discussed in a post that suggested that the XDS100 needed a CPLD update. I've done that. CCS4.2.1 runs the gel without problem and shows disassembled with _c_int00 at 800a60. I have run-to-main turned off. The code gts lost on the first single step from that point.
00800a60 _c_int00:
00800a60 .text:_c_int00:
00800a60 0783fe2a MVK.S2 0x7fc,B15
00800a64 0780406a MVKH.S2 0x800000,B15
00800a68 07bf09f2 AND.D2 -8,B15,B15
When viewed in the CCS4.2 disassembler window, the same code looks like this:
00800a60 _c_int00:
00800a60 fe2a0783 .word 0xfe2a0783
00800a64 406a0780 || [B1] MPYHLU.M1 A16,A26,A0
00800a68 09F207bf STB.D2T2 B19,*+B15[29191]
Notice that the hex data is the same, but that, between the two disassemblies, the two words of each instruction are reversed in order. 0783fe2a in the first example becomes fe2a0783 in the second. The assembler seems to be working right, but the code seems to be loading into the DSP incorrectly. When one single step is executed, the processor jumps to 71307A.
Regards,
Ron