I'm pretty sure its really all the new PIC16F1xxx chips because they can=20 have much more program memory than the PIC16Fxxx chips. -- Bob Ammerman RAm Systems ----- Original Message -----=20 From: "Steve Smith" To: "'Microcontroller discussion list - Public.'" Sent: Wednesday, September 28, 2011 5:01 PM Subject: RE: [PIC] PIC16F1827 EE declaration in code. > Thanks > > org 0f000h > dt b'00001111' > > Works... on a 16F18xx its not an F19xx so there is a little inconsistency > there... > > This isn't what the help file on MPlab says... > > > Thanks > Steve > > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf= =20 > Of > Djula Djarmati > Sent: 28 September 2011 21:55 > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] PIC16F1827 EE declaration in code. > > 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 > > --=20 > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist=20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .