- openocd flashing use run_algorithm to hook ROM NVM functions see flash/stm32x.c