Grovkillen / ESP_Easy_Flasher

A wrapper for ESPTOOL.exe + PowerShell to make flashing/programming ESP Easy units more streamline
https://testoftimes.com/
GNU General Public License v3.0
71 stars 21 forks source link

COM port is already in use. Cannot proceed. #8

Closed Domosapiens closed 5 years ago

Domosapiens commented 6 years ago

On WIN7 this is the log:

DONE! (You may disconnect the unit if you want.) COM port is already in use. Cannot proceed. Adding settings using SERIAL commands. Flashing done (76.4s). Start flashing on COM18 (This might take a minute or two...)

Any idea how to deal with this?

Grovkillen commented 6 years ago

Sometimes you may need to do a manual reboot after the flash. Have you tried that?

Domosapiens commented 6 years ago

Will try at the next occasion. Thanks

Domosapiens commented 5 years ago

@Grovkillen Manual reboot does not solve it -- COM port is already in use. Cannot proceed Re-connect does not solve it -- COM port is already in use. Cannot proceed Re-connect and then: Program only -- COM port is already in use. Cannot proceed Re-connect and then: Open serial monitor -- COM port is already in use. Cannot proceed Please advice (for WIN7) 5 units are hungry for the latest release

Grovkillen commented 5 years ago

That is really weird! I can only reproduce this if I have the serial monitor active or if the app has crashed before and is still keeping the port open... have you looked through the processes?

Grovkillen commented 5 years ago

Is this still an issue?

Domosapiens commented 5 years ago

@Grovkillen There is 1 ESP.Easy.Flasher.exe process running Are there other processes I have to look for?

Flashing goes well, but post flash action fails. So there is initial a correct connection between the app and the ESP for flash.

If I restart the app and go directly to Program only: the COM port is already in use.

Disconnect, connect the USB, removes and creates USB-Serial CH340 (COM21). That one is recognized in the app. When I push "Program only" I see shortly a new process dllhost.exe 32 COM surrogate in addition to the dllhost.exe COM surrogate (without 32) that is running all the time, with and without the USB plugged.

Does one of above ring any bell for you?

Grovkillen commented 5 years ago

I will look into that. Could be some dependences not working correctly in your environment.

Den tors 1 nov. 2018 23:04 skrev Domosapiens notifications@github.com:

@Grovkillen https://github.com/Grovkillen There is 1 ESP.Easy.Flasher.exe process running Are there other processes I have to look for?

Flashing goes well, but post flash action fails. So there is initial a correct connection between the app and the ESP for flash.

If I restart the app and go directly to Program only: the COM port is already in use.

Disconnect, connect the USB, removes and creates USB-Serial CH340 (COM21). That one is recognized in the app. When I push "Program only" I see shortly a new process dllhost.exe 32 COM surrogate in addition to the dllhost.exe COM surrogate (without 32) that is running all the time, with and without the USB plugged.

Does one of above ring any bell for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Grovkillen/ESP_Easy_Flasher/issues/8#issuecomment-435203000, or mute the thread https://github.com/notifications/unsubscribe-auth/AZeBYivBd7u5GIE80lZIi5fTBHtrWVDgks5uq3AIgaJpZM4WqTXO .

Grovkillen commented 5 years ago

Please update to 0.04.003 and report back here if this still is an issue.

bennybubble commented 5 years ago

Using 0.04.007 and still an issue, using WIN10. Tried running as administrator also no difference, flashing goes well!

marsic-84 commented 5 years ago

same problem(((

sascha777 commented 5 years ago

Just ran into the same problem. Got it working since I opened up the Serial Monitor. After that it doesn't work anymore. Tried reboot without success. Any updates on this?

BagheeraHans commented 5 years ago

Same issue here, used several board and flash tools. On two different computers

zwinsch commented 5 years ago

Same issue - with Win7 and (0.04.007)

Fgagnebien commented 4 years ago

Ran into the same problem. Using 0.04.007 and WIN10. Tried running as administrator also no difference, flashing goes well! Still same issue, COM port is already in use. Cannot proceed.

bbfendt commented 4 years ago

Hello and thx for your great Software ! Same Problem for me here: "COM port is already in use. Cannot proceed" Occurs after flashing with "post flash action" checked but also when just using "program only" or even when trying to open the Serial Monitor. Only one instance running. OS: Win10 x64 Version of Software: 0.04.007 and older versions too

nygellyndley commented 3 years ago

I seem to be having the same issue. Even just a straight "program" after a flash and esp reboot "COM port is already in use. Cannot proceed." Tried as admin

Grovkillen commented 3 years ago

Yep I totally get the bug here, and I'm currently working on a better flasher tool which doesn't require you to download an exe and it will work on most types of host systems (may it be PC, tablet, phone or Chromebook).

// Jimmy Westberg 0706505709 ٩(- ̮̮̃-̃)۶

Den 2020-12-29 20:26:48 skrev Nygel Lyndley notifications@github.com: I seem to be having the same issue. Even just a straight "program" after a flash and esp reboot "COM port is already in use. Cannot proceed." Tried as admin — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub [https://github.com/Grovkillen/ESP_Easy_Flasher/issues/8#issuecomment-752214272], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AGLYCYTE4YABUAWRRJRZMXTSXIUPRANCNFSM4FVJGXHA].

Fr-Mike38 commented 3 years ago

Not a recent thread, but as it helped me today, I just share that all issues encountered when uploading firm on Sonoff where solved by :

With these two 'rules', upload runs correctly from begin to end.

If this can help somebody !