How to check the reset flag?

Post Reply
a_ziliu
Posts: 208
Joined: 20 Mar 2017, 10:52

31 May 2021, 16:13

System Reset Status Register (SYS_RSTSTS) provides specific information for software to identify the happened reset source of chip.
There are two ways for checking the reset flag:

1. Call specific API “SYS_GetResetSrc()” in the project


2. Use System Viewer to check “SYS_RSTSTS” register value in Debug Mode

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests