PORTS Forum

Ports and Interfaces => USB => Topic started by: ulao on December 28, 2018, 01:05:23 pm

Title: crashing descriptors.
Post by: ulao on December 28, 2018, 01:05:23 pm
I have a situation I don't know how to handle.  I'm trying to mock a device and slowly copying over the descriptors.  I can't just do the entire thing because it's far too complicated and blue screens on attach. So I decided to go part by part.

The device and report are finished and seem to be a good 1:1 match.
The config is the madness. It consists of this

HID_Interface;
HID_JoystickHID;
HID_360Geneirc1;
HID_ReportINEndpoint;
HID_ReportOUTEndpoint;

HID_Interface2;
HID_JoystickHID;
HID_360Geneirc1;
HID_ReportINEndpoint;
HID_ReportOUTEndpoint;
HID_ReportINEndpoint;
HID_ReportOUTEndpoint;

HID_Interface3;
HID_JoystickHID;
HID_360Geneirc1;
HID_ReportINEndpoint;

HID_Interface4;
HID_JoystickHID;
HID_360Geneirc1;

So to make this I had to build it an interface at a time. Thus far I have the following without bluescreening.


HID_Interface;
HID_JoystickHID;
HID_360Geneirc1;
HID_ReportINEndpoint;
HID_ReportOUTEndpoint;

the second I try to add any part of the next interface I blue screen on plug in. Problem is I can't afford to do this to my computer while I figure out what is wrong. Not to mention that is a full bootup, reload of apps, per test.

Is there some why I can sand box this?




Title: Re: crashing descriptors.
Post by: Jan Axelson on December 28, 2018, 01:12:22 pm
Try getting each interface to work independently, then combine them.
Title: Re: crashing descriptors.
Post by: ulao on December 28, 2018, 03:28:21 pm
That helped, I worked thru it!