Skip to content

Releases: buzzler/bluebuzz

v0.2

06 Sep 05:44

Choose a tag to compare

  • OTA update
  • Status LED support

v0.1

05 Sep 03:27
2337f3a

Choose a tag to compare

Flashing BlueBuzz.ino.bin to ESP32 using esptool (Windows & macOS)

After building your firmware (BlueBuzz.ino.bin), you can upload it to your ESP32 board using esptool.

1. Download esptool

  • Windows:
    Download the latest esptool.exe release and extract it.

  • macOS:
    Install via Homebrew:

    brew install esptool
    

2. Connect your ESP32

  • Plug your ESP32 board into your computer via USB.
  • Identify the serial port:
    • Windows: Check Device Manager (e.g., COM3)
    • macOS: Use ls /dev/tty.* (e.g., /dev/tty.usbserial-xxxx)

3. Put ESP32 into Bootloader Mode (if needed)

  • Hold the BOOT button while pressing EN (reset), then release EN first.

4. Flash the firmware

Windows (Command Prompt):

esptool.exe --chip esp32 --port COMx --baud 921600 write_flash -z 0x10000 BlueBuzz.ino.bin
  • Replace COMx with your actual COM port (e.g., COM3).

macOS (Terminal):

esptool.py --chip esp32 --port /dev/tty.usbserial-xxxx --baud 921600 write_flash -z 0x10000 BlueBuzz.ino.bin
  • Replace /dev/tty.usbserial-xxxx with your actual device.

Note:

  • Make sure the serial port is not in use by another program (like Arduino IDE).
  • If you get a permissions error on macOS, try:
    sudo chmod 777 /dev/tty.usbserial-xxxx
    

For more details,