Giga R1 unable to connect to IDE - port greyed out

Hi,
this may be an old problem that many have already solved, but I searched the forum and tried all solutions without result.

Problem: I can not upload a sketch to my Giga, because it does not connect to any port.

  • I tried three different PC's with Win 10 and Win 11, different USB cables (new ones too, but to be sure I bought a new one yesterday and made sure it's a data cable) and different USB ports on all PCs.
  • Tried burning the bootlader lots of times - with both the command prompt and cubeprogrammer. At best I get a DFU in FS mode in my list of devices. But after reinstalling the drivers, nothing happens. The device 'works correctly', but can not be connected in the IDE.

Since I changed everything but the Giga, I bought another one today.

Out of the box, the new Giga showed up in my IDE on port 9 immediately. But when I tried to upload a very simple sketch, the upload crashed because suddenly the IDE could not find port 9 anymore.
And now, the new Giga behaves exactly like the other one.

  • only a 'power on' light shows up. First time connecting the new Giga, the led on the 'boot' side lighted up like a christmas tree. Now it stays off. Is that normal ?
  • Burning the bootloader several times does not make any change to the connection problem either.
  • Like the 'old' Giga, the new one can show up as DFU in FS mode, but reinstalling the drivers is - again - no use. In device manager, the device is working, but there's no connection in the IDE. No port

the IDE is version 2.2.1 with Giga 4.0.10 board installed under board manager
Same PC, same IDE, same USB cable, same USB port, same sketch but with a Mega : no problem whatsoever finding the port and uploading the sketch.

I would like to use the Giga however. I'm at the memory limit for the Mega with one of my sketches.

But frankly, I am giving up; maybe I'm missing something so if anyone has a suggestion to fix this: it would be more than welcome

thanks

If you connect the usb and then double-tap the reset button to put it in bootloader, does it behave any differently?

what happens after a double click is this:

  • the led on the 'boot' side flashes green
  • the IDE finds the Giga on port 8 (hoorah !!!)
  • I can start to upload the sketch

first this:
Opening DFU capable USB device...
Device ID 2341:0366
Device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash 2MB "
Downloading element to address = 0x08040000, size = 113676

so far so good ..

plus 'erase' and 'download' commands

then the Warning: Invalid DFU suffix signature

but I get this message in the end:

Port monitor error: command 'open' failed: Serial port not found. Could not connect to COM8 serial port.

And now COM 8 does not exist in the port list anymore ...

thanks for the quick reply and help !

update:

it may be the sketch.
I tried with the bare minimum ( only an empty setup and loop) and I can upload the sketch without crashing.

Work to do I guess ....
Strange that a Mega has no issues with it and a Giga does.
to do: comment lines out and find the culprit ..

Mucho gracias for the help again. You made my day !

that upload worked. try uploading a basic example like blink using the double-tap method. could be something in your sketch causing an issue

:grinning: :grinning: :grinning:

great minds think alike ...

but the 'double click' tip is a lifesaver. Thanks for that !

:grinning: cool

A couple of quick notes:

The double tap for the board recovery is mentioned in section 13.5 of the datasheet
You can download from:
GIGA R1 WiFi | Arduino Documentation

Difference in USB between GIGA and Mega. The AVR Mega boards do not have native USB, so there is another device that is doing the USB. So even if your sketch does not work at all it will still show up as a Serial port. Whereas on the GIGA, it has native USB support, So if the board crashes badly or hangs in a bad way, then the USB system will not be operational. Sort of like the old Leonardo.

Thanks for the update.
Searched for a solution and overlooked the datasheet ...

And thanks for clearing out the USB difference too. Makes sense

I had this issue myself, for some reason it went away when I changed the USB cable to a different USB cable