We have recently had a couple of devices (16F628) with faulty RAM addresses. Fortunately they were caught during quality control, but I'm a bit concerned that it could have a more subtle effect, if the fault had occurred in a different byte. Two bytes (0x74 and 0x78) had a 'sticky' 1 in bit 6. If I write 0xFF, I read 0xFF, if I write 0x00, I read 0x40. Has anyone come across this before? It happens constantly on 1 device, and happened intermittently on 3 others. I've tested over 20 from the same batch which have shown no faults. I could add RAM checking code to the device, but code space is short, as usual, and there would still be faults which are not detected. Nigel ************************************************************************************************* The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify the sender immediately and then delete this e-mail. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. ************************************************************************************************* -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu