K64F - FreeRtos and NVIC_SystemReset()

cancel
Showing results for 
Search instead for 
Did you mean: 

K64F - FreeRtos and NVIC_SystemReset()

548 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

151 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.