ESP32 Pico D4 trouble flashing
Posted: Mon Oct 17, 2022 11:42 pm
Hello All,
I have an ESP32 Pico d4 Kit I flash my .bin file through ESP IDE on it, and it works. Once confirmed, I used the same circuit which was on the eval board(Pico Kit) on my custom PCB but now we cannot flash the ESP32.
To mitigate the issue, we try to isolate both IC ESP32 and UART to USB converter(CP2102N).
The Eval board (Pico Kit) is getting flashed so I took out R15 and R16 to isolate CP2102N and connected RXD0 and TXD0 to RX and TX of the eval board of CP2102N (https://www.digikey.com/en/products/det ... 5/15913267). RXD0 goes to TX and TXD0 goes to RX of eval board 5335. the board is not able to flash I made the ESP32 en pin 1 and IO0 low forcefully still we are seeing an error no serial port. The eval board(Pico kit) is already flashed and when we reset the IC using an EN switch it sends data on the serial port as well but when trying to flash it cannot flash.
A fatal error occurred: Failed to connect to ESP32: No serial data was received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
CMake Error at run_serial_tool.cmake:56 (message):
python
D:/Software/Espressif/frameworks/esp-idf-v4.4.2/components/esptool_py/esptool/esptool.py
--chip esp32 failed
FAILED: CMakeFiles/flash D:/Software/Espressif/frameworks/esp-idf-v4.4.2/workspace/aws_/aws_working/aws/build/CMakeFiles/flash
cmd.exe /C "cd /D D:\Software\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py && D:\Software\Espressif\tools\cmake\3.23.1\bin\cmake.exe -D IDF_PATH="D:/Software/Espressif/frameworks/esp-idf-v4.4.2" -D SERIAL_TOOL="python D:/Software/Espressif/frameworks/esp-idf-v4.4.2/components/esptool_py/esptool/esptool.py --chip esp32" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="D:/Software/Espressif/frameworks/esp-idf-v4.4.2/workspace/aws_/aws_working/aws/build" -P D:/Software/Espressif/frameworks/esp-idf-v4.4.2/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
I have an ESP32 Pico d4 Kit I flash my .bin file through ESP IDE on it, and it works. Once confirmed, I used the same circuit which was on the eval board(Pico Kit) on my custom PCB but now we cannot flash the ESP32.
To mitigate the issue, we try to isolate both IC ESP32 and UART to USB converter(CP2102N).
The Eval board (Pico Kit) is getting flashed so I took out R15 and R16 to isolate CP2102N and connected RXD0 and TXD0 to RX and TX of the eval board of CP2102N (https://www.digikey.com/en/products/det ... 5/15913267). RXD0 goes to TX and TXD0 goes to RX of eval board 5335. the board is not able to flash I made the ESP32 en pin 1 and IO0 low forcefully still we are seeing an error no serial port. The eval board(Pico kit) is already flashed and when we reset the IC using an EN switch it sends data on the serial port as well but when trying to flash it cannot flash.
A fatal error occurred: Failed to connect to ESP32: No serial data was received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
CMake Error at run_serial_tool.cmake:56 (message):
python
D:/Software/Espressif/frameworks/esp-idf-v4.4.2/components/esptool_py/esptool/esptool.py
--chip esp32 failed
FAILED: CMakeFiles/flash D:/Software/Espressif/frameworks/esp-idf-v4.4.2/workspace/aws_/aws_working/aws/build/CMakeFiles/flash
cmd.exe /C "cd /D D:\Software\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py && D:\Software\Espressif\tools\cmake\3.23.1\bin\cmake.exe -D IDF_PATH="D:/Software/Espressif/frameworks/esp-idf-v4.4.2" -D SERIAL_TOOL="python D:/Software/Espressif/frameworks/esp-idf-v4.4.2/components/esptool_py/esptool/esptool.py --chip esp32" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="D:/Software/Espressif/frameworks/esp-idf-v4.4.2/workspace/aws_/aws_working/aws/build" -P D:/Software/Espressif/frameworks/esp-idf-v4.4.2/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1