Messages in this thread | | | Date | Mon, 31 Dec 2007 09:15:40 +0800 | From | "Xiaofan Chen" <> | Subject | Re: [RFC] USB driver for talking to the Microchip PIC18 boot loader |
| |
On Dec 30, 2007 12:46 PM, Xiaofan Chen <xiaofanc@gmail.com> wrote: > If you do not like the existing fsusb application, you can rewrite > it in python with pyusb (which is based on libusb) but you do not > need a kernel driver. > > pyusb: http://pyusb.berlios.de/ > > Hex file parsing in pyk by Mark Rages. He is using the Bitpim > libusb wrapper which IMHO is not as good as pyusb. > http://groups.google.com/group/pickit-devel/msg/35e850832256e890
The pyk code is for PICkit 2 and include the PICKit 2 bootloader. it is an HID device so it is different from PICDEM FS-USB but you might be able to reuse part of the codes.
By the way, there is another perl based code for the bootloader. Just in case you are interested. Again I do not know perl and I am not so sure if it is good enough for you. http://www.nabble.com/HID-keyboard-code-for-gpasm-and-the-fs-picdem-board-td860144.html http://www.nabble.com/attachment/878980/0/picdem.pl.bz2
Thinking about it, if the Linux USB maintainers agree to include your driver, I have no objections. It should not affect the existing libusb based applications and the users have one more choices.
Xiaofan
| |