working stm32 flasher (kind of)