Watchdog reset on imx6ul

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

Watchdog reset on imx6ul

1,663件の閲覧回数
pietercardoen
Contributor II

Dear

I am facing troubles with the watchdog on imx6ul. I am using u-boot 2016.03.

I configure:

* the WCR register to 0xFF34 (WDT and WDE enabled and timeout 128s)

* the WMCR register to 0x0000 (Power down counter disabled)

* the WSR to 0x5555 and afterwards to 0xaaaa

After 12 seconds, the board reboots and reset cause is WDOG.

If I change the timeout to 60 seconds, nothing changes. Also after 12 seconds, the board reboots.

What could cause this strange behaviour?

Best regards

Pieter

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

1,110件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Pieter

reason may be that wdog was already initialized before, for example

in iROM by fuses, note that some wdog fields are write-once only.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,110件の閲覧回数
pietercardoen
Contributor II

Igor

The issue was that the 32kHz clock was missing and apparently, the i.MX6UL behaved unpredictably. By adding this component, the WDOG behaves normal.

Best regards

Pieter Cardoen

0 件の賞賛
返信