On Thu, 2004-10-14 at 16:07, Anthony Van Herrewege wrote: > If MPLAB simulates the code and everything works, can I be 100% sure > that the code will behave the same way on the PIC? I'm asking since > the PIC12C509A is an OTP device, so I have to be pretty sure that it > will work the same as simulated when I burn it. Most definitely not. I'd give it more like a 25% chance. The simulator can only confirm that the code you put in the PIC will operate the same on the hardware. But there are a multitude of issues when you get to the real hardware that can mess things up. You mention you are using an OTP device, why not get the JW (windowed) version that allows you to reprogram in case there is an issue? As another option what about switching to the 12F675 or 12F629, both are very similar to the 509, except they're flash and have more features (if you want them). TTYL ----------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist