KSDK Cpu System Reset

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KSDK Cpu System Reset

Jump to solution
950 Views
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

Labels (1)
0 Kudos
1 Solution
603 Views
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

View solution in original post

0 Kudos
2 Replies
604 Views
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 Kudos
603 Views
bcamp
Contributor III

Hi

Yup, that's buried pretty deep ...

Thanks!

Bob

0 Kudos