Will KL03 Software/Watchdog reset & memory issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Will KL03 Software/Watchdog reset & memory issue

ソリューションへジャンプ
1,889件の閲覧回数
tigerlo
Contributor III

Hi,

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

   or Is there any document describe this ?

   Thanks.

Tiger

1 解決策
1,739件の閲覧回数
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 返答(返信)
1,739件の閲覧回数
tigerlo
Contributor III

Hui_Ma,

   Got it, Thanks.

Tiger

0 件の賞賛
返信
1,739件の閲覧回数
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 件の賞賛
返信
1,740件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

1,739件の閲覧回数
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 件の賞賛
返信