大佬们,做为硬件萌新有个问题请教。
设备:
- 原版 esp32-s3-wroom-1 开发板
- macbook 笔记本。
情况:
-
使用 usb 连接 esp32 开发板,通过命令
ls /dev/cu.*查看到开发板串口/dev/cu.usbmodem101。 -
然后命令:
esptool.py --port /dev/cu.usbmodem101 erase_flash清除 flash 程序, -
再使用命令:
esptool.py --port /dev/cu.usbmodem101 --baud 460800 write_flash 0 ESP32_GENERIC_S3-20250415-v1.25.0.bin烧录固件,ESP32_GENERIC_S3-20250415-v1.25.0.bin是在micropython网站下载的相应固件 -
烧录时的打印:
(/conda) xx@xx-Pro ESP32 % esptool.py --port /dev/cu.usbmodem101 --baud 460800 write_flash 0 ESP32_GENERIC_S3-20250415-v1.25.0.bin esptool.py v4.8.1 Serial port /dev/cu.usbmodem101 Connecting... Detecting chip type... ESP32-S3 Chip is ESP32-S3 (QFN56) (revision v0.2) Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3) Crystal is 40MHz MAC: 30:ed:a0:1d:8a:14 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Flash will be erased from 0x00000000 to 0x00198fff... Compressed 1673008 bytes to 1096502... Wrote 1673008 bytes (1096502 compressed) at 0x00000000 in 8.9 seconds (effective 1508.9 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... (/conda) xx@xx-Pro ESP32 % -
然后通过
Thonny连接开发板,但是Thonny的 Shell 日志显示:
Device is busy or does not respond. Your options:
- wait until it completes current work;
- use Ctrl+C to interrupt current work;
- reset the device and try again;
- check connection properties;
- make sure the device has suitable MicroPython / CircuitPython / firmware;
- make sure the device is not in bootloader mode.