Cant select port

Hello, I got a Arduino GIGA R1 but I cant select a Port. I choose the GIGA as the Board in the menue but I cant select a port. With my Mega its working. And if I plug the GIGA in it does not make the "Windows connect sound". But the LED "ON" is green on the Board.
Can someone help?

Edit: I could select it once, then I uploaded a example of Arduino_GigaDisplayTouch.h and now I cant select a port anymore

Hi @anon73791316. Please try this experiment and then report back with the results:

  1. Connect your Arduino board to your computer with the USB cable.
  2. Press and release the button marked "RST" on your Arduino board quickly twice.
  3. If it is already open, close the Tools > Port menu in Arduino IDE.
  4. Open the Tools > Port menu in Arduino IDE.

Now please reply here on the forum thread with the answers to the following questions:

  • Do you now see the green LED on the board pulsing?
  • Do you see a port for the board in the Tools > Port menu?

Yes now I see the green LED pulsing
And yes now I can select the Port.
Thank you!

Great. If you haven't already, please try uploading a sketch now. Hopefully the upload will be successful. After uploading, if you find that the board still doesn't produce a port unless you do a double reset, the problem may be caused by your sketch code. You can verify this by uploading a simple sketch like the one from File > Examples > 01.Basics > BareMinimum in the Arduino IDE menus. If the uploads work normally after uploading that sketch, but not after uploading the previous sketch you were using, then you will know the issue is caused by that other sketch code.

The tricky thing about the boards with native USB capability like the GIGA R1 WiFi is the USB code that creates the CDC serial port is running on the same microcontroller as your sketch. This means your sketch code can break the USB code, or stop it from running. This might either be the expected result of the intended behavior of the program (e.g., putting the microcontroller to sleep) or the unintended result of a bug in the program (e.g., a divide by zero crashing the processor). When that happens, the board no longer produces a serial port.

This can be unexpected to those who previously mainly worked with the boards like Uno and Mega with a dedicated USB chip that can never be affected by the sketch code.

So it is to be expected that we will occasionally find that these boards have gone into the state where they don't produce a port as we work on our Arduino projects, but as long as you know the double reset technique you can easily put the board back into a state where you can upload to it once more.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.