V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
WMutong
V2EX  ›  问与答

esp32-s3-wroom-1 初次尝试烧录与运行 Python

  •  
  •   WMutong · 129 天前 · 831 次点击
    这是一个创建于 129 天前的主题,其中的信息可能已经有所发展或是发生改变。

    大佬们,做为硬件萌新有个问题请教。

    设备:

    • 原版 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.
    
    
    1 条回复    2025-05-06 17:25:18 +08:00
    niboy
        1
    niboy  
       129 天前
    我也不懂啊,看最后一条:make sure the device is not in bootloader mode.
    是不是板子需要特别的跳线才能进入这个 bootloader mode ?你哪里搞来的板子就问谁啊,淘宝买的就问客服
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3561 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 10:21 · PVG 18:21 · LAX 03:21 · JFK 06:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.