09-28-2024, 11:57 PM
1. Install your USB driver for MAX os, download link: https://www.wch-ic.com/downloads/CH341SER_EXE.html
2. You can use Python tool download ESP32 firmware:
step-1:
Install esptool: Open Terminal and run:
pip install esptool
Connect ESP32: Connect your ESP32 via USB, then find the device port:
step-2.
ls /dev/cu.*
Erase flash (optional):
step-3.
esptool.py --port /dev/cu.SLAB_USBtoUART erase_flash
Flash firmware: Replace with the actual port and firmware file path:
step-4.
esptool.py --chip esp32 --port /dev/cu.SLAB_USBtoUART write_flash -z 0x1000 your_firmware.bin
2. You can use Python tool download ESP32 firmware:
step-1:
Install esptool: Open Terminal and run:
pip install esptool
Connect ESP32: Connect your ESP32 via USB, then find the device port:
step-2.
ls /dev/cu.*
Erase flash (optional):
step-3.
esptool.py --port /dev/cu.SLAB_USBtoUART erase_flash
Flash firmware: Replace with the actual port and firmware file path:
step-4.
esptool.py --chip esp32 --port /dev/cu.SLAB_USBtoUART write_flash -z 0x1000 your_firmware.bin