我尝试使用sbl程序进行ota升级,整个升级流程可以正常运行,但是在一个特定环境(交流280V转5V,用的飞凌的rt1052开发板)会出现芯片的bootrom并没有走internal boot模式而是进入了serial downloard模式,重启也无效,读取cfg,显示flash无app,但是现实是肯定有。并且我用NXP-MCUBootUtility启动过一次后就又可以正常使用了,以后也可以正常使用,但是在那个环境又会出现上述问题
并不是一定会出现这个问题,但在那个特定环境一定会出现该问题,并且是在我开启ota任务的时候(只是mqtt通信并没有升级)
Hi,
Is it possible to give reproduce steps to us? it's better to get the trace log when issue happened.
'特定环境(交流280V转5V,用的飞凌的rt1052开发板)' 'ota任务的时候(只是mqtt通信并没有升级)'
Can you give more details about this?
BTW, do you use 'https://github.com/nxp-mcuxpresso/sbl' or MCU SDK (ota_example), please give more details about the HW/SW version.
I use the way of ‘https://github.com/NXPmicro/sbl.git’
Since I am unable to reproduce this issue, I can't track it through debug mode.
Let me provide you with some more information so that you can analyze the cause of the problem.
1、My main issue is that the normal internal boot suddenly enters serial download mode, where the bootrom directly goes into serial download mode and cannot be recovered through restarts or other operations. This makes it difficult to track logs, and I can only track the phenomenon.
2、I can currently provide some register information from the bootrom. Could you please advise which registers would be most relevant to the issue I'm facing so that I can retrieve those specifically?
3、Let me go through and organize the changes I made to the flash.