Skip to main content
mhannachi
Associate
June 16, 2021
Question

STM32F103 USB bulk

Hello,

I'm working on a project based on stm32f103 (nucleo-64). I would like to exchange the data between the stm32f103 board and my PC using usb device. With COMx port the code works but the speed is slow, so I did some modifications to switch to bulk mode ! I changed usbd_desc.c and usbd_cdc.c as described after, but the WIN-10 can't detect the USB driver ! Please, if semeone encountered the same problem and can help me ! Thanks for your time.

Best regards

This topic has been closed for replies.

2 replies

ST Technical Moderator
June 16, 2021

Hello @mhannachi​,

Welcome to the Community :)

I advise you to follow this article USB device not recognized, it may help you on this issue.

 Please keep me informed about your progress on this.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
mhannachi
mhannachiAuthor
Associate
June 16, 2021

Hello @Imen,

Thanks for your response. I changed the minimum heap size as depicted in fig below, but the problem still persists.

In your opinion: the problem will not come from the signature of usb driver on win-10 ? I don't know what exactly windows does when device descriptor change ! 

Best regards