使用的是esp32S3,IDF v4.3,环境windows 10
前面的构建都可以成功,但是一进入烧写就会报错:
A fatal error occurred: This chip is ESP32-S3(beta3) not ESP32-S3(beta2). Wrong --chip argument?
请问原因是什么呢?我进入 menuconfig 界面,SDK只有ESP32-S3(beta2) 没有ESP32-S3(beta3) 版本,是因为现在还不支持ESP32-S3(beta3) 吗?
[已解决]esp32S3无法烧写
[已解决]esp32S3无法烧写
Last edited by heipppppp on Thu Nov 04, 2021 6:03 am, edited 1 time in total.
-
- Posts: 786
- Joined: Wed Nov 14, 2018 8:45 am
Re: esp32S3无法烧写
用 master 试一下,4.3 对 S3 支持不完整,对 S3 的完整支持将在 4.4 上。
Re: esp32S3无法烧写
现在我换成ubuntu18.04 ,idf也换成了4.4,但是我进入menuconfig仍然只有esp32s3(beta2)这一个选项,尝试esp32s3beta2进行烧写,出现以下问题:
- my001@my001-VirtualBox:~/esp/esp-idf-esp32s3-gitee/esp-idf/examples/get-started/hello_world$ idf.py -p /dev/ttyUSB0 flash
- Executing action: flash
- Running ninja in directory /home/my001/esp/esp-idf-esp32s3-gitee/esp-idf/examples/get-started/hello_world/build
- Executing "ninja flash"...
- [1/4] Performing build step for 'bootloader'
- ninja: no work to do.
- [1/2] cd /home/my001/esp/esp-idf-esp32s...onents/esptool_py/run_serial_tool.cmake
- esptool.py esp32s3beta2 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x0 bootloader/bootloader.bin 0x10000 hello-world.bin
- esptool.py v3.1-dev
- Serial port /dev/ttyUSB0
- Connecting........_____.
- WARNING: This chip doesn't appear to be a ESP32-S3(beta2) (chip magic value 0x00000009). Probably it is unsupported by this version of esptool.
- Chip is ESP32-S3(beta2)
- Features: WiFi, BLE
- Crystal is 40MHz
- MAC: 00:00:00:00:00:00
- Uploading stub...
- Running stub...
- A fatal error occurred: Invalid head of packet (0x47)
- CMake Error at run_serial_tool.cmake:50 (message):
- /home/my001/.espressif/python_env/idf4.4_py3.8_env/bin/python
- /home/my001/esp/esp-idf-esp32s3-gitee/esp-idf/components/esptool_py/esptool/esptool.py
- --chip esp32s3beta2 failed
- FAILED: CMakeFiles/flash
- cd /home/my001/esp/esp-idf-esp32s3-gitee/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH="/home/my001/esp/esp-idf-esp32s3-gitee/esp-idf" -D SERIAL_TOOL="/home/my001/.espressif/python_env/idf4.4_py3.8_env/bin/python /home/my001/esp/esp-idf-esp32s3-gitee/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32s3beta2" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="/home/my001/esp/esp-idf-esp32s3-gitee/esp-idf/examples/get-started/hello_world/build" -P /home/my001/esp/esp-idf-esp32s3-gitee/esp-idf/components/esptool_py/run_serial_tool.cmake
- ninja: build stopped: subcommand failed.
- ninja failed with exit code 1
Re: esp32S3无法烧写
更换 IDF 版本后需要重新执行下 . /install.sh 这一步骤。
Re: esp32S3无法烧写
谢谢,通过切换master分支后执行 ./install.sh 成功。
Who is online
Users browsing this forum: No registered users and 52 guests