AnsweredAssumed Answered

STM32Cube USB CDC STM32F4Discovery Working!

Question asked by barker.abraham on May 9, 2015
Latest reply on May 12, 2015 by tomkins.richard

I finally got the STM32Cube generated code for USB CDC on the STM32F4Discovery working. I had three issues that need to be corrected with in the generated code. I'm using STM32CubeMX ver 4.0.0 with STM32Cube V1.0 and library STM32Cube_FW_F4_V1.5.0

1) If then statement in stm32f4xx_hal_pcd.c.
2) Replace usbd_cdc.c with a newer version.
3) Cast first argument to USBD_GetString( as a (uint8_t*).


First issue:


STM32Cube CDC - problems and a possible bug

Outcomes