Hi,
I am using stm32f723 and as a usb cdc device. I was trying to see if there is any api available which gives me health status of my usb link. How many packets got dropped or retransmitted etc. Would you guys know of any such stats available?
Thanks,
AQ
Is there an error report for USB packet retransmits
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Is there an error report for USB packet retransmits
Hi,
There is no such API, not all USB peripherals support that kind of statistics.
Giovanni
There is no such API, not all USB peripherals support that kind of statistics.
Giovanni
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
Re: Is there an error report for USB packet retransmits
Thanks for the reply Giovanni, appreciate it.
Pertaining to the same concern, let me ask another one. USB packets have a crc based on which packets are accepted or rejected. Once a packet is rejected, would you know if retransmission happens? and if it does, is it handled by usb stack firmware?
We see over the course of transferring big files over virtual com port, we do lose some packets.
Thanks,
AQ
Pertaining to the same concern, let me ask another one. USB packets have a crc based on which packets are accepted or rejected. Once a packet is rejected, would you know if retransmission happens? and if it does, is it handled by usb stack firmware?
We see over the course of transferring big files over virtual com port, we do lose some packets.
Thanks,
AQ
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Is there an error report for USB packet retransmits
Hi,
Re-transmission is handled by the USB HW, the driver is not even handling it.
Giovanni
Re-transmission is handled by the USB HW, the driver is not even handling it.
Giovanni
Who is online
Users browsing this forum: No registered users and 13 guests