In this guide, we'll explore how to flash new software - the so called "firmware" - onto your ESP32 microcontroller.
Please select your operating system:
Note: For all terminal commands shown below, enter (or copy/paste!) the command and then press Enter ⏎ to execute it.
cd Downloads
pip install esptool
Note: If pip is not available, you may need to install Python and pip first, or use your distribution's package manager.
esptool --chip esp32 erase_flash
Note: If esptool can't connect to your ESP32 microcontroller, try to press the tiny button on the ESP while the "connecting" dots are displayed in the terminal. If the microcontroller is built into a device, the device must be turned on!
esptool --chip esp32 --baud 460800 write_flash 0x0 pixelpainter-advent25.bin
Note: For all terminal commands shown below, enter (or copy/paste!) the command and then press Enter ⏎ to execute it.
cd Downloads
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install esptool
esptool --chip esp32 erase-flash
Note: If esptool can't connect to your ESP32 microcontroller, try to press the tiny button on the ESP while the "connecting" dots are displayed in the terminal. If the microcontroller is built into a device, the device must be turned on!
esptool --chip esp32 --baud 460800 write-flash 0x0 pixelpainter-advent25.bin
Note: For all terminal commands shown below, enter (or copy/paste!) the command and then press Enter ⏎ to execute it.
cd Downloads
pip install esptool
esptool --chip esp32 erase-flash
Note: If esptool can't connect to your ESP32 microcontroller, try to press the tiny button on the ESP while the "connecting" dots are displayed in the terminal. If the microcontroller is built into a device, the device must be turned on!
esptool --chip esp32 --baud 460800 write-flash 0x0 pixelpainter-advent25.bin