LS1043A reset reason

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

LS1043A reset reason

1,278 Views
zillnk_wufan
Contributor I

Hi NXP experts:

I connect the RESET_REQ_B signal to the PORESET_B, and test the watchdog(wdog 3) function in my board, the watch dog works fine and the board reset, but when I try to figure out the reset reason by register DCFG_CCSR_RSTRQSR1(0x01ee00c8), the register did not record the reset reason in relevant bit as the LS1043ARM documentation described.

zillnk_wufan_0-1713248861040.png

So I want to know is the PORESET_B cause the register not work? should I connect RESET_REQ_B to HRESET_B if I want to collect the reset reason? If not, what should I do?

Thanks a lot

Tags (1)
0 Kudos
Reply
2 Replies

1,226 Views
yipingwang
NXP TechSupport
NXP TechSupport

First of all, if RESET_REQ is asserted, when - there is a condition requiring the assertion of reset. I mean, the internal state of the processor core may be fatal and further code execution may not be possible, if reset is requested.

 

If the processor can still execute the code, when RESET_REQ is signaled, than yes - you can try to read re reset reason is DCFG_CCSR_RSTRQSR1. Note that most of the reset reasons, indicated in this register, may be masked in DCFG_CCSR_RSTRQMR1 (except watchdog reset and software-initiated reset)。

 

The register DCFG_CCSR_RSTRQPBLSR is related to pre-boot loader and indicates pre-boot loader errors. If the core fails, when it already up and running, than this register is not related.

0 Kudos
Reply

1,197 Views
zillnk_wufan
Contributor I

Thanks for your explain Mr. Wang,

what I want is get the reason of last time reset, then I will do somthing according to it.

So could this register store the reset reson till next time start up after RESET_REQ_B asserted and then I can read the register in, u-boot for example, and get the reset reason?

If not, how can I get the reset reason of last time reset?

0 Kudos
Reply