IMX-93 WDOG reset log record

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX-93 WDOG reset log record

206 Views
leoX
Contributor I

翻译为英文如下:

I am using wdog1 on the M-core to monitor the program. When it times out, it causes the entire system to reset. However, I want to record the reset reason using a logging feature. Is there any way to do this? Or is there any non-volatile memory available on the M-core that can be used for this purpose?

0 Kudos
Reply
1 Reply

156 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

你可以在中断处理的时候写入少量日志。至于写入哪个存储器,可以选择QSPI FLASH,也可以选择emmc。

WDOG can generate an interrupt request to delay resets.

When interrupts are enabled (INT = 1), and after a reset-triggering event (such as a counter timeout or invalid refresh attempt), WDOG:

1. Generates an interrupt request.

2. Waits 128 bus clocks (from the interrupt vector fetch, not the reset-triggering event).

3. Forces a reset.

This process allows the ISR to perform tasks such as analyzing the stack to debug code. When interrupts are disabled (INT = 0), WDOG does not wait before forcing a reset



Best Regards,
Zhiming

0 Kudos
Reply