Page 1 of 1

Port greyed out on arduino ide

Posted: Sat Mar 18, 2023 12:23 pm
by jgaltt89
Hi!
Im trying to program an STM32 Blackpill with the Arduino IDE. When I connect the board the Arduino IDE doesn't detect it (Tools>Port is grayed out), but im still able to upload code in DFU mode. The problem is that then I cannot use the Serial monitor to debug code. Has anyone experience this behavior?

Re: Port greyed out on arduino ide

Posted: Sat Mar 18, 2023 6:11 pm
by GonzoG
If USB CDC is not enabled in your sketch, you won't see COM port as there isn't one configured.
DFU is completely different thing.

Re: Port greyed out on arduino ide

Posted: Tue Mar 28, 2023 6:37 am
by alicejenny
You won't see a COM port if USB CDC is not enabled in your sketch because one has not been set up.