这是串口打印
B?ESP-ROM:esp32s2-rc4-20191025
Bui?ESP-ROM:esp32s2-rc4-20191025
?ESP-ROM:esp32s2-rc4-20191025
B?ESP-ROM:esp32s2-rc4-20191025
Bui?ESP-ROM:esp32s2-rc4-20191025
?ESP-ROM:esp32s2-rc4-20191025
BuESP-ROM:esp32s2-rc4-20191025
?ESP-ROM:esp32s2-rc4-20191025
BESP-ROM:esp32s2-rc4-20191025
?ESP-ROM:esp32s2-rc4-20191025
?ESP-ROM:esp32s2-rc4-20191025
BuiESP-ROM:esp32s2-rc4-20191025
Bui?ESP-ROM:esp32s2-rc4-20191025
Buil?ESP-ROM:esp32s2-rc4-20191025
BuESP-ROM:esp32s2-rc4-20191025
?ESP-ROM:esp32s2-rc4-20191025
Bu?ESP-ROM:esp32s2-rc4-20191025
BuiESP-ROM:esp32s2-rc4-20191025
Bu?ESP-ROM:esp32s2-rc4-20191025
Bu?ESP-ROM:esp32s2-rc4-20191025
Bui?ESP-ROM:esp32s2-rc4-20191025
BuESP-ROM:esp32s2-rc4-20191025
BESP-ROM:esp32s2-rc4-20191025
B?ESP-ROM:esp32s2-rc4-20191025
Bu?ESP-ROM:esp32s2-rc4-20191025
Bu?ESP-ROM:esp32s2-rc4-20191025
下载的时候
[2/3] cmd.exe /C "cd /D C:\Users\Administrator\Desktop\esp...sktop/esp-idf/components/esptool_py/run_serial_tool.cmake"
esptool.py esp32s2 -p com6 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 dsr.bin 0x8000 partition_table/partition-table.bin
esptool.py v3.1-dev
Serial port com6
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32-S2: Invalid head of packet (0x45)
CMake Error at run_serial_tool.cmake:50 (message):
C:/Users/Administrator/.espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe
C:/Users/Administrator/Desktop/esp-idf/components/esptool_py/esptool/esptool.py
--chip esp32s2 failed
FAILED: CMakeFiles/flash
cmd.exe /C "cd /D C:\Users\Administrator\Desktop\esp-idf\components\esptool_py && C:\Users\Administrator\.espressif\tools\cmake\3.16.4\bin\cmake.exe -D IDF_PATH="C:/Users/Administrator/Desktop/esp-idf" -D SERIAL_TOOL="C:/Users/Administrator/.espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe C:/Users/Administrator/Desktop/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32s2" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="C:/Users/Administrator/Desktop/esp-idf/project/build" -P C:/Users/Administrator/Desktop/esp-idf/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
新买的ESP32-S2-SOLO-U的模块烧录问题
Re: 新买的ESP32-S2-SOLO-U的模块烧录问题
您好,这边请问您使用的是什么 IDF 的版本
Re: 新买的ESP32-S2-SOLO-U的模块烧录问题
我现在使用的4.4,但是我都还没烧录进去过一次
Re: 新买的ESP32-S2-SOLO-U的模块烧录问题
你好,这边你可以先按以下步骤检查下烧录环境,看上去你这边都还没有进入下载模式:https://blog.csdn.net/Marchtwentytwo/ar ... /119043384
Re: 新买的ESP32-S2-SOLO-U的模块烧录问题
我使用的是安信可esp-12k的板子,能把micropy固件烧录上去,但是烧录以后,没法正常访问到板子。
Code: Select all
➜ esp32 git:(7c54b6428) ✗ [b]/Users/Eddie/.espressif/python_env/idf4.3_py3.9_env/bin/python ../../../../../../esp/esp-idf/components/esptool_py/esptool/esptool.py -p /dev/cu.wchusbserial1420 -b 460800 --before default_reset --after hard_reset --chip esp32s2 write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x1000 build-GENERIC_S2/bootloader/bootloader.bin 0x8000 build-GENERIC_S2/partition_table/partition-table.bin 0x10000 build-GENERIC_S2/micropython.bin[/b]
esptool.py v3.1-dev
Serial port /dev/cu.wchusbserial1420
Connecting....
Chip is ESP32-S2
Features: WiFi, ADC and temperature sensor calibration in BLK2 of efuse
Crystal is 40MHz
MAC: 84:f7:03:7a:e1:58
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00125fff...
Compressed 17872 bytes to 11132...
Wrote 17872 bytes (11132 compressed) at 0x00001000 in 0.6 seconds (effective 229.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 117...
Wrote 3072 bytes (117 compressed) at 0x00008000 in 0.1 seconds (effective 246.2 kbit/s)...
Hash of data verified.
Compressed 1137952 bytes to 760632...
Wrote 1137952 bytes (760632 compressed) at 0x00010000 in 18.7 seconds (effective 487.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
➜ esp32 git:(7c54b6428) ✗ esptool.py --chip esp32s2 -p /dev/cu.wchusbserial1420 flash_id
esptool.py v3.1-dev
Serial port /dev/cu.wchusbserial1420
Connecting........_
Chip is ESP32-S2
Features: WiFi, ADC and temperature sensor calibration in BLK2 of efuse
Crystal is 40MHz
MAC: 84:f7:03:7a:e1:58
Uploading stub...
Running stub...
Stub running...
Manufacturer: 5e
Device: 4016
Detected flash size: 4MB
Hard resetting via RTS pin...
➜ esp32 git:(7c54b6428) ✗ rshell --buffer-size=30 -p /dev/cu.wchusbserial1420 ls
Using buffer-size of 30
Connecting to /dev/cu.wchusbserial1420 (buffer-size 30)...
Trying to connect to REPL <--------------(然后就卡在这里了...)
Who is online
Users browsing this forum: No registered users and 45 guests