Failed uploading: uploading error: exit status 2

daxliniere
Posts: 7
Joined: Mon Nov 15, 2021 12:23 am

Failed uploading: uploading error: exit status 2

Postby daxliniere » Tue Jun 13, 2023 11:45 pm

Hey gang,
I have a Wemos D1 Mini ESP32 and I keep getting 'Failed uploading: uploading error: exit status 2'.
Using the Get Board Info function of Arduino IDE 2.1.0 works and returns serial numbers and when inserted in the prototype board, it runs as expected.

I understand certain pins needs to be held high/low on startup in order for programming to work. Is it possible to upload code that would pull one of those pins to the wrong state and therefore prevent it from being reprogrammed?

I found a Github Issue about IDE 2.0.3 which suggested: a) switching to and from Arduino Nano board type in the board selector and b) setting upload speed to 115200, but neither of these worked for me.

Any help would be greatly appreciated.

All the best,
Dax.

Who is online

Users browsing this forum: No registered users and 28 guests