What's the easiest way to execute a reset?

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

What's the easiest way to execute a reset?

跳至解决方案
2,363 次查看
chrispflieger
Contributor IV

Is there a command to reset the MCU?

标签 (1)
0 项奖励
回复
1 解答
2,210 次查看
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 项奖励
回复
2 回复数
2,211 次查看
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 项奖励
回复
2,210 次查看
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