AnsweredAssumed Answered

NVIC_SystemReset() is not working with MiMxRT1020

Question asked by meera shah on May 4, 2020
Latest reply on May 6, 2020 by Sabina Bruce

I am using MiMxRT1020 development kit.. I want to update firmware via TCP with bootloader. As soon as I receive my new firmware I want to reset application and I want to jump to the bootloader mode. But NVIC_SystemReset() is not working. So I can not update my firmware. Here is sample of my code.

 

if(ack_offset == 0xffff) {

/* received complete firmware */

osDelay(2000);

__disable_irq();

/* reset application */
NVIC_SystemReset();

}

Outcomes