NVIC_SystemReset() is not working with MiMxRT1020

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

NVIC_SystemReset() is not working with MiMxRT1020

2,264件の閲覧回数
meeras
Contributor I

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();

}

0 件の賞賛
返信
1 返信

2,184件の閲覧回数
Sabina_Bruce
NXP Employee
NXP Employee

Hello ,

Hope you are doing well.

I have tested this one my end without any issue. 

I used the simple hello world example. Placed the NVIC_SystemReset after it prints hello world. 

pastedImage_1.png

It will not reach the next printf as it resets the application.

I am using the latest IDE and SDK version.

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 件の賞賛
返信