gnupic: Re: [gnupic] MCHPFSUSB AN950, AN956, ...


Previous by date: 2 Feb 2006 02:52:13 +0000 Re: [gnupic] MCHPFSUSB AN950, AN956, ..., rkuhnen (sent by Nabble.com)
Next by date: 2 Feb 2006 02:52:13 +0000 Re: [gnupic] MCHPFSUSB AN950, AN956, ..., Xiaofan Chen
Previous in thread: 2 Feb 2006 02:52:13 +0000 Re: [gnupic] MCHPFSUSB AN950, AN956, ..., rkuhnen (sent by Nabble.com)
Next in thread: 2 Feb 2006 02:52:13 +0000 Re: [gnupic] MCHPFSUSB AN950, AN956, ..., Xiaofan Chen

Subject: RE: [gnupic] MCHPFSUSB AN950, AN956, ...
From: "Chen Xiao Fan" ####@####.####
Date: 2 Feb 2006 02:52:13 +0000
Message-Id: <7D4AB72251D4D949AB2732ABEABDA54F130016@PFSG-MX1.ap.p-f.biz>

> -----Original Message-----
> From: rkuhnen (sent by Nabble.com)
> Sent: Wednesday, February 01, 2006 11:49 PM
>
> I just started with pic 18f2550 and sdcc and used the MC2.tbz 
> code posted here.
> It compiled fine but running on the chip, it seems that the 
> usb module only goes up to the DEFAULT state. Maybe something
> goes wrong during addressing.
> Is there a working port for the sdcc out there?
> 

Please try the following link and report your progress. Thanks.
http://www.geocities.com/tegale2001/downloads/pickit2.tar.gz

You need to change main.c and stdp.c so that it will build
with later version of sdcc. Attached please find the updated
C files. You may need to change the Makefile as well. I have
not tested this though but the author said the usb part
is working (not the stdp part for dsPIC). You should look
into usb.c and comms.c for the usb related information. It
is meant for PICkit 2 with the PICkit 2 bootloader so it is
using 0x2000 and above memory since the lower memory is
reserved by the bootloader.

You can also try to port Bradley Minch's C18 USB examples to
SDCC. They are less complicated than Microchip's C18 stack.
Moreover there are corresponding assembly based version so it
will be "easier" to port to sdcc. So far there is one report 
of SDCC port of those examples but it is not working.

Regards,
Xiaofan

[Content type application/octet-stream not shown. Download]

[Content type application/octet-stream not shown. Download]

Previous by date: 2 Feb 2006 02:52:13 +0000 Re: [gnupic] MCHPFSUSB AN950, AN956, ..., rkuhnen (sent by Nabble.com)
Next by date: 2 Feb 2006 02:52:13 +0000 Re: [gnupic] MCHPFSUSB AN950, AN956, ..., Xiaofan Chen
Previous in thread: 2 Feb 2006 02:52:13 +0000 Re: [gnupic] MCHPFSUSB AN950, AN956, ..., rkuhnen (sent by Nabble.com)
Next in thread: 2 Feb 2006 02:52:13 +0000 Re: [gnupic] MCHPFSUSB AN950, AN956, ..., Xiaofan Chen


Powered by ezmlm-browse 0.20.