Thank You Herbert, I will compile the libraries. I posted that it was not supported. I switched to a dsPIC30F6011A, which is pin compatible to the 24HC256. The dsPIC is supported. Tom * | __O Thomas C. Sefranek tcs@cmcorp.com |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41MHz PL74.4 ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Herbert Graf Sent: Monday, June 05, 2006 4:57 PM To: Microcontroller discussion list - Public. Subject: RE: [PIC] C30 Linker Problem On Mon, 2006-06-05 at 16:20 -0400, Thomas C. Sefranek wrote: > If I include the source files for the peripherals I'm using: > For example, > DataRdyUART2.c > > It all compiles! No warnings or errors. It may compile, but it probably won't work. > Now I need to find out how your really supposed to do this! > I can't imagine I have to manually include all the source files for the > device, right? A step after installing C30 is to compile the peripheral libraries. Generally this is simply a command you run on the command line. It takes a few minutes and when it's done you'll find a file for every PIC supported. Another poster mentioned that your PIC is not supported, so even if you did this step it wouldn't help you. By compiling the libraries directly you likely don't have the right set of defines set up, meaning the result is likely not going to function in the chip. Personally I've never used the peripheral libraries. I just write my own. It doesn't take a long time at all if you are familiar with PICs in general, and just takes a careful reading of the appropriate section of the datasheet. TTYL -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist