ESP32 serial flasher example

pepopi
Posts: 32
Joined: Mon Apr 11, 2022 9:45 am

ESP32 serial flasher example

Postby pepopi » Tue May 16, 2023 8:37 am

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

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 serial flasher example

Postby ESP_Sprite » Wed May 17, 2023 7:54 am

You forgot to attach/add the error.

pepopi
Posts: 32
Joined: Mon Apr 11, 2022 9:45 am

Re: ESP32 serial flasher example

Postby pepopi » Wed May 17, 2023 12:47 pm

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

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 serial flasher example

Postby ESP_Sprite » Thu May 18, 2023 9:29 am

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?

pepopi
Posts: 32
Joined: Mon Apr 11, 2022 9:45 am

Re: ESP32 serial flasher example

Postby pepopi » Thu May 18, 2023 9:49 am

The only thing I hadn't tried was trying other cables. I have already found the problem.
Thank you very much for answering sir

pepopi
Posts: 32
Joined: Mon Apr 11, 2022 9:45 am

Re: ESP32 serial flasher example

Postby pepopi » Fri May 26, 2023 9:32 am

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

Who is online

Users browsing this forum: No registered users and 64 guests