Now, you have not been reading the replies in this thread. Someone else told you to add address '0000' to your STARTUP CODE directive several days ago. Best Regards, Jan-Erik. Lembit Soobik wrote : > Thank you! > that's what I was looking for, after finding out what > it does after reset. :) > > Lembit > ----- Original Message ----- > From: "Tamas Rudnai" > To: "Microcontroller discussion list - Public." > Sent: Sunday, September 10, 2006 12:55 PM > Subject: Re: [PIC] defining data in Program Memory > > > > That's the problem then! > > > > Replace this > > STARTUP CODE > > > > to this > > STARTUP CODE 0x0000 > > > > Tamas > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist