iMX6UL reset reason

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX6UL reset reason

跳至解决方案
3,778 次查看
aermakov
Contributor II

I try to detect last reset reason in u-boot.

I use iMX6UL-evk evaluation board, default configs for u-boot and buildroot for this board.

To test last reason reset feature I folow these steps:

1) Booting in buildroot.

2) Disabling watchdog daemon.

3) Board resets on watchdog timeout.

In U-boot debug I can see reset reason "Reset cause: POR", and it does not change even if the reset occurred due to a watchdog timeout. To detect reset cause u-boot reads  "SRC Reset Status Register (SRC_SRSR)".

I have written u-boot module which reads " Watchdog Reset Status Register (WDOGx_WRSR)", and it tells same (POR reason)

Do I need to do something to detect reset reason?

标签 (1)
0 项奖励
回复
1 解答
3,552 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alexey

WDOGx_WRSR is only option to know reset reason, however on i.MX6UL EVK

wdog is connected to U708 (UM805RE) SPF-28617.pdf  i.MX6UL EVK schematic,

operating in the same manner as POR and resetting whole board.

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

在原帖中查看解决方案

3 回复数
3,553 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alexey

WDOGx_WRSR is only option to know reset reason, however on i.MX6UL EVK

wdog is connected to U708 (UM805RE) SPF-28617.pdf  i.MX6UL EVK schematic,

operating in the same manner as POR and resetting whole board.

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

3,552 次查看
aermakov
Contributor II

Thank you for answer. And what should I implement in my custom board to use this option?

0 项奖励
回复
3,552 次查看
igorpadykov
NXP Employee
NXP Employee

not to reset whole board.