raiden00pl commented on PR #8906:
URL: https://github.com/apache/nuttx/pull/8906#issuecomment-1494350468

   > F411 has dwc2, and you were working with systemwide NuttX USB stack (and 
maybe NENDPOINTS). Could you suggest how to debug/trace this, apart from 
USBTRACE and logic analyzers (sigrok-pico) on D+/D-?
   
   USBTRACE is troublesome, it can add delays to USB controller that completely 
breaks communication with the host. It is useful to track the order of calls in 
the system (USB stack + USB controller) but you have to be aware that 
communication may not work. Wireshark with usbmon can be useful, at least to 
verify the errors on the host side. It is the best to compare how the 
communication looks for a non-working and working device.
   
   But serious USB debugging without a dedicated USB protocol analyzer is 
terribly difficult. Unfortunately, these devices are not cheap.


-- 
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