[KEAZN64] Internal watchdog reset is soft or hard reset

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

[KEAZN64] Internal watchdog reset is soft or hard reset

1,115 Views
mohammedaboelna
Contributor III

Hello,

I have a question regaridng watchdog reset.

1- Is it software or hardware reset ?

2- If reset pin is switched to low then high again , Does that mean that it is for sure hard reset ?

3- is there a register to reflect reset reasons ?

4- What is the effect of Invalid instruction on this target , jump to ISR and do WDOG reset if enabled or what is the behavior exactly please ?

Thank you in advance.

0 Kudos
Reply
2 Replies

994 Views
nxf51211
NXP Employee
NXP Employee

Hi,

1- Is it software or hardware reset ?

R: The Watchdog is a software reset.

2- If reset pin is switched to low then high again , Does that mean that it is for sure hard reset ?

R: If the reset pin is switched to low and then high, it will trigger a hardware reset which is different from a hard reset. Hardware Reset only restarts the program loaded into your board (like the WDOG would do) and Hard Reset is the restoration of a device to the state it was in when it left the factory (all settings, applications and data added by the user are removed).

3- Is there a register to reflect reset reasons ?

R: There is a register for the KEA64 Sub-Family called SIM_SRSID (System Reset Status and ID Register) which indicates the cause for a reset. You can check this register at the chapter 12.2.1 from the reference manual: https://www.nxp.com/docs/en/reference-manual/KEA64RM.pdf#d30e40a1310 

4- What is the effect of Invalid instruction on this target , jump to ISR and do WDOG reset if enabled or what is the behavior exactly please ?

R: An invalid instruction would jump to a Hard Fault, and then it would do a WDOG reset if it is enabled.

I hope this information can help you.

Best Regards,

Ricardo Delsordo

0 Kudos
Reply

994 Views
mohammedaboelna
Contributor III

Hello Ricardo ,

Thank you very much for your help and support.

0 Kudos
Reply