F247 analysis: fix bug that uart makes reboot