Nope,
I'm pretty sure there's nothing in mister-e's USBdemo that'll help with EP1_IN interrupt requests.
And I have no better answers.
DT
Thanks Skimask, the demo was fantastic - I used it as my jump point to get in to USB but as DT says, there is nothing for interrupt transfers.
Thanks for the replies guys, it looks like I may be beat by this one. If I find a way, I will post here but its not looking good.
Paul
+-------------------------------------------------------------------+
| PBP 2.47/2.50 | MCS+ 3.0.0.5 | U2 Prog | Vista x64 | NO SLEEP!!!!!!! |
+-------------------------------------------------------------------+
Paul
Up to now I have only used one endpoint. I believe you set up your device in the descriptor file. You tell it the number of interfaces you want, the number of endpoints, in the endpoint descriptor you tell the type of transfer and so on.
Then in the report descriptor you would set the packet size type of data and so on.
In PBP you would listen for that endpoint "USBIN X,buffer,cnt, goto label" (X being the endpoint number 1,2 etc). The PC sends endpoint "0" PBP endpoint is 1
Check out the USB18.inc file
I am not an expert but have made many USB devices and written custom descriptors.
Dave
Hi Dave,
Thanks for the reply.
Got that far. My descriptor is set for 1 interface and endpoint1in is set for 8 byte buffer length and interrupt.
Not sure about this one. I have no report descriptor. I have made other HID projects and see that endpoint 1 has a report descriptor, but I thought that was due to the 'get_report' is a control transfer that comes in via the setup packet and not as in interrupt request on the USTAT. Do you have any further details on this?Then in the report descriptor you would set the packet size type of data and so on.
Got to love the USB18 file..... I have been reading it over and over for a few weeks now and none of the functions deal with interrupt requests.In PBP you would listen for that endpoint "USBIN X,buffer,cnt, goto label" (X being the endpoint number 1,2 etc). The PC sends endpoint "0" PBP endpoint is 1
Check out the USB18.inc file
I am not an expert but have made many USB devices and written custom descriptors.
Dave
I will try to use PBP to setup and initialize the endpoint buffer descriptor in memory and then read the USTAT for an ep01_in request and then set uown back to the sie etc.
Should be able to get some time this weekend to try a few things.
Thank again,
Paul
+-------------------------------------------------------------------+
| PBP 2.47/2.50 | MCS+ 3.0.0.5 | U2 Prog | Vista x64 | NO SLEEP!!!!!!! |
+-------------------------------------------------------------------+
Bookmarks