-
-
Notifications
You must be signed in to change notification settings - Fork 150
Real and virtual COM ports are not listed #156
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
Comments
Hi @zmechanic . |
Hi @facchinm . What I have done is that I added a fake entry into the list (e.g. COM8). This fake COM8 port successfully turned up in Arduino Web IDE. The IDE allows me to assign a board (Arduino Nano) and MCU (ATmega328) to it. Then I'm able to click Upload button in Web IDE. At that moment it compiles code in the cloud, and prints stats about used memory space in the console output on the web page. Unfortunately, nothing happens after that. It just stuck in this state with button displaying BUSY. From my understanding of arduino-create-agent code, Web IDE must do POST to /upload page self-hosted by arduino-create-agent. This doesn't happen for some reason. I confirmed it with Fiddler and with Chrome network activity view. I wonder what happens there, and why it decides not to call /upload. |
Mmmmh, can you post the verbose output (you can enable it from the preferences) and the relevant debug output (right click on the tray icon, "open debug console")? Thanks! |
It looks like it was my fault (sort of) in the end. While faking a port I didn't assign correct VID and PID, considering that only USB CDC ports are allowed, which should always report it back. So, I grabbed VID and PID from real board and assigned them to my fake port. Everything works without a hitch now. I think there is something inside, which does cross reference between VID and PID reported by hardware and upload process. So when those values are absolute nonsense the upload process doesn't start, even if target board was selected from dropdown in the web UI. Not sure if this need to be closed now, as this indicates some sort of bug, I guess. |
The problem probably lies in the backend, since the |
Hey @zmechanic do you still have this need? If you can describe a compelling use case we can put a task in the backlog. Let us know! |
This issue has been marked as stale because it has been open 14 days with no activity. Remove stale label or comment, otherwise it will be closed in 7 days |
This issue has been closed becasue has been stale for 7 days. If you think this issue deserves some attention feel free to reopen it |
It seems that there is a restriction in seriallist.go to list only USB CDC ports. All other non-USB ports are ignored. I removed this restriction in my local repo, and got ports displayed in Arduino Web IDE, but upload is not working for them. After build web front-end is stuck and upload button forever displays BUSY.
The text was updated successfully, but these errors were encountered: