gnupic: Re: [gnupic] USB code, PICDEM FS USB and Linux
Subject:
RE: [gnupic] USB code, PICDEM FS USB and Linux
From:
"Bradley Minch" ####@####.####
Date:
16 Feb 2006 13:12:13 +0000
Message-Id: <280CB384F3297641AB0C74674FB22A7D064653D7@OLINEXVS01.olin.edu>
The version of the genhid firmware that is on my old course
website is actually my doing and it is not a perfect implementation
of the functionality of Jan's firmware. I did the adaptation of the
lab 2 firmware quickly in response to a request that someone made
in Microchip's USB forum. If memory serves me, the first interrupt
in transfer does not work properly, but subsequent ones do. I have
not taken the time to go back and figure out what is wrong with it.
It has also not been maintained, so caveat emptor!
Brad.
________________________________
From: Chen Xiao Fan ####@####.####
Sent: Wed 2/15/2006 9:09 PM
To: ####@####.####
Subject: RE: [gnupic] USB code, PICDEM FS USB and Linux
>> I've added support for vendor requests (attached). now you can use
>> libusb/usb_control_msg to send minimal data to the device using
>> the index and value field. It can be useful for small application.
By the way, the famous Jan Axelson from www.Lvr.com has adapted
Brad Minch's lab 2 (keyboard) code to a generic HID class firmware
(with MPASM) and it can be downloaded from Brad Minch's class
website as well. In the main program, she has shown example
to copy the EP1 OUT data (from PC) to EP1 IN (to PC) buffer
using interrupt transfer. This code should be easy to be
adapted to gpasm now than Ben has worked out the macros
for gpasm.
Jan Axelson has also adapted Microchip's HID mouse example to
a generic HID example. The code is using MPLAB C18 though.
The code can be downloaded from her website. In the example,
interrupt IN and interrupt OUT are both implemented.
Regards,
Xiaofan
---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####