gnupic: Re: [gnupic] USB code, PICDEM FS USB and Linux


Previous by date: 28 Jan 2006 08:47:42 +0000 Re: [gnupic] USB code, PICDEM FS USB and Linux, Alessandro Zummo
Next by date: 28 Jan 2006 08:47:42 +0000 Re: [gnupic] pic16 wrong bank selection in sdcc 2.5 ?, Borut Razem
Previous in thread: 28 Jan 2006 08:47:42 +0000 Re: [gnupic] USB code, PICDEM FS USB and Linux, Alessandro Zummo
Next in thread: 28 Jan 2006 08:47:42 +0000 Re: [gnupic] USB code, PICDEM FS USB and Linux, Bradley Minch

Subject: Re: [gnupic] USB code, PICDEM FS USB and Linux
From: Xiaofan Chen ####@####.####
Date: 28 Jan 2006 08:47:42 +0000
Message-Id: <a276da400601280047i53c280a9h4cb59029613a0ae4@mail.gmail.com>

On 1/28/06, Alessandro Zummo ####@####.#### wrote:
>
>  Thanks a lot. I'm not sure interrupt transfer needs to be supported,
>  i could do just fine with bulk transfers.

I think interrupt transfer is not necessary. It seems to me that lab2
code only implements control transfer (EP0).

>  Do you know if there's an SDCC version of any USB code that can work
>  with the PICDEM FS USB?
>
>

I only know the following but I have not tried it yet. Hope this helps.
The email should be in the mailing list archive but I forward it here again.

Regards,
Xiaofan

---------- Forwarded message ----------
From: Xiaofan Chen ####@####.####
Date: Dec 18, 2005 10:26 PM
Subject: Re: [PIC] USB Resources.(/PICkit2)
To: "Microcontroller discussion list - Public." ####@####.####
Cc: GNUPIC ####@####.#### ####@####.####


On 12/15/05, Timothy Gale ####@####.#### wrote:
> Hi Olin,
>
> I'm not sure whether this will be exactly what you want, but over the
> past little while I've been playing with the 2550 and written a C
> library for SDCC.  It's available for download here:
> http://www.geocities.com/tegale2001/downloads/pickit2.tar.gz
>
> usb.c and comms.c are the places where the main USB work is done.
> Unfortunately, no support for interrupt pipes as yet, but bulk ones
> appear to go pretty well (using linux here for the client).  As
> suggested by the filename, it's intended for the PICkit 2 - the goal is
> to get STDP for dspics working, but unfortunately at the moment it
> doesn't seem to be working, whether due to not entering the mode or not
> recognising commands I'm not sure.  If anyone figures out what's wrong,
> I'd be very grateful!
>
> Hope this is of some use
> Tim
>
> PS SDCC version used was from about June - not sure whether the current
> one will still work
>

After a bit of tweaks of the source code (Nop()--> Nop();) and the Makefile,
I can build the source code using the latest CVS version of SDCC. I have
not tested this yet though on the real PICkit 2.

Previous by date: 28 Jan 2006 08:47:42 +0000 Re: [gnupic] USB code, PICDEM FS USB and Linux, Alessandro Zummo
Next by date: 28 Jan 2006 08:47:42 +0000 Re: [gnupic] pic16 wrong bank selection in sdcc 2.5 ?, Borut Razem
Previous in thread: 28 Jan 2006 08:47:42 +0000 Re: [gnupic] USB code, PICDEM FS USB and Linux, Alessandro Zummo
Next in thread: 28 Jan 2006 08:47:42 +0000 Re: [gnupic] USB code, PICDEM FS USB and Linux, Bradley Minch


Powered by ezmlm-browse 0.20.