initial implementation of stm32 flash procedure