Support openocd to flash program