Get source of reset

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

Get source of reset

865件の閲覧回数
oaf
Contributor IV

When I'm using ProcessorExpert on my HC12 targets I use Cpu_GetResetSource() to get the source of my current startup.

Is there any similar function for Kinetis?

タグ(3)
0 件の賞賛
返信
2 返答(返信)

575件の閲覧回数
marek_neuzil
NXP Employee
NXP Employee

Hello,

The CPU_GetResetSource() method is not supported on Kinetis but you can use Cpu_OnReset(uint16_t Reason) event where the reset reason is provided as a parameter (value of RCM_SRS1 and RCM_SRS0 registers) or you can use PDD macros of RCM module, see below:

RCM_ReadSystemStatus.png
Best Regards,

Marek Neuzil

0 件の賞賛
返信

575件の閲覧回数
norbertoj
Contributor III

Hi, I was looking for the file RCM but I couldn't find it. I am using a M60DN512VLQ10

0 件の賞賛
返信