Will KL03 Software/Watchdog reset & memory issue

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

Will KL03 Software/Watchdog reset & memory issue

Jump to solution
989 Views
tigerlo
Contributor III

Hi,

   Will KL03 Software/Watchdog reset clear the internal RAM memory ?

   or Is there any document describe this ?

   Thanks.

Tiger

1 Solution
839 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Tiger,

The watchdog/software reset will let all module registers with reset value, that need to re-initialize all used module registers. The SRAM content only be affected by power, the watchdog/software reset doesn't clear the SRAM content.

Wish it helps.


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

4 Replies
839 Views
tigerlo
Contributor III

Hui_Ma,

   Got it, Thanks.

Tiger

0 Kudos
Reply
839 Views
tigerlo
Contributor III

Erich,

   thanks for your help, for one further question is that --

   As document said when watchdog/software reset it will clear some major function (such as RTC), but it is not very clear list what kind of major function, so after reset it is better initialize all H/W function & don't need de-initialize (before reset initialize driver)every H/W driver , is above description right ? 

Thanks.

Tiger

0 Kudos
Reply
840 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Tiger,

The watchdog/software reset will let all module registers with reset value, that need to re-initialize all used module registers. The SRAM content only be affected by power, the watchdog/software reset doesn't clear the SRAM content.

Wish it helps.


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

839 Views
BlackNight
NXP Employee
NXP Employee

Hi Tiger,

a watchdog does the same as a reset. So the watchdog itself does not clear the RAM, it would be the (C/C++) startup code which runs after reset.

I hope this helps,

Erich

0 Kudos
Reply