Home > other >  NXP ARM LPC2478 use keil5 debug, variable display value error
NXP ARM LPC2478 use keil5 debug, variable display value error

Time:11-21

NXP ARM type LPC2478 under a machine program using keil5 debug program, enter debug mode, initialization of the array in the program, for example uint8 ip_address [4]={192168,0,119}; Without running any statements, use a watch to see the value of this variable, is ip_address [4]={192168168119},
Initializes the array uint8 machine_id [16]={' O ', 'P', 'M', '-' and 'T', '1', '6', '3', '0', 0 x20, 0 x20, 0 x20, 0 x20, 0 x20, 0 x20, 0 x20}; Use watch read is
'O' 'P' 'P' '-', 'M' '1', '-', '3' 'T' ' ' '1' ' ' '6' ' ' ' ' ' '3, watch read an array of content and initialize it completely different, do you have met this kind of situation? Which is wrong? But the actual output value is right, just watch see wrong

CodePudding user response:

You do the other USES the debug pin?
  • Related