Skip to content

Cannot manually access port number #540

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

Closed
gfmoore opened this issue Oct 9, 2021 · 7 comments
Closed

Cannot manually access port number #540

gfmoore opened this issue Oct 9, 2021 · 7 comments
Assignees
Labels
conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@gfmoore
Copy link

gfmoore commented Oct 9, 2021

Describe the bug
I am using a usb hub for plugging in a nano (I think this is a clone!!!). The new ide doesn't recognise the board and I cannot set the port number (COM8) manually. The older IDE has no problem.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

I should be able to see the Port number and select any port I want when I go to Select other boards and port

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. Windows]
  • Version: [e.g. 2.0.0]
    Win 10 insiders

Additional context
Add any other context about the problem here.

@gfmoore gfmoore added the type: imperfection Perceived defect in any part of project label Oct 9, 2021
@per1234
Copy link
Contributor

per1234 commented Oct 9, 2021

Hi @gfmoore. Thanks for your report!

Does the problem still occur if you close all Arduino IDE 2.x windows and then start the Arduino IDE 2.x again? I have had a problem like this as well, but for me it was intermittent, with discovery working most of the time, but not after seemingly random occasional starts of the IDE. The problem was not persistent, in that after a restart of the IDE discovery works (though I suspect it's really that I get another roll of the dice on each start up, and so it's possible yet statistically unlikely that the problem will occur on two subsequent starts).

@gfmoore
Copy link
Author

gfmoore commented Oct 11, 2021

I've just reconnected and it has discovered COM8 as you said. Weird. I still would prefer an option to be able to physically select a port without discovery.
Closing.

@gfmoore gfmoore closed this as completed Oct 11, 2021
@per1234
Copy link
Contributor

per1234 commented Oct 11, 2021

I'm glad to hear it discovered it!

I've just reconnected

Even though it's good that we are able to work around the issue, I still hope that a real solution can be found. With that in mind, I am still interested in your report.

Would you mind clarifying what you mean by "reconnected"? Do you mean that you closed the Arduino IDE and then started it again (as has been my workaround), or do you mean that you unplugged your Nano from the computer/hub and then plugged it back in?

I still would prefer an option to be able to physically select a port without discovery.

After years of using discovery (starting with the old Arduino IDE) without receiving much negative feedback on it, it seems to me that this approach is sufficient on its own so long as it is working reliably. I think it will be possible to get the new discovery system working just as well as the one from previous versions of the old IDE.

@gfmoore
Copy link
Author

gfmoore commented Oct 12, 2021

So I closed down the ide and restarted. (Perhaps it was due to having something else on another COM port?)

I take the point of not needing to select a COM port if board found. However, what happens if I use multiple COM ports for other things, for instance I have a logic analyser on one port and a ttl to serial usb plugged into another port. Fortunately it seems to allow me to select ports in this case so not an issue.

@per1234
Copy link
Contributor

per1234 commented Oct 12, 2021

Thanks for the clarification!

what happens if I use multiple COM ports for other things

I think using the Tools > Port menu, just as you would with Arduino IDE 1.x, will be most intuitive in this case.

@gfmoore
Copy link
Author

gfmoore commented Oct 13, 2021

Sorry about this, but today, whilst trying to work with a bluetooth module HM10 (not that I think that has anything to do with it) I couldn't discover the board UNTIL I disconnected the usb cable and reconnected. Closing and reopening the IDE didn't help. :(

Should I perhaps re-open this issue?

@gfmoore
Copy link
Author

gfmoore commented Oct 13, 2021

Uhmm starting to think it might be to do with the hubs and extensions I'm using. Sadly my laptop (an old xps15) doesn't have enough direct usb ports for my usage, so I'm using extender hubs and I'm thinking maybe they aren't playing nice. I'll leave this closed unless anyone else reports issues.

@per1234 per1234 added the topic: code Related to content of the project itself label Oct 20, 2021
@per1234 per1234 added the conclusion: invalid Issue/PR not valid label Oct 24, 2021
@per1234 per1234 self-assigned this Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants