gnupic: Re: [gnupic] picdem fs usb and sdcc/gputils
Subject:
RE: [gnupic] picdem fs usb and sdcc/gputils
From:
Chen Xiao Fan ####@####.####
Date:
4 Aug 2005 06:18:07 +0100
Message-Id: <3B8AEFFADD3DD4118F8100508BACEC2C07F773FF@spex>
By the way, are you using Windows or Linux? I have some
problem with the Linux bootloader application fsusb at
http://internetking.org/fsusb/. It seems to be able to
program the chip but the verification is not okay. Maybe
it is because fsusb does not handle configure data yet.
Another thing is that PIC18F4550 (which PIC FS USB uses)
is not officially supported by SDCC. So you are using
18F2550 or 18F4555 to simulate it in SDCC and link
them using gplink with customized 18f4550.lkr. Are
there any problems so far?
Regards,
Xiaofan
-----Original Message-----
From: Alessandro Zummo
Sent: Thursday, July 14, 2005 6:30 AM
Hello,
I'm trying to use the board in subject with sdcc/gputils.
I've modified the linker script so that the vectors
are located at 0x800 .
CODEPAGE NAME=vectors START=0x800 END=0x829
PROTECTED
I've recompiled crt0i.c along with a small example,
and compiled and linked them this way:
sdcc -c -mpic16 -p18f2550 crt0i.c
sdcc -c -mpic16 -p18f2550 toggle.c
gplink -o toggle.hex -s 18f4550.lkr crt0i.o toggle.o pic18f2550.lib