Arduino IDE Not Detecting Ports for STM32 Blue Pill on macOS with ST-Link V2

I am using the Arduino IDE to program an STM32 Blue Pill via an ST-Link V2. After following several manuals, I successfully uploaded the blink example to pin C13.Although I can compile and upload code without any issues, the Arduino IDE doesn’t recognize any ports, preventing me from using the Serial Monitor. The following message is displayed: "Not connected. Select a board and port automatically." Despite trying different configurations (e.g., checking board types, and drivers), the software still fails to detect the connection, even though the macOS system report recognizes the ST-Link V2. Has anyone encountered this issue, and is there an alternative way to view the serial output from the STM32? Any tips on troubleshooting this would be greatly appreciated.
2 Replies
Sterling
Sterling3mo ago
attachment 0
wafa_ath
wafa_ath3mo ago
the ST-Link V2 only handles programming and debugging, not USB-to-serial communication. To view the serial output, connect a USB-to-TTL adapter (like FTDI) to the STM32's TX/RX pins and use the adapter's port in the Arduino IDE for the Serial Monitor.
Want results from more Discord servers?
Add your server