source [find interface/stlink-v2.cfg] source [find target/stm32f4x.cfg] init reset halt flash write_image erase stm32f4.hex 0 ihex reset run shutdown