ESP32 Serial Ports
Finding the board's serial port on macOS.
find serial ports on mac
shell
ls /dev/tty.*
ls /dev/cu.*find chip info by esptool
shell
esptool.py -p PORT flash_idReplace PORT with the name of used serial port.
micropython esp-c3
erase flash
shell
esptool.py --chip esp32c3 --port /dev/ttyUSB0 erase_flashwrite flash
esptool.py --chip esp32c3 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x0 esp32c3-20220117-v1.18.bindriver https://github.com/WCHSoftGroup/ch34xser_macos
https://www.waveshare.net/wiki/CH343_USB_UART_Board