- > Executing task: C:\Users\jacob\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe C:\Users\jacob\esp\esp-idf\components\esptool_py\esptool\esptool.py -p COM21 -b 115200 --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 <
- esptool.py v3.1-dev
- Serial port COM21
- Connecting........_____....._____....._____....._____....._____....._____....._____
- A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x63)
- The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command C:\Users\jacob\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe C:\Users\jacob\esp\esp-idf\components\esptool_py\esptool\esptool.py -p COM21 -b 115200 --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" terminated with exit code: 1.
- Terminal will be reused by tasks, press any key to close it.
I'm trying to set up the ESP-Prog with my esp32, but it fails to even flash. It's configured to flash on COM21 using the FTDIBUS (v2.12.36.2) driver via UART. I'm using the vscode extension to configure it.
I've connected ESP_EN to the EN pin, ESP_TXD to TX, ESP_RXD to RX, VDD to 3V3, GND to GND, and ESP_IO0 to 0 which corresponds to GPIO0 as far as I know.
Yet, when I try to flash I get Failed to connect to ESP32: Invalid head of packet.
Here are some photos of my connections:
https://photos.google.com/share/AF1QipM ... oxNE1CQVFn
What am I doing wrong?