mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Xiaofan Chen" <xiaofanc@gmail.com>
To: mgross <640e9920@gmail.com>
Cc: "Alan Stern" <stern@rowland.harvard.edu>,
	linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [RFC] USB driver for talking to the Microchip PIC18 boot loader
Date: Mon, 31 Dec 2007 09:15:40 +0800	[thread overview]
Message-ID: <a276da400712301715p722590ecw37236bf8d8c6f63d@mail.gmail.com> (raw)
In-Reply-To: <a276da400712292046k5d9a47c2x462c9070275d8ee@mail.gmail.com>

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

  reply	other threads:[~2007-12-31  1:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-29 19:34 mgross
2007-12-29 22:15 ` Alan Stern
2007-12-30  2:40   ` Xiaofan Chen
2007-12-30  4:29     ` mgross
2007-12-30  4:46       ` Xiaofan Chen
2007-12-31  1:15         ` Xiaofan Chen [this message]
2007-12-30  3:53   ` mgross
2007-12-30  4:52     ` Xiaofan Chen
2008-01-02 19:59       ` [RFC] libusb / in-kernel usb driver criteria (was: USB driver for talking to the Microchip PIC18 boot loader) Paulo Marques
2008-01-03 23:08         ` mgross
2008-01-11 17:10           ` [RFC] libusb / in-kernel usb driver criteria Greg KH
2008-01-11 21:38             ` David Brownell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a276da400712301715p722590ecw37236bf8d8c6f63d@mail.gmail.com \
    --to=xiaofanc@gmail.com \
    --cc=640e9920@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®