STM32F407 Discovery Board USB CDC FS
Hi Florian,
I do NOT have a solution to your problem, but you have done very well to get as far as you did, given the lack of recent free working examples on this subject.
I have also got the CubeMx USB CDC working, in interrupt mode, and it seems reliable transferring data from F4Discovery to Windows Host Terminal application.
However it hangs after sending a few bytes from Host to device. I would be be grateful if you could show me how you did that.
I attach a file showing the step by step procedure and code changes I did to get as far as I have. I hope someone will find it useful.
I have delayed this reply in the hope I may fix your problem as well as mine, but no joy yet, so here is as far I have managed.
EDIT
take a look at the CDC_Standalone example that is inside STM32Cube_FW_F4_V1.11.0 package from ST in path
\STM32Cube_FW_F4_V1.11.0\Projects\STM324xG_EVAL\Applications\USB_Device\CDC_Standalone
if anyone can explain simply how to USE the .cproject and .project files from ST that might make using this example easier,
then how to port from the STM324xG_Eval to the F4Discovery.
Bob


