Hello, everybody.
I'm trying to plot a 64-bit integer in a CCS 5 Graph during Debug mode. In order to ensure the data align of my array was 64-bit I declarated the variable using a pragma directive as follows:
#pragma DATA_ALIGN(x, 64)
int64_t x[SIZE];
I checked the alignment using the Memory Browser and it worked. Curiously, when I tested the long int type (40 bits long according to the C6000 compiler docs) instead of int64_t, the data were alwas aligned to a 32-bit boundary even though the pragma directive was put with a 64-bit value.
I selected the "64 bit signed integer" option in the Graph window, but the data are not displayed correctly and the plot seem to be "saturated", even when the tested data is in sine wave in a small range between -255 and 255. The Y axis is also out of range. I tested to change the option to "32 bit signed integer" and the new graph showed the expected sinusoid shape with "gaps" corresponding to the empty values of the 64-bit data, but without the sign. In other words, the graph is always possitive.
How can I plot correctly a 64-bit integer array in CCS5? Why does not the CCS5 have an option to plot 64-bit unsigned integers?
Thanks for your help.