S12G128 close watchdog

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

S12G128 close watchdog

882件の閲覧回数
ZhaozhangChen
Contributor I

I think there is no way to close watchdog on S12G DataSheet, can you tell me to close watchdog on S12G128?thank you

0 件の賞賛
返信
2 返答(返信)

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

Hi @ZhaozhangChen,

Yes, it can be disabled this way.

Please note that this is a write-once register in Normal mode.

danielmartynek_0-1689931412663.png

The register is loaded from the Flash IFR (FOPT) during the reset sequence.

A constant can be place at the IFR.

E.g.

//set FOPT = 0xFF (at 0xFF0E) and FSEC = 0xFE (at 0xFF0F)
//place the constant at address 0xFF08
const unsigned char flash_array[] @@0xFF08= {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE}

danielmartynek_1-1689931624149.png

Regards,

Daniel

 

0 件の賞賛
返信

875件の閲覧回数
ZhaozhangChen
Contributor I

ZhaozhangChen_0-1689919017597.png

Can we close watchdog if we set CR0, CR1, CR2 to 0?

0 件の賞賛
返信