openocd.exe -f ..\share\openocd\scripts\interface\jlink.cfg -f ..\share\openocd\scripts\board\esp-wroom-32.cfg -c "program_esp ESP32_Myomed.ino.bootloader.bin 0x1000 verify exit"

openocd.exe -f ..\share\openocd\scripts\interface\jlink.cfg -f ..\share\openocd\scripts\board\esp-wroom-32.cfg -c "program_esp ESP32_Myomed.ino.partitions.bin 0x8000 verify exit"

openocd.exe -f ..\share\openocd\scripts\interface\jlink.cfg -f ..\share\openocd\scripts\board\esp-wroom-32.cfg -c "program_esp boot_app0.bin 0xe000 verify exit"

openocd.exe -f ..\share\openocd\scripts\interface\jlink.cfg -f ..\share\openocd\scripts\board\esp-wroom-32.cfg -c "program_esp ESP32_Myomed.ino.esp32.bin 0x10000 verify exit"

----------erase

openocd.exe -f ..\share\openocd\scripts\interface\jlink.cfg -f ..\share\openocd\scripts\board\esp-wroom-32.cfg -c "flash erase_sector 0x1000 0x5fff exit"

openocd.exe -f ..\share\openocd\scripts\interface\jlink.cfg -f ..\share\openocd\scripts\board\esp-wroom-32.cfg -c "flash erase_sector 0x8000 exit"

openocd.exe -f ..\share\openocd\scripts\interface\jlink.cfg -f ..\share\openocd\scripts\board\esp-wroom-32.cfg -c "flash erase_sector 0xe000 exit"

openocd.exe -f ..\share\openocd\scripts\interface\jlink.cfg -f ..\share\openocd\scripts\board\esp-wroom-32.cfg -c "flash erase_sector 0x10000 exit"