As a newbie, so I understand this splitting process and this MPLAB with C18: 1: Make a new file, say "SPLIT.C", name doesn't have to match anything 2: Cut/Paste one or more functions from the original "C" file to the new file and save 3: Add the new file to the project so now there are 2 (could be more) source files. 4: Do I need an #include in the main file ?? 5: Are there any gotcha's like "external", "static" or other declarations to be careful about, or if it ran before, it should run now. Thanks ahead of time. :) Nigel Duckworth wrote: > These are the man from Hi-Techs words; > > You would appear to be compiling for one of the PIC18 chips which suffers from the "0x4000 boundary" silicon bug. The workaround which our compiler implements requires that each compiled module fit entirely within 0x4000 words of Program Memory. To do this, you will need to split at least one function from your largest source file into a different source file to be compiled separately. If you are unsure how to do this, please send a .ZIP file of your complete project directory to me and I will show you what changes to make. > > ... so I did... and he did. > > Excellent support from Hi-Tech. > > Regards, > > Nigel > > > > > Harold Hallikainen wrote: > >> >> Wow! It really was a silicon bug! >> >> Harold >> >> >> > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist