michallenc commented on issue #16004:
URL: https://github.com/apache/nuttx/issues/16004#issuecomment-2732004468

   Hi, I also had some issues with CDC ACM after the patch, but only for our 
custom [Silicon Heaven protocol](https://silicon-heaven.github.io/shv-doc/), 
wasn't able to reproduce it with a simple application I could share to 
reproduce. To be short, we use a lot of request-response communication and 
sometimes the response is not sent from the board to the computer. This happens 
only after the patch and I don't think it is caused by the protocol as it only 
uses calls like `fwrite`/`fread`/etc. It seems more like some timing issue with 
endpoints or requests.
   
   The configuration change of `CONFIG_CDCACM_NWRREQS` and 
`CONFIG_CDCACM_NRDREQS` from 4 to 8 helped, but this seems more like a hot 
workaround than a proper solution. I have tested it only on SAMv7 MCU, so it 
may be related to that MCU as well (the USB there is a mess, it is slow as 
hell, I am getting 10 times slower communication than I should have, but 
haven't had time to look at that properly yet).
   
   This is just for info, maybe it is related to this issue, but I don't expect 
you to invest a time into this as this can't be easily reproduced and might be 
only SAMv7 related. I plan to look in to it in some days, hopefully.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to