Ken Pergola wrote: > For example, if I try to correct the error in the linker script by using > this for the PIC10F200: > > CODEPAGE NAME=.config START=0x1FF END=0x1FF PROTECTED > > I get the following error: > > ---- > MPLINK 3.80.03, Linker > Copyright (c) 2004 Microchip Technology Inc. > Error - section '.config' can not fit the absolute section. Section > '.config' start=0x00000fff, length=0x00000002 > Errors : 1 This points out the error in the __CONFIG directive. Note that it tried to put the config word at FFFh, which is definitely wrong. Apparently __CONFIG specifies both the address and the section name, and you get an error if this disagrees with the linker file. The only part of what you reported that doesn't make sense is that it worked in a real chip. I can see how MPLAB's bug could make it consistant with itself. Did you use config bits other than 1? Have you verified that any config bits set to 0 are actually in effect? Did the programmer wrap the address somehow or otherwise correct MPLAB's error? What programmer did you use? ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist