freezing some variables when warm reset (reset without powering down) occurs

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

freezing some variables when warm reset (reset without powering down) occurs

823件の閲覧回数
ma85_bahar
Contributor II

Hi every one. I am working on Instrument Cluster which uses MC9s12xhy128 and the firmware is created by codewarrior 5.1 IDE. i have enabled the WDT and i want to hold some variables (like pointer position of panels) if WDT resets the micro-controller. any suggestion?

0 件の賞賛
返信
1 返信

726件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You can divide RAM into segments and use NO_INIT on one of them in the linker file.

From CW5.x help search:

pastedImage_1.png

BR, Daniel