Variable reset

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Variable reset

740件の閲覧回数
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 返信

730件の閲覧回数
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 件の賞賛
返信