Flash firmware to chatter 2.0

Hey,

Everything you code in CircuitBlocks will be saved in the app as one of your sketches.

Yes, it is possible to make a complete image backup of your chatter, if you can get esptool.py working on your computer, and you know which com port your chatter is connected to. You can back up all flash contents to a file called backup.bin by executing the following command:

esptool.py --chip esp32 --port COM3 --baud 230400 read_flash 0x00000 0x400000 backup.bin

replace COM3 with actual com port, or /dev/ttyXXXXX for Mac or Linux, whichever your port is.

To restore, it’s:

esptool.py --chip esp32 --port COM3 --baud 230400 write_flash -z 0x00000 backup.bin

How to get esptool.py on your system: I don’t know what system you have, but ChatGPT should have no problem describing this general task if you tell it. esptool.py is written in Python and the advice might center around creating an isolated throwaway Python environment for it to run in, or just installing it straight from a Python repository.

Caveat is I successfully tried this on Chatter, not Chatter 2 (which I don’t have), and I’m assuming both Chatters have 4 MB of flash. (if it were 8MB, change 0x400000 to 0x800000, but I don’t think it is). this esptool command can detect the flash: esptool.py --chip esp32 --port COM3 flash_id

1 Like