You are right, Jan-Eric, I have read it now, and even worse, it is not what I intended. I intended to write and read the static RAM. I had read 5.3,... and assumed the sample program was using RAM. See how little I know :( Is there a sample code snippet somewhere how to read/write static RAM? Thank you for your patience Lembit ----- Original Message ----- From: "Jan-Erik Soderholm" To: Sent: Monday, September 04, 2006 7:45 PM Subject: RE: [PIC] MPASM - table write problem 18F4520 > It's not clear if you have even *read* chap 6.4 and 6.5 in the > datasheet !!?? > > Have you read Read 6.5.1 "Flash program memoery write sequence" ???? > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.11.7/436 - Release Date: 01.09.2006 > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist