It also seems to be the only example of an USB virtual serial port for STM32 devices that I could find after extensive googling. It would be nice to get hold of it. Alternately I'd appreciate if someone could point me to a complete USB serial port example I can get to work on the F3 or F4 discovery with minimal effort (I know, I should learn the USB spec but you've got to start somewhere).
There is a link on this forum to a COIDE project that uses the VCP. It is not perfect but it works and is a good place to start. I had it working with the STM3241G_Eval board in short order.
i am newbe to STM32.and i am using STM32F103C8T6.i have added the USB Lybrary to my code and it was compilled successfully by the gcc compiler(arm-none-eabi).here when i connected my board to PC with USB i am getting ''Unrecognised device''.is there any thing i need to add code after the ''pProperty->Init();'' function call in the USB_Init() function.I also connected a 1.5K pull up at D+ of USB.please help me out someone.void USB_Init(void){ pInformation = &Device_Info; pInformation->ControlState = 2; pProperty = &Device_Property; pUser_Standard_Requests = &User_Standard_Requests; /* Initialize devices one by one */ pProperty->Init();?????????stuck here to add code}
I am not able to find attached code :-(, would you please post it again?
No kidding?! This thread is pushing 4 years old before the forum last fatally crashed, the original posters are unlikely to respond. I wish we could lock threads to stop getting questions like this.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..