Since I installed Arduino IDE and ESP32 packet on my PC, I can no longer flash with VS Code or ESP-IDF. Build works, but the connection to the ESP32 only works sporadically.
Everything worked perfectly before without Arduino IDE. I only installed the Arduino IDE to have a look, but now it seems to have broken everything.
Can someone tell me where the problem could be here? I uninstalled Arduino again, but the problem still exists.
Can it be that there is some connection between Arduino IDE and VS-Code or something?
esptool.py v2.9-dev
Serial port COM3
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x54)
Der Terminalprozess "C:\Espressif\python_env\idf4.1_py3.8_env\Scripts\python.exe 'C:\Espressif\frameworks\esp-idf-v4.1.2\components\esptool_py\esptool\esptool.py', '-p', 'COM3', '-b', '460800', '--before', 'default_reset', '--after', 'hard_reset', '--chip', 'esp32', 'write_flash', '--flash_mode', 'dio', '--flash_freq', '40m', '--flash_size', 'detect', '0x10000', 'blink.bin', '0x1000', 'bootloader/bootloader.bin', '0x8000', 'partition_table/partition-table.bin'" wurde mit folgendem Exitcode beendet: 2.
---------
Sometimes flashing works after a new build. But it takes longer than before.
esptool.py v2.9-dev
Serial port COM3
Connecting........_____....._____....._____....._____.
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:c9:a3:cf:bc:18
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 151200 bytes to 79292...
Wrote 151200 bytes (79292 compressed) at 0x00010000 in 1.9 seconds (effective 641.2 kbit/s)...
Hash of data verified.
Flash params set to 0x0220
Compressed 24128 bytes to 14912...
Wrote 24128 bytes (14912 compressed) at 0x00001000 in 0.3 seconds (effective 562.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 1575.9 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Failed to connect to ESP32
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- 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 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- 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: Majestic-12 [Bot] and 146 guests
- 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.