Keil and stm32CubeMX generated USB CDC project
I generated a USB CDC driver using Cube MX for the STM32L0538 DISCO. This compiled and linked and connected to a PC.
I tried to send some bytes using CDC_Transmit() but I then get USB NOT RECOGNIZED.Seems to be a hardfault in the call to USBD_CDC_SetTxBuffer()
Any ideas ?
Can anyone offer any guidance on how to use these function or an example to crib ?