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


Previous by date: 10 Nov 2005 16:08:42 +0000 gpsim source download from CVS through proxy, manickam palaniappan
Next by date: 10 Nov 2005 16:08:42 +0000 Re: MCHPFSUSB AN950, AN956, ..., Easy B
Previous in thread: 10 Nov 2005 16:08:42 +0000 Re: [gnupic] Re: [X_SPAM] Fwd: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Xiaofan Chen
Next in thread:

Subject: Re: [gnupic] Re: [X_SPAM] Fwd: [gnupic] Re: MCHPFSUSB AN950, AN956, ...
From: Julian Green ####@####.####
Date: 10 Nov 2005 16:08:42 +0000
Message-Id: <20051110160349.N1153-100000@pschulz.london.corp.yahoo.com>

Yes please test it.  I have not got a method of getting the code onto a
chip yet - so I have no idea if it works.  It may be worth checking that I
have got the config bits set correctly since its the first iteration
after reading the manual.

The output of the compilation is exactly what I get from the 19th Sept
version im using, except for the 'warning: processor mismatch in...'
messages.

so versions of sdcc that work are: 2.5.3 Oct 19 2005 and 2.5.3 Sep 19 2005

Julian

On Thu, 10 Nov 2005, Xiaofan Chen wrote:

> My Linux machine has an older version of SDCC compiled from CVS source.
> It builds the SDCC CDC port. I am not so sure if this works though. Maybe
> I can try this with PICkit 2.
>
> Therefore somehow the latest SDCC CVS introduced some bugs.
>
> Regards,
> Xiaofan
>
> mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ sdcc -v
> SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
> 2.5.3 #1122 (Oct 19 2005) (UNIX)
>
> mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ make -i
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbdrv/usbdrv.c -o
> system/usb/usbdrv/usbdrv.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbmmap.c -o system/usb/usbmmap.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c main.c -o main.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usb9/usb9.c -o
> system/usb/usb9/usb9.o
> Processor: 18f2550
>         MOVFF   PREINC1, r0x00
> pcoderegs.c:367: removing reg r0x00 because it is used only once
>         MOVFF   PREINC1, r0x01
> pcoderegs.c:367: removing reg r0x01 because it is used only once
> sdcc -mpic16 -p18f2550 -I . -c -c autofiles/usbdsc.c -o autofiles/usbdsc.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbctrltrf/usbctrltrf.c
> -o system/usb/usbctrltrf/usbctrltrf.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c user/user.c -o user/user.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/class/cdc/cdc.c -o
> system/usb/class/cdc/cdc.o
> Processor: 18f2550
> system/usb/class/cdc/cdc.c:106: warning 110: conditional flow changed
> by optimizer: so said EVELYN the modified DOG
> gplink -t 64 -s /usr/local/share/gputils/lkr/18f2550.lkr
> -I/usr/local/share/sdcc/lib/pic16 -o main.hex crt0i.o pic18f2550.lib
> libsdcc.lib system/usb/usbdrv/usbdrv.o system/usb/usbmmap.o main.o
> system/usb/usb9/usb9.o autofiles/usbdsc.o
> system/usb/usbctrltrf/usbctrltrf.o user/user.o
> system/usb/class/cdc/cdc.o
> warning: processor mismatch in "system/usb/usbdrv/usbdrv.o"
> warning: processor mismatch in "system/usb/usbmmap.o"
> warning: processor mismatch in "main.o"
> warning: processor mismatch in "system/usb/usb9/usb9.o"
> warning: processor mismatch in "autofiles/usbdsc.o"
> warning: processor mismatch in "system/usb/usbctrltrf/usbctrltrf.o"
> warning: processor mismatch in "user/user.o"
> warning: processor mismatch in "system/usb/class/cdc/cdc.o"
>
> mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ ls -la *.hex
> -rw-r--r--  1 mcuee mcuee 20956 2005-11-10 22:38 main.hex
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>



Previous by date: 10 Nov 2005 16:08:42 +0000 gpsim source download from CVS through proxy, manickam palaniappan
Next by date: 10 Nov 2005 16:08:42 +0000 Re: MCHPFSUSB AN950, AN956, ..., Easy B
Previous in thread: 10 Nov 2005 16:08:42 +0000 Re: [gnupic] Re: [X_SPAM] Fwd: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Xiaofan Chen
Next in thread:


Powered by ezmlm-browse 0.20.