# How to Retrieve Last Reset Cause for Realtek Ameba RTL8735BM in Ameba-Pro2-SDK?

**URL:** <https://forum.amebaiot.com/t/how-to-retrieve-last-reset-cause-for-realtek-ameba-rtl8735bm-in-ameba-pro2-sdk/3947>\
**Category:** SDK\
**Tags:** rtl872xd\
**Created:** [March 20, 2025, 10:56am UTC](https://forum.amebaiot.com/t/how-to-retrieve-last-reset-cause-for-realtek-ameba-rtl8735bm-in-ameba-pro2-sdk/3947 "2025-03-20T10:56:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shrikant\_Sasane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/shrikant_sasane/32/2556_2.png) [@Shrikant\_Sasane](https://forum.amebaiot.com/u/Shrikant_Sasane)\
**Post date:** [March 20, 2025, 10:56am UTC](https://forum.amebaiot.com/t/how-to-retrieve-last-reset-cause-for-realtek-ameba-rtl8735bm-in-ameba-pro2-sdk/3947/1 "2025-03-20T10:56:04Z")

</div>

Hello everyone,

I’m working on implementing the logic to retrieve, set, and clear the last reset reason for the Realtek Ameba RTL8735BM chip within the **Ameba-Pro2-SDK**.

I’ve gone through the application note and datasheet but couldn’t locate any details about the register that holds the reset cause. For context, LPC controllers offer this information through the “System Reset Status Register,” and I’m hoping for something similar from this controller.

Specifically, I need to determine whether the last reset was triggered by a power-on, brownout, watchdog, external pin, or system soft reset.

Has anyone encountered this or can provide any insights or guidance on how to retrieve this information?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![KaiFai\_Y](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kaifai_y/32/2252_2.png) [@KaiFai\_Y](https://forum.amebaiot.com/u/KaiFai_Y)\
**Post date:** [March 25, 2025, 8:15am UTC](https://forum.amebaiot.com/t/how-to-retrieve-last-reset-cause-for-realtek-ameba-rtl8735bm-in-ameba-pro2-sdk/3947/2 "2025-03-25T08:15:51Z")

</div>

Hi @Shrikant_Sasane, to better understand your requirements, could you clarify the specific purpose of retrieving, setting, and clearing the last reset reason? Are you looking to enhance debugging capabilities or implement fail-safe recovery mechanisms? Thank you.

---

<div class="post-metadata">

**Author:** ![Shrikant\_Sasane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/shrikant_sasane/32/2556_2.png) [@Shrikant\_Sasane](https://forum.amebaiot.com/u/Shrikant_Sasane)\
**Post date:** [March 25, 2025, 9:25am UTC](https://forum.amebaiot.com/t/how-to-retrieve-last-reset-cause-for-realtek-ameba-rtl8735bm-in-ameba-pro2-sdk/3947/3 "2025-03-25T09:25:40Z")

</div>

Hi @KaiFai_Y  
The primary goal is to improve the debugging and troubleshooting process.  
By tracking the reason behind the last system reset, we can more easily identify the root cause of issues such as unexpected crashes, failures, or performance degradation.  
Also, the system could take specific recovery actions depending on the reset reason.

---

<div class="post-metadata">

**Author:** ![KaiFai\_Y](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kaifai_y/32/2252_2.png) [@KaiFai\_Y](https://forum.amebaiot.com/u/KaiFai_Y)\
**Post date:** [March 27, 2025, 2:12am UTC](https://forum.amebaiot.com/t/how-to-retrieve-last-reset-cause-for-realtek-ameba-rtl8735bm-in-ameba-pro2-sdk/3947/4 "2025-03-27T02:12:48Z")

</div>

Hi @Shrikant_Sasane, thank you for reaching out with your inquiry regarding the retrieval of the last reset cause for the Realtek Ameba RTL8735BM in the Ameba-Pro2-SDK. However, after reviewing the SDK, we confirm that there is no available API to retrieve the last reset cause for the RTL8735BM. Thanks.
