2014-06-11 01:36 PM
Hi,
I just got the STM3240G evaluation board and wanted to use it as a CDC USB device, for HS USB. I haven't had much success with ST's firmware so far. I generated the configuration files using the Cube application, and later also tried the CDC_Standalone example that is on the webpage for this kit. Unfortunately it doesn't enumerate successfully in Windows. I am using the Virtual Com Port driver for STM32. Please advise! Thanks, Umaid2014-06-12 05:58 AM
Some more explanation describing the failure may help find your problem.
Is it 'chirping' at High Speed or dropping to Full Speed? Are you using a USB protocol analyzer? How does enumeration fail?2014-06-12 08:11 AM
There are some issues with the files generated by CubeMX. Depending the version of HAL you use you might not even bring up the uC into main().
So please check first if the flash waitstates are configured correctly. Then you could i.e. go on with: https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=https%3a%2f%2fmy.st.com%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Java%2fSTM32Cube%20CDC%20-%20problems%20and%20a%20possible%20bug&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80...2014-06-17 08:47 AM
Hi,
Thanks guys. After reading some posts, I tried increasing the stack and heap sizes assigned by the startup file generated by my Keil IDE. It works in HS mode pretty well now. Thanks, Umaid