gnupic: Re: [gnupic] Re: sdcc and USB
Subject:
Re: [gnupic] Re: sdcc and USB
From:
Easy B ####@####.####
Date:
9 Dec 2005 20:21:56 +0000
Message-Id: <B2BB773F-582C-4C2E-8E46-45C2603B8DD3@freesurf.ch>
Hi list
Pretty quite these days...
Well I tried the lab3 code. Fixed a mistake in the config words, but
it still isn't running. I don't know or it's the hardware or the
software. So I'm actually looking for the asm code ported to gputils.
I know that ben dugan has ported lab2, but I can't find it. BTW
eventually I want to collect all the PIC code and stuff that works
with the Mac on my website, especially USB stuff, so that would be
handy.
Back to sdcc. I have a little stupid blink program for sdcc that
works on the 18f2550 if compiled with following command: sdcc -mpic16
-p18f255 blink.c
But if I use the Makefile, that links it to pic18f2550.lib and
libsdcc.lib i guess, the hex file gets smaller but the code doesn't
run. Excuse my ignorance, but for what are these libraries actually?
Happy with any code and advice.
Cheers,
Ezra.
On 20.11.2005, at 14:22, Xiaofan Chen wrote:
> John has ported a simpler USB MPLAB C example to SDCC.
> Maybe someone with a proper USB test bed can test his SDCC port.
>
> http://forum.microchip.com/tm.asp?m=125158
> http://swenmac.homeip.net:8080/lab3_sdcc.tgz
>
> The original ASM/C USB examples are at the following URL:
> http://pe.ece.olin.edu/ece/projects.html
> They are much simpler than Microchip's USB framework. The
> host application is written using libusb so porting to Linux is
> easier than using Microchip's API.
>
>
> Regards,
> Xiaofan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>