Get started with CircuitPython [S2 series]

Flash CircuitPython firmware

Requirements

pip install esptool

S2 Firmware

Flash firmware

  • Make S2 boards into Device Firmware Upgrade (DFU) mode.

    • Press and hold the [0] Button

    • Press and release the [Reset] Button

    • Release the [0] Button

  • Flash using esptool.py

    esptool.py --chip esp32s2 --port PORT_NAME --baud 1000000 write_flash -z 0x0 FIRMWARE.bin
    

Note

Don’t forget to change PORT_NAME and FIRMWARE.bin.

In Linux, PORT_NAME is like /dev/ttyUSB0. In windows, PORT_NAME is like COM4.

Quick reference