Hi,
I'm working with uVision 5.15 and RL-USB with RTX to develop a USB CDC application. I used the function USBD_CDC_ACM_DataSend to send data over the USB com port. The application continuously (250ms step) sends a keepalive message through the USB com port to the host, the problem is that if the com port is closed after some messages the USBD_CDC_ACM_DataSend stops to work and also return 0 as byte sent, also opening the connection does not solve the problem. Someone knows how to solve this problem? Is this a RL-USB bug?
Regards
Hello,
I need to ask is the problem solved?
But at first, I working with Keil uVision Version 5.18, CMSIS 4.5.0 and MDK 7.0.0. The used microcontroller is a LPC4357.
I have the same problem with the USBD_CDC_ACM_WriteData Function that returns over the time always a zero value. When I send not big amount of data over the short period of time, then this function works fine, but in the case of big amounts it stops working after some time. In my case I am waiting for the DTR-Signal and after the Signal appears, I start with the data Transfer over USB to Windows PC. And DTR-Signal has the same state all the time, it is not toggled.
Best regards, Daniel Huhn