arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.04k stars 4.78k forks source link

Upload flash code to SOnOff basic - Failed to open COM5 #2953

Closed fritserasmus closed 6 years ago

fritserasmus commented 6 years ago


**(Please, remember to close the issue when the problem has been addressed)**

The error message is: error: Failed to open COM5

I suppose it comes from line 66 of platformio.ini

I tried in Windows Device manager to find the COM port, but was not showing there

Any help or pointers would be appreciated

I even tried to run the "esptool usage"
on 
https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting
Jason2866 commented 6 years ago

You have to change in platformio.ini the setting to the correct COM Port. This means to the COM Port your Adapter uses. If you dont see here one in the Device Manager than your drivers for the adapter are not correct installed.

fritserasmus commented 6 years ago

:-( The USB Cable I used was causing the problem!!!!! Problem solved when using a good cable

jeffl78 commented 5 years ago

I'm having this issue with widows 8.2 on an Asus laptop. I bought a fresh cable to rule that out the other day but I get the same error. I'll look for the port settings and post an update ASAP.