Get source of reset

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

Get source of reset

836 次查看
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 回复数

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

546 次查看
norbertoj
Contributor III

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

0 项奖励
回复