Serial bootloader for stm32 devices