Tool/software: Code Composer Studio
Hi
Please check previous thread.
In the mean time I installed CCS8.3 and tried with a new workspace. -> Same issue.
I created a small test project based on the blinky example of c200Ware and finally found out that it is an optimization issue.
Assambly code without optimization:
Assambly code with optimization: Optimization Level 0 (Register Optimizations)
With optimization the address of the pointer is not copied on to stack and stays in the auxilary register XAR4.
But the debugger points to the memory address of XAR4L which is only the lower 16bit of the address.
The structure "DebugStruct" is at memory location 0x0001 0006 and not 0x0000 0006