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


Previous by date: 14 Nov 2005 03:07:19 +0000 Re: [gnupic] Possible gpasm or gplink bug?, Scott Dattalo
Next by date: 14 Nov 2005 03:07:19 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Easy B
Previous in thread: 14 Nov 2005 03:07:19 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Easy B
Next in thread: 14 Nov 2005 03:07:19 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Easy B

Subject: RE: [gnupic] Re: MCHPFSUSB AN950, AN956, ...
From: Chen Xiao Fan ####@####.####
Date: 14 Nov 2005 03:07:19 +0000
Message-Id: <3B8AEFFADD3DD4118F8100508BACEC2C0A2893A7@spex>

>
>I actually was able to get this to compile for 
>18f2450/2455/2550/2555 also.
>
>John

The latest snapshot solve the building problem. Both Julian 
and John's SDCC port can now be built. I have a problem with 
gplink for John's Makefile code (missing definition for symbol)
but I can adapt Julian's Makefile and solve the problem.

xiaofan@PC-386 /c/software/sdcc/MC2/fw/Cdc
$ sdcc -v
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51
/ds400/hc08 2.5.4 #1152 (Nov 13 2005) (MINGW32)

The original code is for 18F4550 (PICDEM FS USB) and uses Port D.
Port D does not exist in the 28 pin 18F USB parts (18F2455 and 
18F2550 and the future 18F2450). Therefore I think we at least
need to change io_cfg.h if we want to adapt the codes to 18F2455
or 18F2550. It is a bit strange that SDCC compiles the code
for 18F2550 without the need to change io_cfg.h.

Julian has removed user/temperature.c from the project since it
does not compile under sdcc (missing spi.h). John's sdcc port
from the HiTech C port seems to be okay with that file.

I've tried to adapt the code to PICkit 2 hardware (but keep the
bootloader) using Julian's port as the base. Somehow it compiles 
but it turns PICkit 2 to a useless paperweight (too light as well) 
after flashing the Cdc firmware. ;-( 

I have to re-flash the PICKit 2 firmware using a Promate III.
I'd better build a simple 18F2550 test boards for the testing. 
I will try to get it working first with MPLAB C18 codes and 
then try the SDCC port. This will take some time though.

Regards,
Xiaofan

Previous by date: 14 Nov 2005 03:07:19 +0000 Re: [gnupic] Possible gpasm or gplink bug?, Scott Dattalo
Next by date: 14 Nov 2005 03:07:19 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Easy B
Previous in thread: 14 Nov 2005 03:07:19 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Easy B
Next in thread: 14 Nov 2005 03:07:19 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Easy B


Powered by ezmlm-browse 0.20.