gnupic: Re: [gnupic] PICDEM FS USB and Linux tools


Previous by date: 21 Sep 2007 00:59:34 +0100 PICDEM FS USB and Linux tools, Rick Bronson
Next by date: 21 Sep 2007 00:59:34 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen
Previous in thread:
Next in thread: 21 Sep 2007 00:59:34 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen

Subject: Re: [gnupic] PICDEM FS USB and Linux tools
From: "Xiaofan Chen" ####@####.####
Date: 21 Sep 2007 00:59:34 +0100
Message-Id: <a276da400709201658o1d1db289jc7f5d4901ee70e5a@mail.gmail.com>

On 9/21/07, Rick Bronson ####@####.#### wrote:
> Hi,
>
>  If someone wanted to use Linux tools for uploading a program via USB
> to the PICDEM board what are the suggested tools?  Two I've run across
> are:
>
> 1. picdem.pl (or picdem2.pl which is mentioned but I can't find it)
> 2. fsusb-0.1.11-2.tar.gz
>
>  picdem.pl seems to requre USB.pm, which I can't seem to find for
> debian.  Unless it's the one in Zaptel.
>
> /fsusb-0.1.11-2> lsusb
> Bus 002 Device 003: ID 04d8:000c Microchip Technology, Inc.

This is the demo mode VID/PID. You need to press the button to
get into the bootloader mode.

>  fsusb gives me:
>
> /fsusb-0.1.11-2> sudo ./fsusb --program usbhid.hex
> Locating USB Microchip(tm) PICDEM-FS USB(tm) (vendor 0x04d8/product 0x000c)
> Found USB PICDEM-FS USB as device '003' on USB bus 002
> Communication established.  Onboard firmware version is 1.0
> usb PICDEM read: Resource temporarily unavailable
> Fatal error> USB read failed

Which kernel version are you using? If you are using very very latest
kernel, then you might have to patch the source codes to detach the
kernel driver to get the demo code working.
(the demo code is at http://www.varxec.net/picdem_fs_usb/ )
http://forum.sparkfun.com/viewtopic.php?=&p=24707

PS: some PIC USB open source links:
1. PUF using sdcc : http://vasco.gforge.enseeiht.fr/

2. PIC18F4550 USB/MSD sourceforge, Apache License V2.0
http://sourceforge.net/projects/pic18fusb

3) GPLed USB stack with SDCC
http://forum.microchip.com/tm.aspx?m=170553
http://www.nutsvolts.com/%7Edownloads/USB.zip

4) PICDEM FS USB bootloader for Linux/Windows using libusb
http://www.internetking.org/fsusb/
http://forum.microchip.com/tm.aspx?m=106426

5) PICDEM FS USB demo appliation under Linux/Windows using libusb
http://www.varxec.net/picdem_fs_usb/


Xiaofan

Previous by date: 21 Sep 2007 00:59:34 +0100 PICDEM FS USB and Linux tools, Rick Bronson
Next by date: 21 Sep 2007 00:59:34 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen
Previous in thread:
Next in thread: 21 Sep 2007 00:59:34 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen


Powered by ezmlm-browse 0.20.