K64F - FreeRtos and NVIC_SystemReset()

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

K64F - FreeRtos and NVIC_SystemReset()

1,117 Views
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

Labels (1)
0 Kudos
1 Reply

720 Views
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.