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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
678 Views
erenaud
Contributor II

Hello,

I have the exact same issue as reported in that thread :
https://community.nxp.com/t5/MCUXpresso-IDE/MCUXPresso-Debug-mode-Variables-Watch-abnormal-on-none-3...

My board is 1061xxxxA and I have Mcuxpresso 11.5.0 Build 7232.

Here's an example of my issue with a struct st_Status with type ST_LIB_STATUS. When initialized with zeroes, memory is correct (only zeros at correspoding address) but field u8_ConsoStatus is different from zero according to variables watcher.

Problem with zerosProblem with zeros

Then I unpack some dummy data in my struct (only 0xFF). Then again, data in memory watcher are correct (0303FFFF, my unpack is not trivial and that is in deed the expected result) but variables watchers show different data.

Same problem with 0xFFSame problem with 0xFF


From what I understand from debug logs, GDB also sees correct data :

 

 

184,956 816^done,value="{u8_Heartbeat = 255 '\303\277', u8_FsmStatus = 255 '\303\277', u8_A\
cStatus = 3 '\\003', u8_ConsoStatus = 3 '\\003'}"

 

 


I already tried to disable "Live Variables service"  without any luck (solution from this tread :https://community.nxp.com/t5/MCUXpresso-IDE/MCUX-11-0-0-Variables-view-has-blank-contents/m-p/949322 )

Any help would be greatly appreciated !

Kind regards.

Tags (1)
0 Kudos
1 Solution
661 Views
erenaud
Contributor II

The solution was to delete .launch file.

View solution in original post

0 Kudos
1 Reply
662 Views
erenaud
Contributor II

The solution was to delete .launch file.

0 Kudos