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


Previous by date: 14 Nov 2005 07:29:23 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Chen Xiao Fan
Next by date: 14 Nov 2005 07:29:23 +0000 Re: [gnupic] Possible gpasm or gplink bug?, Julian Green
Previous in thread: 14 Nov 2005 07:29:23 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Chen Xiao Fan
Next in thread:

Subject: Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ...
From: Easy B ####@####.####
Date: 14 Nov 2005 07:29:23 +0000
Message-Id: <745F6113-9747-4371-B3F6-BE84D6210D1F@freesurf.ch>

I successfully compiled Johns port for the 18f2550. I just changed  
the LEDs to Port C. I flashed it to my test board, but it didn't  
work. I figured out that the config words aren't set in the code  
(right?) so I added them. Anyway, still no luck. The only thing I  
managed was making my USB freeze. I definitely need to take a closer  
look at my setup.
Sadly I'll haven't have to much time the next three weeks, gota go to  
the army..., but I'll take my laptop. So I'm looking forward to  
reading about the results.

Cheers,
Ezra.

Am 14.11.2005 um 04:07 schrieb Chen Xiao Fan:

>>
>> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>


Previous by date: 14 Nov 2005 07:29:23 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Chen Xiao Fan
Next by date: 14 Nov 2005 07:29:23 +0000 Re: [gnupic] Possible gpasm or gplink bug?, Julian Green
Previous in thread: 14 Nov 2005 07:29:23 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Chen Xiao Fan
Next in thread:


Powered by ezmlm-browse 0.20.