Will KL03 Software/Watchdog reset & memory issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Will KL03 Software/Watchdog reset & memory issue

跳至解决方案
1,083 次查看
tigerlo
Contributor III

Hi,

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

   or Is there any document describe this ?

   Thanks.

Tiger

1 解答
933 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

4 回复数
933 次查看
tigerlo
Contributor III

Hui_Ma,

   Got it, Thanks.

Tiger

0 项奖励
回复
933 次查看
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 项奖励
回复
934 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

933 次查看
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 项奖励
回复