Port greyed out on arduino ide

Post here first, or if you can't find a relevant section!
Post Reply
jgaltt89
Posts: 1
Joined: Sat Mar 18, 2023 12:16 pm

Port greyed out on arduino ide

Post 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?
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 27
Location: Prudnik, Poland

Re: Port greyed out on arduino ide

Post 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.
alicejenny
Posts: 2
Joined: Tue Mar 28, 2023 6:32 am

Re: Port greyed out on arduino ide

Post 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.
Post Reply

Return to “General discussion”