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.

Endianness: emulator won't load 'Invalid endianness'



Hello

We're trying to bring up a new PCB with the C6472 mounted on the board. I'm using a Spectrum Digital XDS510 USB 'Plus'.

We're supposedly using little endian mode, relying on the weak pullup on the line LENDIAN (i.e. that pin is not connected to anything). The software is compiled in little-endian, and works fine on the 6472 EVM. On attempting to download software to the new PCB's C6472, I get an error no-one has ever seen, stating it 'Failed to load program' reason 'Invalid endianness'.

The emulator is however attached, so I've looked at register DEVSTAT (0x02a80000), and the value read back on two different power cycles is ( in Hex 8-bit TI style) 00 79 01 08. A diffrent power cycle read 00 61 00 08.

So my question: what is the interpretation of this value? Should I read it as the byte in DEVSTAT containing LENDIAN, DDREN and BootMode is 00 or 08? I guess 00, which means there's a big problem, as the thing is meant to be wired for BootMode (binary) 0001 - Host boot over HPI.

Sorry to appear ignorant, the one thing that does me in consistently is endianness.

Thanks

Richard