On 28-Sep-11 22:12, Steve Smith wrote: > > This is a silly thing I have run out of ideas on.... > > Th define EE contents in code I have always used the following > > org 0x2100 ; address 0 of ee > dt 0f0h,0fh,b'01010101' ; F0,0F,55... ect > > For some reason on this chip when using abs code it fails with this error= :- > > Error - section '.org_3' can not fit the absolute section. Section '.org_= 3' > start=3D0x00002100, length=3D0x00000002 From MPASM Assembler Help: EEPROM Start Address by Device Most PIC1X MCUs: 0x2100 PIC18 MCUs: 0xF00000 PIC16F19XX MCUs: 0xF000 Try 0xf000. Djula > > >> From the help I know that the base address is right and it doesn't fail > until the dt is line is compiled. I have used the same code for years on > '877 ect and these don't fail. > > Thanks > > Steve > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .