Hi, I've been running MyFP2 for the past 3 years without a problem, now upgrading to a Win 11 Mini PC and I get
"Com Port 5 is in an invalid state or parameter is wrong"
when I try and connect using the App. COM 5 shows in device manager ok as the Arduino.
Thanks,
Rob
Last edit: Rob Johnson 2024-04-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sounds like a windows issue. But let me make a few suggestions to try. It sounds like win11 install probably deleted of changed the previous driver associated with that port. I like to use the utility at this link to adjust, remove, reinstall device drivers - very handy for com ports
or
1. Disconnect the focuser, remove the Com port driver using device manager, reboot, reconnect controller
2. I do not know what type of arduino chip you have, if it is a nano CH340G then try to install the ch340g drivers
3. try remove of Arduino IDE followed by reboot then install arduino IDE
Hi, I've been running MyFP2 for the past 3 years without a problem, now upgrading to a Win 11 Mini PC and I get
"Com Port 5 is in an invalid state or parameter is wrong"
when I try and connect using the App. COM 5 shows in device manager ok as the Arduino.
Thanks,
Rob
Last edit: Rob Johnson 2024-04-27
Hi Rob
Sounds like a windows issue. But let me make a few suggestions to try. It sounds like win11 install probably deleted of changed the previous driver associated with that port. I like to use the utility at this link to adjust, remove, reinstall device drivers - very handy for com ports
USBDeview v3.02
Copyright (c) 2006 - 2021 Nir Sofer
Web Site: https://www.nirsoft.net
or
1. Disconnect the focuser, remove the Com port driver using device manager, reboot, reconnect controller
2. I do not know what type of arduino chip you have, if it is a nano CH340G then try to install the ch340g drivers
3. try remove of Arduino IDE followed by reboot then install arduino IDE
info attached
Regards
Robert
Thanks Robert, after trying everything over the past days I found the solution on this https://forum.arduino.cc/t/port-monitor-error-command-open-failed-invalid-serial-port-could-not-connect-to-com-serial-port/1127713/14
Which was to download and use an old driver:
https://cdn.sparkfun.com/assets/learn_tutorials/8/4/4/CH341SER.EXE
Now all working perfectly again!
Thought I'd post here in case anyone else encounters the same problem
Last edit: Rob Johnson 2024-05-01