-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Failed to execute script esptool the selected serial port Failed to execute script esptool does not exist or your board is not connected #1137
Comments
I tried that, nothing worked. |
I am guessing you are on Windows????
And last, some ESP32 boards need to be set manually into bootloader mode. On my board that would be pressing the RESET button and keep it hold, then press the USR button and keep it hold, then release the RESET button, then release the USR button. Might be different for your board. |
Thank you,,, Issue Solved |
Glad I could help. |
Also, if you working on a laptop, make sure it is on full performance and plugged in. |
Holding down the "Boot" button on my ESP-WROOM-32 while the Arduino IDE download the program worked. After the download I had to push the "EN" button to run the program. It did NOT start on it's own. |
Hey, anyone here? I have a similar issue but unlike this one, I can select my COM Port and the drivers are also up to date. However, what I am finding out of place is that in the COM Port list I am getting some 17 options for COM1 even though nothing else is connected to the laptop. Any ideas? |
you can get those COM port options in Device Manager |
push the "BOOT" button worked! Thx guys. |
Worked after changing my USB cable |
Hey anyone here? I get the error message saying that the selected serial port Failed to execute esptool does not exist or your board is not connected. I also installed the CP210x USB to UART Bridge VCP Drivers as well. Hope someone help me with this.. Thanks |
Did you select the proper serial port & speed? perhaps lower the speed to 115 or 230kbps |
Hey
When I go to device manager it does not show any port. Is that mean I have
to change the USB cable..?
…On Sat, May 1, 2021 at 11:07 PM AndrasSzep ***@***.***> wrote:
Did you select the proper serial port & speed? perhaps lower the speed to
115 or 230kbps
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT43O6FKC2EHKXQVBSENYHLTLQ37NANCNFSM4ERXRJUA>
.
|
IDE –> Tools -> Port -> you shall see here your device.
…------------------
On Sat, 1 May 2021 at 20:35, pasindu991218 ***@***.***> wrote:
Hey
When I go to device manager it does not show any port. Is that mean I have
to change the USB cable..?
On Sat, May 1, 2021 at 11:07 PM AndrasSzep ***@***.***> wrote:
> Did you select the proper serial port & speed? perhaps lower the speed to
> 115 or 230kbps
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#1137 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AT43O6FKC2EHKXQVBSENYHLTLQ37NANCNFSM4ERXRJUA
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AONEQRHA7OPLNK5WBK7GGKDTLRJX7ANCNFSM4ERXRJUA>
.
|
no i cant select it it is gray color
…On Sun, May 2, 2021 at 2:50 AM AndrasSzep ***@***.***> wrote:
IDE –> Tools -> Port -> you shall see here your device.
------------------
On Sat, 1 May 2021 at 20:35, pasindu991218 ***@***.***> wrote:
> Hey
>
> When I go to device manager it does not show any port. Is that mean I
have
> to change the USB cable..?
>
>
> On Sat, May 1, 2021 at 11:07 PM AndrasSzep ***@***.***> wrote:
>
> > Did you select the proper serial port & speed? perhaps lower the speed
to
> > 115 or 230kbps
> >
> > —
> > You are receiving this because you commented.
> > Reply to this email directly, view it on GitHub
> > <
>
#1137 (comment)
> >,
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AT43O6FKC2EHKXQVBSENYHLTLQ37NANCNFSM4ERXRJUA
> >
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#1137 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AONEQRHA7OPLNK5WBK7GGKDTLRJX7ANCNFSM4ERXRJUA
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT43O6GHLDNIFTP45NIV7Y3TLRWDFANCNFSM4ERXRJUA>
.
|
when I program it using the FTDI module I cannot select a port then I
programmed it from Arduino the I got the porn as COM5.
On Sun, May 2, 2021 at 2:16 PM Pasindu Neranajana <
***@***.***> wrote:
… no i cant select it it is gray color
On Sun, May 2, 2021 at 2:50 AM AndrasSzep ***@***.***>
wrote:
> IDE –> Tools -> Port -> you shall see here your device.
>
> ------------------
>
> On Sat, 1 May 2021 at 20:35, pasindu991218 ***@***.***> wrote:
>
> > Hey
> >
> > When I go to device manager it does not show any port. Is that mean I
> have
> > to change the USB cable..?
> >
> >
> > On Sat, May 1, 2021 at 11:07 PM AndrasSzep ***@***.***> wrote:
> >
> > > Did you select the proper serial port & speed? perhaps lower the
> speed to
> > > 115 or 230kbps
> > >
> > > —
> > > You are receiving this because you commented.
> > > Reply to this email directly, view it on GitHub
> > > <
> >
> #1137 (comment)
> > >,
> > > or unsubscribe
> > > <
> >
> https://github.com/notifications/unsubscribe-auth/AT43O6FKC2EHKXQVBSENYHLTLQ37NANCNFSM4ERXRJUA
> > >
> > > .
> > >
> >
> > —
> > You are receiving this because you commented.
> > Reply to this email directly, view it on GitHub
> > <
> #1137 (comment)
> >,
> > or unsubscribe
> > <
> https://github.com/notifications/unsubscribe-auth/AONEQRHA7OPLNK5WBK7GGKDTLRJX7ANCNFSM4ERXRJUA
> >
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#1137 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AT43O6GHLDNIFTP45NIV7Y3TLRWDFANCNFSM4ERXRJUA>
> .
>
|
hey guys i m so tired from this error every thing is connected but it show me errors |
How do I know which of the com ports to select,I have 4 options before me and I am having the same error as the original question |
Please what is the solution to this error |
sorry for the late reply ..i dont know buddy
…On Mon, Jun 21, 2021 at 10:44 PM Adaranijo-kenneth ***@***.***> wrote:
Please what is the solution to this error
esptool.py v2.6
Serial port COM3
Connecting...
Traceback (most recent call last):
File "esptool.py", line 2959, in
File "esptool.py", line 2952, in _main
File "esptool.py", line 2653, in main
File "esptool.py", line 460, in connect
File "esptool.py", line 440, in _connect_attempt
File "esptool.py", line 379, in sync
File "esptool.py", line 322, in command
File "esptool.py", line 285, in write
File "site-packages\serial\serialwin32.py", line 323, in write
serial.serialutil.SerialTimeoutException: Write timeout
Failed to execute script esptool
An error occurred while uploading the sketch
Please what is the solution to this error
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU35F5PDTXFGPONFSAGDHLTT526VANCNFSM4ERXRJUA>
.
|
Please help me with this, Arduino: 1.8.15 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None" Sketch uses 198834 bytes (15%) of program storage space. Maximum is 1310720 bytes. Global variables use 13248 bytes (4%) of dynamic memory, leaving 314432 bytes for local variables. Maximum is 327680 bytes. esptool.py v3.0-dev Serial port COM3 Connecting... Traceback (most recent call last): File "esptool.py", line 3682, in File "esptool.py", line 3675, in _main File "esptool.py", line 3330, in main File "esptool.py", line 512, in connect File "esptool.py", line 492, in _connect_attempt File "esptool.py", line 431, in sync File "esptool.py", line 369, in command File "esptool.py", line 332, in write File "site-packages\serial\serialwin32.py", line 323, in write serial.serialutil.SerialTimeoutException: Write timeout Failed to execute script esptool An error occurred while uploading the sketch This report would have more information with |
|
Thanks for the tip!
…On Mon, Jul 5, 2021 at 9:34 PM Me No Dev ***@***.***> wrote:
1. Make sure you have a good cable
2. Enter download mode manually by resetting the board while the boot
button is pressed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU35F7YZXCCWQXTXD6JSQLTWHNHXANCNFSM4ERXRJUA>
.
|
Hey guys. I was getting this error and my work around was changing the "Flash Mode" from "QIO" to "DIO". |
Hello, i have a ESP32-WROOM-32 and your Tip was the Solution for me. unplug the Device, hold Boot button and plug device, further hold boot button and Upload Firmware. |
One other solution I found today not mentioned above that might help others. Insufficient power from the computers (Microsoft Surface Pro 6 in my case) USB port caused exactly the same issue, even though when plugging in directly, the device was fully recognised in device manager and showing up as COM3 in my case. I knew the cable was good as I was able to flash firmware from a desktop machine. Resolved by using either an externally powered USB hub, or a Surface docking station which among other things is also an externally powered USB hub. Note I also did upgrade the driver using the My ESP32 board is an AITrip ESP32-WROOM32D. Arduino IDE settings are (reading the bottom right of the IDE) Hope that helps someone 😄 |
I'm having same issue and I've tried all the above steps except externally powering it, its showing up in COMPORT and everything but keeps giving me this error: - (it works on my friends pc but not on my laptop please help) File "esptool.py", line 4582, in |
see into manage device, look at the port com and select the port number you use, click on this, open the settings and configurate "port configuration" and change bits per seconds |
i try to change my port in device manager, and it's worked |
I was using the wrong port as well! It stayed on "Connecting..." while compiling before the timeout error. It worked once I switched to the correct port. |
Unplugging and plugging in the ESP32 worked for me, surprisingly |
Hardware:
Board: ?ESP32 Dev Module?
Core Installation/update date: ?11/jul/2017?
IDE name: ?Arduino IDE? ?Platform.io? ?IDF component?
Flash Frequency: ?40Mhz?
Upload Speed: ?115200?
Description:
Error when compiling a code to the microcontroller
this is the error message:
esptool.py v2.1
Traceback (most recent call last):
File "esptool.py", line 2524, in
File "esptool.py", line 2517, in main
File "esptool.py", line 2246, in main
File "esptool.py", line 177, in init
File "site-packages\serial_init.py", line 88, in serial_for_url
File "site-packages\serial\serialwin32.py", line 62, in open
serial.serialutil.SerialException: could not open port 'COM8': WindowsError(2, 'The system cannot find the file specified.')
Failed to execute script esptool
the selected serial port Failed to execute script esptool
does not exist or your board is not connected
Sketch:
#define led 2
void setup () {
pinMode(led, OUTPUT);
}
void loop () {
digitalWrite (led, HIGH);
delay(500);
digitalWrite(led, LOW);
delay(500);
}
Debug Messages:
The text was updated successfully, but these errors were encountered: