ESP32 38Pins problems

I purchased a ESP32 38 PIN from Ali…
but i can’t flash… with all the other ESP32 30Pin i have no problems. with this one it always gives me the same error at the end that you can read at the end:

WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.

Configuring flash size...

WARNING: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB

ERROR Running command failed: '>' not supported between instances of 'int' and 'NoneType'

ERROR Please try running esptool.py --before default_reset --after hard_reset --baud 460800 --port /dev/ttyUSB0 --chip esp32 write_flash -z --flash_size detect 0x10000 /data/build/esp32-03-testlight/.pioenvs/esp32-03-testlight/firmware.bin 0x1000 /data/build/esp32-03-testlight/.pioenvs/esp32-03-testlight/bootloader.bin 0x8000 /data/build/esp32-03-testlight/.pioenvs/esp32-03-testlight/partitions.bin 0xe000 /data/cache/platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin locally.

INFO Upload with baud rate 460800 failed. Trying again with baud rate 115200.

esptool.py v4.8.1

Serial port /dev/ttyUSB0

ERROR Running command failed: Could not open /dev/ttyUSB0, the port is busy or doesn't exist.

([Errno 11] Could not exclusively lock port /dev/ttyUSB0: [Errno 11] Resource temporarily unavailable)

ERROR Please try running esptool.py --before default_reset --after hard_reset --baud 115200 --port /dev/ttyUSB0 --chip esp32 write_flash -z --flash_size detect 0x10000 /data/build/esp32-03-testlight/.pioenvs/esp32-03-testlight/firmware.bin 0x1000 /data/build/esp32-03-testlight/.pioenvs/esp32-03-testlight/bootloader.bin 0x8000 /data/build/esp32-03-testlight/.pioenvs/esp32-03-testlight/partitions.bin 0xe000 /data/cache/platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin locally.

Is it possible that it is damaged?

Make sure you have CP2102 drivers installed.

How I can check driver installed?

Thanks

In some of those you have to press one of the buttons in order to enter flash mode.

https://forum.allaboutcircuits.com/threads/esp32-dev-board-flashing-only-when-pressed-boot-button.171883/

I have some of those. You only need to do it the 1st time.

Windows will tell you if the driver isnt present.

1 Like

you were right… i was about to throw it in the trash. you saved the life of an ESP32