How to store data on reset

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

How to store data on reset

ソリューションへジャンプ
801件の閲覧回数
lazaro
Contributor II

I'm using an MXRT1062 micro, after a certain number of restarts the watchdog is going off causing an error when the system is back on. I want to store the PC before the shutdown but don't have enough time to store it to flash. Is there anything on this chip I could use to store the PC before the reboot while the watchdog is going off?

0 件の賞賛
返信
1 解決策
781件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @lazaro ,

There is a 256-bit general-purpose register in SNVS. Maybe you can use it. Please refer to 20.3.3.2.1 in reference manual.

 

Regards,

Jing

元の投稿で解決策を見る

3 返答(返信)
782件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @lazaro ,

There is a 256-bit general-purpose register in SNVS. Maybe you can use it. Please refer to 20.3.3.2.1 in reference manual.

 

Regards,

Jing

772件の閲覧回数
lazaro
Contributor II

Is there an application note on how to use the SNVS?

0 件の賞賛
返信
763件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Please refer to this link

https://community.nxp.com/t5/i-MX-RT/SNVS-general-purpose-registers/m-p/918327

If you haven't backup battery, there is no other way in this chip. You have to add a I2C eeprom or something like that.

 

Regards,

Jing