STM32L100RC - CDC device

Hi,

 

I'm trying to make a STM32L100RC work as a CDC device as shown on this website :

https://damogranlabs.com/2018/02/stm32-usb-cdc/

Nevertheless, it didn't work for me, even when I used the exact same file shared on the website. The USB is always detected as "STlink Dongle" by the PC.

Do you think it could be related to the cable I'm using to connect the mcu to the PC?

I already upgraded the ST-Link firmware through this link STSW-LINK009 and the ST-Link Utility

Thank you in advance,

Jay