Variable reset

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Variable reset

726 次查看
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.
标签 (1)
0 项奖励
回复
1 回复

716 次查看
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 项奖励
回复