Dear,
When I use software reset
/* topRCM->SOFTSYSRST */
uint32_t* regAddr = (uint32_t*)0xFFFFE11C;
*regAddr = 0xAD;
How can I know ever reset by any register, when device reset?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear,
When I use software reset
/* topRCM->SOFTSYSRST */
uint32_t* regAddr = (uint32_t*)0xFFFFE11C;
*regAddr = 0xAD;
How can I know ever reset by any register, when device reset?
Thanks
Hi,
I think I find the register, but I read it always zero.
topRCM->RSTCAUSE
Gives cause of chip reset
“1001” : System out of NRESET
“1010” : Warm reset because of MSS Wdog.
“1100” : Warm reset because of Software trigger- SOFTSYSRST
“1000” : External Warm Reset
When I use
/* topRCM->SOFTSYSRST */
uint32_t* regAddr = (uint32_t*)0xFFFFE11C;
*regAddr = 0xAD;
The result should be “1100” : Warm reset because of Software trigger- SOFTSYSRST
How do I do to catch correct value
/* topRCM->SYSRSTCAUSE */ uint32_t* regAddr = (uint32_t*)0xFFFFE124;
value = (*regAddr);
Thanks
Hi,
I can use SPARE9 (0xFFFFE2FC) register to catch my message.
Thank for your support.
Thank