cancel
Showing results for 
Search instead for 
Did you mean: 

F0308-DISCO Virtual Com Port not available

James Anderson
Associate II

Usually with STM32 development boards I am able to see a virtual com port/serial port when I hook the board up to a computer via USB. This board, the F0308-DISCO, seems to have the TX/RX pair for UART communication between the target MCU and the ST-LINK MCU, but no such port is visible on the computer. I am using macOS and have updated the debug probe to it's newest firmware version using the STM32CubeProgrammer tool. Is there a special driver needed for this board (seems unlikely as the boards seem to have a common implementation of the ST-LINK probe), or some other reason why the VCP will not show up? I have come to rely on this functionality quite a bit in my development process, as the semihosting print capability is extremely slow. Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

The older DISCO boards had a smaller F103 part for the ST-LINK that doesn't support mbed MSC or VCP functionality. ie V2 vs V2-1

You can't update the firmware to get the functionality.

In the case of the CM0 you don't have the SWV/SWO connectivity either. Keil had a method for using the EVT (Event Recorder)

https://www.keil.com/pack/doc/compiler/RetargetIO/html/_retarget__examples_er.html

https://www.keil.com/pack/doc/compiler/EventRecorder/html/er_use.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

1 REPLY 1

The older DISCO boards had a smaller F103 part for the ST-LINK that doesn't support mbed MSC or VCP functionality. ie V2 vs V2-1

You can't update the firmware to get the functionality.

In the case of the CM0 you don't have the SWV/SWO connectivity either. Keil had a method for using the EVT (Event Recorder)

https://www.keil.com/pack/doc/compiler/RetargetIO/html/_retarget__examples_er.html

https://www.keil.com/pack/doc/compiler/EventRecorder/html/er_use.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..