AnsweredAssumed Answered

MCUXPresso Debug mode Variables Watch abnormal on none-32bit variables

Question asked by David Chen Employee on Nov 29, 2018
Latest reply on Dec 4, 2018 by Erich Styger

Hi Sir,

I use MCUXPresso IDE v10.2.1 Build 795.

We find, when variable declared as none-32bits variable, something like uint8_t or uint16_t, then its content(value) will be not correct shown on "Variables watch" windows. But the value is correct on the memory view.

Please help to check it or any configuration I missed.


There is an example for you reference.

I declare three array variables with three different format,

uint8_t rand8[8] -- 8bit format.
uint16_t rand16[8] -- 16bits format.
uint32_t rand32[8] -- 32bits format.

And give them the same initial value ={0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};


Then you will see that all the value are correct on "Memory" watch window.

But 8bit and 16bit format variables value are not correct on "Global Variables" or Variables" watch window. 

Variables watch is abnormal on MCUXpresso