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