K64F - FreeRtos and NVIC_SystemReset()

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

K64F - FreeRtos and NVIC_SystemReset()

1,854 次查看
grochal7
Contributor III

Helllo!

I'm using k64f with liwp and freertos. FreeRtos works fine.

I'm running function NVIC_SystemReset() when i'm pushing the button while rtos is working .

Unfortunately mcu stops (not reset).

Is it possible to reset (Software reset) mcu (with running freertos) by using NVIC_SystemReset()?

If not - how can I do it?

Regards, 

BonyX

标签 (1)
0 项奖励
回复
1 回复

1,457 次查看
cesarprovidenti
Contributor I

Yes, it is possible.

Are you testing this in the debugger? If so, then you can expect the debugger to halt the processor when the reset vector is invoked (i.e., after calling NVIC_SystemReset). Try without the debugger.