stm32 broken upload code