We are using a different value than 115200 for the baudrate of the UART in our module.
And, because of that, we are seeing the output below:
L +QIND: "FOTA","DOWNLOADING",97%
L +QIND: "FOTA","DOWNLOADING",100%
L +QIND: "FOTA","HTTPEND",0
L +QIND: "FOTA","START"
��x��������������x������x<�������x����������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x��x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x��x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x����������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�����������x��x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�����������x��x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x��x���������������x��������������x������x<�������x����������x���x���������������x��������������x������x<�������x����������x��x���������������x��������������x������x<�������x����������x���x���������������x��������������x������x<�������x����������x��x��x���������������x��������������x������x<�������x����������x���x���������������x��������������x������x<�������x����������x��x���������������x��������������x������x<�������x����������x����x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x������������x��x���������������x��������������x������x<�������x��������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x��������������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x����������x��x���������������x��������������x������x<�������x�����������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x�������������x���������������x��������������x������x<�������x������������x��x���������������x��������������x������x<�������x��������������x���������������x��������������x������x<�������x������������x���������������x��������������x������x<�������x�����������x�������������
# [ module restarts and stars again fine, with the new firmware ]
And, after the reboot, the baud rate is back again to our non-default value (different than 115200), and it works fine.
So, the issue is only when the upgrade starts, it changes the baud rate to 115200.
My question is: is it avoidable? If not, what could be a workaround for this?