Page 1 of 1

ESP32 serial flasher example

Posted: Tue May 16, 2023 8:37 am
by pepopi
Hello everyone,
I am running the ESP32 example but I get the this error. I have been able to run it until a few weeks ago. i have tried running it on other modules and computer as well. Does anyone know how to solve it?
My ESP-IDF version is 5.0
Thank you

Re: ESP32 serial flasher example

Posted: Wed May 17, 2023 7:54 am
by ESP_Sprite
You forgot to attach/add the error.

Re: ESP32 serial flasher example

Posted: Wed May 17, 2023 12:47 pm
by pepopi
Sorry sir, my error is Cannot connect to target. Error: 2
I have tried executing the code in different computers and esp-idf versions and I still get this error. I have also tried it with different ESP32 dev boards.

Thank you

Re: ESP32 serial flasher example

Posted: Thu May 18, 2023 9:29 am
by ESP_Sprite
Please give a bunch of context as well. When do you get the error, what are you trying to do, what are the log lines leading up to the error, what hardware are you using?

Re: ESP32 serial flasher example

Posted: Thu May 18, 2023 9:49 am
by pepopi
The only thing I hadn't tried was trying other cables. I have already found the problem.
Thank you very much for answering sir

Re: ESP32 serial flasher example

Posted: Fri May 26, 2023 9:32 am
by pepopi
Sorry sir for bothering you again, but I have a problem. I have uploaded to the binaries folder the binaries of a project that blinks a LED to check if the flashing works correctly. But after flashing the files and disconnecting the uart0, gpio0 and enable pins, and reseting the slave slave esp32. The LED does not blink.
What should I do to execute the flashed firmware in the slave ESP32?

Thank you