View Full Version : Language Spec's
Raven_Writer
26-11-2003, 08:29
Does anyone know where to find the spec's for the C-based language we are using this year?
I'm going to convert my FIRST Editor from using PBASIC to using C, and I need the spec's. I've looked around at Micro Chip's website, but couldn't find anything.
Any help would be greatly appreciated.
seanwitte
26-11-2003, 08:38
The C18 documents on Microchip's web site define where the compiler deviates from ANSI C. Otherwise its regular ANSI C. Check a copy of "C Programming Language" by Kernighan and Ritchie out of the library (you can buy it but its $40.00).
They are the original authors of the language spec. Its more of a reference than a "learn C" book.
Raven_Writer
02-12-2003, 14:57
The C18 documents on Microchip's web site define where the compiler deviates from ANSI C. Otherwise its regular ANSI C. Check a copy of "C Programming Language" by Kernighan and Ritchie out of the library (you can buy it but its $40.00).
They are the original authors of the language spec. Its more of a reference than a "learn C" book.
Thanks, but that's not exactly what I ment. I think I should've cleared it up more:
What I'm looking for is how the compiler that Microchip released sends all the code to the machine. I know you connect cord A, to ports B & C, but I want to know how the send the data from the PC to the R/C.
seanwitte
02-12-2003, 15:28
Thanks, but that's not exactly what I ment. I think I should've cleared it up more:
What I'm looking for is how the compiler that Microchip released sends all the code to the machine. I know you connect cord A, to ports B & C, but I want to know how the send the data from the PC to the R/C.
There are three parts to the system: The C18 compiler, the MPLAB IDE, and the IFI Loader. It sounds like you want to write your own version of the IDE with an integrated loader. They have not released the specs, but the loader is a wrapper for PICBOOT.dll. There is another thread about this from the people using linux, search for "picboot.dll" and read that thread.
Raven_Writer
02-12-2003, 15:33
There are three parts to the system: The C18 compiler, the MPLAB IDE, and the IFI Loader. It sounds like you want to write your own version of the IDE with an integrated loader. They have not released the specs, but the loader is a wrapper for PICBOOT.dll. There is another thread about this from the people using linux, search for "picboot.dll" and read that thread.
Thanks, I'll check out the thread. Only sad part is that I don't know how to change Linux code to Windows code....all well, this shall be that time.
Mike Betts
02-12-2003, 15:34
What I'm looking for is how the compiler that Microchip released sends all the code to the machine. I know you connect cord A, to ports B & C, but I want to know how the send the data from the PC to the R/C.
See page 22 of "2004 Programming Reference Guide" located here: http://www.innovationfirst.com/FIRSTRobotics/pdfs/2004_Programming_Reference_Guide_10-29-2003.pdf
Raven_Writer
02-12-2003, 16:36
See page 22 of "2004 Programming Reference Guide" located here: http://www.innovationfirst.com/FIRSTRobotics/pdfs/2004_Programming_Reference_Guide_10-29-2003.pdf
Thank you, that may help me out a lot.
Raven_Writer
04-12-2003, 13:31
See page 22 of "2004 Programming Reference Guide" located here: http://www.innovationfirst.com/FIRSTRobotics/pdfs/2004_Programming_Reference_Guide_10-29-2003.pdfAfter looking at that thread, I noticed that it didn't help me on what I needed for my project. Sean Witte was correct on what I'm doing (basically).
If anyone used my FIRST Editor program (which is now "abandoned"), they should know what I mean.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.