Assuming the bootloader is ok, and from your description it should be, This sort of problem usually appears when the connection between the USB-to-UART and the MCU is bad: the Reset line, swapped RX/TX, unintended contact with Vcc/Ground somewhere etc.