Arduino IDE + STLink, COM port not found

Post here first, or if you can't find a relevant section!
Post Reply
BT99
Posts: 2
Joined: Tue Dec 29, 2020 5:20 pm

Arduino IDE + STLink, COM port not found

Post by BT99 »

Hi Guys.
** What STM32 settings compatible with STM32F0XX and using ST-Link will GRAY out the "PORT" setting?
** Or, is there a way to compile a binary and upload using ST32CubeProgrammer?

I have a closed-loop Nema17 stepper module BigTreeTech S42B.
This uses micro STM32F030C8T6, however does not have a USB port and requires the ST-Link to program.
The ST-Link driver is installed and shows up as a valid USB Device, however does NOT show up as a COM port.
I installed ST32CubeProgrammer, and can connect to the device and read the memory locations, so the ST-Link is working.
I have the standard STM32 and stm32duino package installed in Arduino IDE.
I have tried all of the various boards/upload options, but they all fail because the com port is not detected.

Thanks!!! - BillT
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Arduino IDE + STLink, COM port not found

Post by fpiSTM »

The STlink do not provide a COM port. On the Nucleo it is provided thanks a dedicated fw. To have a VCP COM port you have to enable the USB support and connect to USB port of the board if any. Don't know if the bigtree have one. Else connect a FTDI to USART Rx and Tx pin and configure the Hardware Serial to use those pins.
BT99
Posts: 2
Joined: Tue Dec 29, 2020 5:20 pm

Re: Arduino IDE + STLink, COM port not found

Post by BT99 »

RX/TX pins are available. Thank you for the suggestion.
I have a Silicon Labs CP210x USB to UART Bridge (COM12) to connect.
Do I need a different bootloader, or is it just the upload selection in Arduino IDE that I need to configure?
Thanks! - BillT
Post Reply

Return to “General discussion”