Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-WROOM-32 Can't upload #480

Closed
bartdereu opened this issue Jul 2, 2024 · 3 comments
Closed

ESP32-WROOM-32 Can't upload #480

bartdereu opened this issue Jul 2, 2024 · 3 comments
Labels
investigating Looking into this issue / need more info

Comments

@bartdereu
Copy link

Hi all,

I've followed the guidelines to open a project in PlatformIO and the build was succesfull , but
i'm having issues with my ESP32-DEVKitC , i can't seem to find a solid way to upload to it.

In the Arduino enviroment, i could upload to it after i added a 10mF capacitor between EN and GND.
But in PlatformIO, it tries to connect to my comport without luck.

I've tried :

  • Pushing the bootloader button on upload and release it while it says 'Connecting'.
  • added the COM port in the platformio.ini file ( upload_port = COM4 in my case)
  • also tried .\COM4
  • tried the other buttons on the ESP32 in all different combinations.

i'm at the end of this and start to think the ESP is defect .could this be?

@bartdereu bartdereu added the investigating Looking into this issue / need more info label Jul 2, 2024
@Matthieu-Poulain
Copy link

Matthieu-Poulain commented Jul 3, 2024

Hi ,

Did you try pushing button 'reset', then 'boot' then release reset and after 'boot' in that exact sequence order?

Note that if you are using platformIO, you must not use the IDF shortcuts but platformIO ones;

A few months ago i started using it with plateform.io, but i decided to switch to a project using only esp IDF and visual studio code Espressif extension because it did not support the lattest IDF versions.

Everything works just fine, except that the example gave the following error:

VirtualTerminalClientInterface->set_object_pool(0, ObjectPool, (object_pool_end - object_pool_start) -1 , "V1.X.1");
but i had to switch it to
VirtualTerminalClientInterface->set_object_pool(0, ObjectPool, (object_pool_end - object_pool_start) , "V1.X.1");
as it cause and error when uploading my custom ObjectPool.

@bartdereu
Copy link
Author

Yes, i have tried that combination , same result :

Uploading .pio\build\esp32dev\firmware.bin
esptool.py v4.5.1
Serial port COM4
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

@Matthieu-Poulain
Copy link

Matthieu-Poulain commented Jul 4, 2024

Hmm... Did you ever try flashing it using a simple example from the IDF, without platformIO?
Also that may sound silly but make sure that it really is port COM4 that is used by your esp (Does it disappear when unplugged?)

@GwnDaan GwnDaan closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating Looking into this issue / need more info
Projects
None yet
Development

No branches or pull requests

3 participants