Hi,
I am using stm32f723ze with chibios and trying compliance testing. I downloaded USB HS Electrical Test Utility from USB-IF website. I tested it first with a commercial usb thumb drive and it works fine. I tried it then with my device running chibios and it fails. When I select TEST_PACKET within that utility and press EXECUTE, it reports the operation failed.
I am assuming the utility sends some known data patterns during that test. Not sure how the usb stack would respond to it. Do we need some specific firmware to help us test with that utility?
Does anyone here have compliance test experience who can shed some light?
Thanks,
AQ
Testing usb 2.0 compliance with HSET
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Testing usb 2.0 compliance with HSET
Is it testing what exactly? CDC?
The CDC implementation is not complete intentionally, many messages are not handled and left to the implementer.
Giovanni
The CDC implementation is not complete intentionally, many messages are not handled and left to the implementer.
Giovanni
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
Re: Testing usb 2.0 compliance with HSET
Sorry for a late reply. Yes, my peripheral is a CDC device.
I am trying to test the physical layer. From what I now understand, the device needs to support test mode, laid out in section 7.1.20 of usb specifications.
Would this support be part of ChibiOS?
Thanks,
AQ
I am trying to test the physical layer. From what I now understand, the device needs to support test mode, laid out in section 7.1.20 of usb specifications.
Would this support be part of ChibiOS?
Thanks,
AQ
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Testing usb 2.0 compliance with HSET
Currently it is not part of the driver, in principle it could be added.
Giovanni
Giovanni
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
Re: Testing usb 2.0 compliance with HSET
So how much effort do you think that would be and what timeline do you think are possible to get that support?
If you do not have the resources, I can be of help too as I need this asap.
Thanks,
AQ
If you do not have the resources, I can be of help too as I need this asap.
Thanks,
AQ
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Testing usb 2.0 compliance with HSET
Hi,
Frankly this is not high priority in this moment, there is the 2020 release to be finalized and in this phase bug fixes have priority over new features. Feel free to go ahead with this.
Giovanni
Frankly this is not high priority in this moment, there is the 2020 release to be finalized and in this phase bug fixes have priority over new features. Feel free to go ahead with this.
Giovanni
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
Re: Testing usb 2.0 compliance with HSET
Giovanni wrote:Hi,
Frankly this is not high priority in this moment, there is the 2020 release to be finalized and in this phase bug fixes have priority over new features. Feel free to go ahead with this.
Giovanni
Ok, got it.
Thanks,