K64F - FreeRtos and NVIC_SystemReset()

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

K64F - FreeRtos and NVIC_SystemReset()

1,871件の閲覧回数
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,474件の閲覧回数
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.