What's the easiest way to execute a reset?

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

What's the easiest way to execute a reset?

Jump to solution
1,327 Views
chrispflieger
Contributor IV

Is there a command to reset the MCU?

Labels (1)
0 Kudos
1 Solution
1,174 Views
chrispflieger
Contributor IV

Going off of Erich's tip, I went looking for that register and found this little gem in the LPCopen code:

NVIC_SystemReset()

Sweet.

View solution in original post

0 Kudos
2 Replies
1,175 Views
chrispflieger
Contributor IV

Going off of Erich's tip, I went looking for that register and found this little gem in the LPCopen code:

NVIC_SystemReset()

Sweet.

0 Kudos
1,174 Views
BlackNight
NXP Employee
NXP Employee

ARM Cortex M has a way to trigger a reset with writing to the AIRCR register.

See How to Reset an ARM Cortex-M with Software | MCU on Eclipse 

I hope this helps,

Erich