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
You need to give more details - remember that we cannot see what you have, or what you've done.
EGGA JIAR said:The USB is always detected as "STlink Dongle"
What "USB"?
You're not on some sort of dev board, and looking at its debug interface chip - are you ... ?
I'm using a discovery board (https://www.st.com/en/microcontrollers-microprocessors/stm32l100rc.html) and the last version of keil to program it.
That's what I see on the device manager :
That link is for the chip - not the board.
I don't see any Discovery board mentioned on that page - please provide a link to the actual board.
The NUCLEO-L152RE is mentioned
Again, you need to use the USB connector connected to the target chip - not the ST-Link's USB connector - so show where you are actually connecting.
Note that this has nothing to do with Keil - you should be contacting Damogran Labs for support with their article, or ST for support with their boards/products
https://community.st.com/s/
Here's the link to the board: https://www.eng.auburn.edu/~nelsovp/courses/elec3040_3050/ARM_Keil%20Documents/STM32L100Discovery_UserManual.pdf
I've seen that the ST-link can be used as com port.
EGGA JIAR said:I've seen that the ST-link can be used as com port.
But that's not what the article you quoted is talking about?
That board, and the ST-Link, are a ST products - nothing to do with Keil or ARM - so you need to go to ST for support with then: