S12g96 cop(Watch dog )issue

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

S12g96 cop(Watch dog )issue

1,676件の閲覧回数
玉敏111田
Contributor III

boot's cop is disable,app's wd is enable.

Question1.when flash the bootwithapp to mcu ,but debug found that the cop counld not wrok,Why?

Question2. when the cop's clock was ACLK,how to disable the cop ?

pastedImage_1.png

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,600件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi,

The COP is driven by CPMUCOP register.

In special mode, you may write CPMUCOP register without restriction. Any write will restart COP timeout period.

In normal mode, you may write CPMUCOP register just once. If bootloader writes CR[2:0] as “000”, the application cannot change it without MCU restart.

CPMUCOP.png

Please check the complete CPMUCOP write conditions in RM. 


I hope it helps you.

Have a great day,
Radek

0 件の賞賛
返信

1,600件の閲覧回数
玉敏111田
Contributor III

Thanks .I have read the data sheet .And when I debug the EntryPoint Function with the breakpoint ,I found that WRTMASK was 0 rather than 1!

pastedImage_1.png

0 件の賞賛
返信