我购买了ESP Thread Border Router/Zigbee Gateway板子是一块(H2+S3)的板子,
我按照网址(https://docs.espressif.com/projects/esp ... d_run.html)中的说明进行操作:
1.git clone --recursive https://github.com/espressif/esp-idf.git
2.cd esp-idf
3.git checkout e6aeb3d36d2fcaf578e4e53308191a8e262dc822
4.git submodule update --init --depth 1
5../install.sh
6.. ./export.sh
7.cd ..
8.git clone --recursive https://github.com/espressif/esp-thread-br.git
9.cd esp-idf/examples/openthread/ot_rcp
10.idf.py set-target esp32h2
11.idf.py build
12.cd esp-thread-br/examples/basic_thread_border_router
13.idf.py set-target esp32s3
14.chmod 777 /dev/ttyACM0
15.idf.py flash -p /dev/ttyACM0 monitor
出现了以下的错误,经常都是烧录到百分之40左右就出现了错误
chuck@chuck-rui:~/esp/threadBorderRouterZigbeeGateway/esp-thread-br/examples/basic_thread_border_router$ idf.py flash monitor
Executing action: flash
Serial port /dev/ttyACM0
Connecting...
Detecting chip type... ESP32-S3
Running ninja in directory /home/chuck/esp/threadBorderRouterZigbeeGateway/esp-thread-br/examples/basic_thread_border_router/build
Executing "ninja flash"...
[2/8] cd /home/chuck/esp/threadBorderRouterZigbeeGateway/esp-thread-br/...y/esp-thread-br/examples/basic_thread_border_router/build/esp_ot_br.bin
esp_ot_br.bin binary size 0x155ca0 bytes. Smallest app partition is 0x190000 bytes. 0x3a360 bytes (15%) free.
[1/1] cd /home/chuck/esp/threadBorderRouterZigbeeGateway/esp-thread-br/...-br/examples/basic_thread_border_router/build/bootloader/bootloader.bin
Bootloader binary size 0x51d0 bytes. 0x2e30 bytes (36%) free.
[5/6] cd /home/chuck/esp/threadBorderRouterZigbeeGateway/esp-idf/compon...RouterZigbeeGateway/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool.py --chip esp32s3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x0 bootloader/bootloader.bin 0x20000 esp_ot_br.bin 0x8000 partition_table/partition-table.bin 0xf000 ota_data_initial.bin 0x359000 rcp_fw.bin 0x340000 web_storage.bin
esptool.py v4.9.dev5
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 2MB (AP_3v3)
Crystal is 40MHz
USB mode: USB-Serial/JTAG
MAC: 28:37:2f:12:61:a0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00020000 to 0x00175fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000f000 to 0x00010fff...
Flash will be erased from 0x00359000 to 0x003f8fff...
Flash will be erased from 0x00340000 to 0x00358fff...
SHA digest in image updated
Compressed 20944 bytes to 13335...
Writing at 0x00000000... (100 %)
Wrote 20944 bytes (13335 compressed) at 0x00000000 in 0.3 seconds (effective 566.7 kbit/s)...
Hash of data verified.
Compressed 1399968 bytes to 937414...
Writing at 0x0008ac20... (25 %)
Traceback (most recent call last):
File "/home/chuck/.espressif/python_env/idf5.5_py3.9_env/lib/python3.9/site-packages/esptool/__init__.py", line 1349, in _main
main()
File "/home/chuck/.espressif/python_env/idf5.5_py3.9_env/lib/python3.9/site-packages/esptool/__init__.py", line 1057, in main
operation_func(esp, args)
File "/home/chuck/.espressif/python_env/idf5.5_py3.9_env/lib/python3.9/site-packages/esptool/cmds.py", line 653, in write_flash
esp.flash_defl_block(block, seq, timeout=timeout)
File "/home/chuck/.espressif/python_env/idf5.5_py3.9_env/lib/python3.9/site-packages/esptool/loader.py", line 127, in inner
return func(*args, **kwargs)
File "/home/chuck/.espressif/python_env/idf5.5_py3.9_env/lib/python3.9/site-packages/esptool/loader.py", line 1186, in flash_defl_block
self.check_command(
File "/home/chuck/.espressif/python_env/idf5.5_py3.9_env/lib/python3.9/site-packages/esptool/loader.py", line 506, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "/home/chuck/.espressif/python_env/idf5.5_py3.9_env/lib/python3.9/site-packages/esptool/loader.py", line 475, in command
p = self.read()
File "/home/chuck/.espressif/python_env/idf5.5_py3.9_env/lib/python3.9/site-packages/esptool/loader.py", line 408, in read
return next(self._slip_reader)
StopIteration
A fatal error occurred: The chip stopped responding.
CMake Error at run_serial_tool.cmake:67 (message):
/home/chuck/.espressif/python_env/idf5.5_py3.9_env/bin/python;;/home/chuck/esp/threadBorderRouterZigbeeGateway/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed.
FAILED: CMakeFiles/flash
cd /home/chuck/esp/threadBorderRouterZigbeeGateway/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/home/chuck/esp/threadBorderRouterZigbeeGateway/esp-idf -D "SERIAL_TOOL=/home/chuck/.espressif/python_env/idf5.5_py3.9_env/bin/python;;/home/chuck/esp/threadBorderRouterZigbeeGateway/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/home/chuck/esp/threadBorderRouterZigbeeGateway/esp-thread-br/examples/basic_thread_border_router/build -P /home/chuck/esp/threadBorderRouterZigbeeGateway/esp-idf/components/esptool_py/run_serial_tool.cmake
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/chuck/esp/threadBorderRouterZigbeeGateway/esp-thread-br/examples/basic_thread_border_router/build/log/idf_py_stderr_output_2191614 and /home/chuck/esp/threadBorderRouterZigbeeGateway/esp-thread-br/examples/basic_thread_border_router/build/log/idf_py_stdout_output_2191614
chuck@chuck-rui:~/esp/threadBorderRouterZigbeeGateway/esp-thread-br/examples/basic_thread_border_router$ esptool.py -p /dev/ttyACM0 chip_id
esptool.py v4.9.dev5
Serial port /dev/ttyACM0
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 2MB (AP_3v3)
Crystal is 40MHz
USB mode: USB-Serial/JTAG
MAC: 28:37:2f:12:61:a0
Uploading stub...
Running stub...
Stub running...
Warning: ESP32-S3 has no Chip ID. Reading MAC instead.
MAC: 28:37:2f:12:61:a0
Hard resetting via RTS pin...
ESP Thread Border Router/Zigbee Gateway 板子烧录失败
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 1 guest
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!