In my case I don't need it to be a general purpose USB master. It only has to handle one specific type of mouse. I was thinking I could skip all of the enumeration and identification stuff. If anything other than that model of mouse is attached it can send a fatal error message and halt. Douglas Butler (aka Sherpa Doug) Senior Engineer Imetrix Inc. 1235 Route 28A P.O. Box 152 Cataumet, MA 02534-0152 tel. (508) 564-6460 Fax (508) 564-6860 dbutler@imetrix.com > -----Original Message----- > From: Niklas Wennerstrand [mailto:niklas.wennerstrand@TELIA.COM] > Sent: Thursday, June 14, 2001 2:01 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: PIC as USB Master? >=20 >=20 > I'm not a USB guru but my guess is that's impossible to make=20 > a PIC a USB > master. > I base that guess on that the USB protocol is not a walk in=20 > the park and its > developed by guys like Microsoft. If it was easy I guess that=20 > USB support > under Linux would have been developed much faster than it=20 > have. My guess is > that it require a lot off code and memory (That is not a=20 > problem with todays > PC). As Linux is open source you might take a look on how its=20 > done in Linux. > My guess is that you will see a lot of code and realise that=20 > that will never > fit a PICmicro. USB is a standard and to conform to that=20 > standard requires > that you have the full support and do not strip it. If you=20 > could strip it > then it would not be USB. > Niklas Wennerstrand >=20 >=20 > -----Ursprungligt meddelande----- > Fr=E5n: pic microcontroller discussion list=20 > [mailto:PICLIST@MITVMA.MIT.EDU] > F=F6r Douglas Butler > Skickat: den 14 juni 2001 15:13 > Till: PICLIST@MITVMA.MIT.EDU > =C4mne: [PIC]: PIC as USB Master? >=20 > I would like to connect one or two USB optical mice to a PIC=20 > (or Cypress > if necessary) microcontroller for a motion digitizer project=20 > with no PC > involved. I can find very little info on how the write code=20 > for the USB > master. Minimal mouse function and usual mouse data rates are fine. >=20 > Can anyone help? >=20 > Douglas Butler > Senior Engineer > Imetrix Inc. > 1235 Route 28A > P.O. Box 152 > Cataumet, MA 02534-0152 > tel. (508) 564-6460 > Fax (508) 564-6860 > dbutler@imetrix.com >=20 > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body >=20 > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body >=20 >=20 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body