> any idea? Can't see a problem with the code......must be something else (duh) I seriously doubt there's an issue with writing to RAM per se. That would undermine the whole operation of the PIC. There'll be a non- obvious problem (non-obvious until you see what it is) lurking just out of sight -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist