That's great!
I've not used OpenOCD yet but it looks like dump_image espruino_dump.bin 0 1048576 might do it.
dump_image espruino_dump.bin 0 1048576
And yes, I think the mass erase and flash write should work
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's great!
I've not used OpenOCD yet but it looks like
dump_image espruino_dump.bin 0 1048576
might do it.And yes, I think the mass erase and flash write should work