Variable reset

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

Variable reset

452 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Lazar92 on Thu May 14 06:35:20 MST 2015
What can cause variable value reset, if you take into consideration that UART and TIMER interrupts are used and IAP? My variables which are stored in internal RAM got reset.
Labels (1)
0 Kudos
Reply
1 Reply

442 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Thu May 14 06:48:57 MST 2015

Quote: Lazar92
What can cause variable value reset, if you take into consideration that UART and TIMER interrupts are used and IAP? My variables which are stored in internal RAM got reset.



Wrong IAP usage?

32.3.2.8 RAM used by IAP command handler
Flash programming commands use the top 32 bytes of on-chip RAM. The maximum stack
usage in the user allocated stack space is 128 bytes and it grows downwards.


But it's difficult to guess what you are doing in detail 
0 Kudos
Reply