We're facing an unexpected behaior on memory veiw command display in CCS4.2.
We're encountering this behaior with C66x Multi-core DSP though, I guess it will be a common problem among other products.
Simply saying to our issue is a wrong diaplay in memory view command in big endian mode.
For example, We execute the below code simply.
unsigned int reg;
reg = 65<<24;
The DSP (C66x in this case) is being used with big endian mode though,
the value of "reg" should be 0x41000000. If the address of variable "reg" is supposed as A,
Byte address A : 00
Byte address A+1: 00
Byte address A+2: 00
Byte address A+3: 41
When we display the variable "reg", the displayed value on Hex 32bit TI style is 0x41000000 as we expected.
But if we see the same "reg" value on Hex 8bit TI Style, the result was different as below.
Byte address A : 41
Byte address A+1: 00
Byte address A+2: 00
Byte address A+3: 00
I guess the dispay value on Hex 8bit is wrong. My understaning is that veiw memory image on CCS4.2
is always little endian style. Please refer to the attached image file which helps you understand the situation well.
Regards,
Kuni Kasahara