Re: PIC18 back end for XCode - Is there such an animal?

*From:* Don Bruder

> *Date:* Tue, 01 Dec 2009 20:47:07 -0800 > > Looking to get into playing with a USB-connected experimenter board > that talks to a PIC18F4550 chip. > > I don't expect to need a LOT of PIC18 code for the project I have > in mind, but it seems to me that writing it in C (even a pretty > sharply restricted subset, if need be) would be a whole lot less > headache than trying to hand-assemble a brand-new-to-me, totally > foreign assembly language. > > What I'm *HOPING* to find is a back end that I can attach to XCode > to make it produce hex that's ready to be loaded into the PIC18 for > execution. > > Anybody around here know if such a beast exists, and if so, where I > can find it? > > Seems to me like there ought to be something out there to take care > of this dilemma, considering we've already got gcc as the "guts" of > XCode. As I understand things, gcc is supposed to mix and match > back ends to produce code for whatever system/device somebody has > coded a back end to handle - Two prime examples being the > production of both PPC code (possibly in multiple flavors, if > needed) and Intel code in a single build session. > > Failing that, can anyone point me to any tools, free/cheap > preferred, targeting the PIC18 chip-family on the Mac? > > Oh, and yes, I'm aware of the one at the htsoft.com website - I've > downloaded it three times now, and all three downloads have given > me the same "Verifying archive integrity...Error in checksums: > is different from number>" output when I try to execute the install script. > > Lotsa cross-post, I know - But they all seem to be relevant for the > query. > > -- > Email shown is deceased. If you would like to contact me by email, > please > post something that makes it obvious in this or another group you > see me > posting in with a "how to contact you" address, and I'll get back > to you. >

Is this the Velleman board? (Can't recall the number) I took the chip out and started again from scratch using a suitable compiler. Just for experimentation purposes there are a couple of free compiler/IDEs

- Steve

Reply to
Steve
Loading thread data ...

Hi-Tech's compilers support the PIC18 and run on the Mac. They have a free "Lite" mode.

--
John W. Temples, III
Reply to
John Temples

That's "the one at the htsoft.com website" that I mentioned having no luck with - I've tried three downloads of it, and all three show the right number of bytes transferred, but all three barf with a "Verifying archive integrity...Error in checksums: is different from

Reply to
Don Bruder

Dunno - Sparkfun electronics sells it - I think it's actually an "OLIMEX", if the image they're using is accurate.

--
Email shown is deceased. If you would like to contact me by email, please
post something that makes it obvious in this or another group you see me
posting in with a "how to contact you" address, and I'll get back to you.
Reply to
Don Bruder

Reply to
IanM

I had a look at that, but it didn't seem to understand some standard C syntax (e.g. "unsigned long int"; insisting that you use "unsigned long" instead), which meant that it couldn't compile e.g. Microchip's USB framework.

Reply to
Nobody

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.