2016-03-15 10:17 AM
Hi,
I'm trying to get USB CDC to work. The sample project with USB CDC works and it outputs Hello\r\n, however, when I've added additional tasks and I2C usage, the application is stuck inside in an infinite loop inside CDC_Transmit_FS function. The board is stm32f401 discovery. What can I check to see what's wrong? Thanks2016-03-30 06:58 AM
For those that encounter the same problem, this came from the USBD_malloc in usbd_cdc.c. As I'm using only CDC, I've modified malloc to a reference to a static variable. It works now.