I've ported Freescale's UART bootloader PC application (AN2295) to run on windows CE.
After burning the MCU with the bootloader firmware I am able to load the user application with the ported PC utility and everything works fine. When trying to load the application for the second time I get errors from the calibration function (the baud rate calibration function).
I am puzzled why this works during the first upload but fails to load the application a second time.
Any ideas on what can cause this?