i'm pretty new to ESP32, and i'm running into a problem i cannot seem to solve
When i plug in the USB into the module, it gets detected on COM11 as 'ESP32 Family' . In this state i cannot upload to it (not in DFU mode) . I have to hit the RST button twice, until the RGB ligt flashes, then i have to disconnect the USB cable and connect it again. Then the COM port changes to 12 and the device is named Arduino Nano ESP32 . I can upload to it, but after upload it changes back to COM11 , on which my serial monitor does not show anything. I have to do the same procedure to put it back to COM12 , and only then my sketch runs. Only then i'm able to connect to my WiFi and the sketch does what it needs to do. (send RTCM data over softwareserial)
This way i can never run any sketch after booting the device with and external power source.
I am doing something wrong? I can't seem to find what .
Are you sure you need a board that is either a NANO or ESP32? It is a tricky board to manage. If you only need a normal esp32 or normal nano, switching to one of them will make your life easier.
Hi @bartdereu. This is the behavior we expect when you have Arduino IDE configured to use the Nano ESP32 board in "Debug Mode".
If so, you can restore the board to normal mode by following these instructions:
Select Tools > USB Mode > Normal Mode (TinyUSB) from the Arduino IDE menus
Press and release the button on the board marked "RST".
Wait for the RGB LED near the "RST" button to turn on. ⓘ It does this almost immediately, but you do need to wait for it.
While the RGB LED is still on (it only stays on for a second so you need to be somewhat quick), press and release the "RST" button once again.
The green LED of the RGB LED should now start pulsing. If not, repeat the process in case you didn't get the timing quite right.
Select Sketch > Upload from the Arduino IDE menus.
Wait for the upload to finish successfully.
After that, you should find that the board's behavior is as you expect and you should no longer need to do the double reset.
This does not work at all . I had found this information on the internet too, does not work. When the RGB is flashing, the board isn't showing up on any com port at all.
I had bought a Espressif ESP32 Dev module a few weeks ago and found out that it too had allot of problems to upload anything to it.
Is there anyone who can point me to a ESP32 module that is somewhat solid in usage ?