KSDK Cpu System Reset

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

KSDK Cpu System Reset

跳至解决方案
1,807 次查看
bcamp
Contributor III

Hi

 

I'm migrating a project from the non-KSDK world to KSDK. If I want to execute a cpu / system  software reset *and* do it with KDSK 1.2 - how do I do it? Prior art was to let PEX come up with a Cpu_SystemReset() inside Cpu.c and use that.

 

The intent is to eventually get the right bits into the VTOR register and cause software reset of the MCU. I see places in the SDK that will allow me to read back the fact that the last boot was from a software reset. If there is a call in there to invoke the software reset it is pretty well hidden.

 

Yes, I can indeed bash the right bits into the right place and the reset will occur. Doing that seems to violate the idea of running through the SDK

 

Bob

标签 (1)
0 项奖励
回复
1 解答
1,460 次查看
DavidS
NXP Employee
NXP Employee

Hi Robert,

Please review following post to see if it answers your question.

https://community.freescale.com/message/516021?et=watches.email.thread#516021 

Regards,

David

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,461 次查看
DavidS
NXP Employee
NXP Employee

Hi Robert,

Please review following post to see if it answers your question.

https://community.freescale.com/message/516021?et=watches.email.thread#516021 

Regards,

David

0 项奖励
回复
1,460 次查看
bcamp
Contributor III

Hi

Yup, that's buried pretty deep ...

Thanks!

Bob

0 项奖励
回复