fundamental stm32f1 flashing functionality fixed. CAN GW is not tried.