Ivp, > More than likely a read-modify-write issue > > http://www.piclist.com/techref/readmodwrite.htm > > As Bob suggests, separate the port bit instructions > > Here's an illustrated example of how a h/w problem can be caused > by s/w that is too fast (especially on the PIC-like Scenix) > > http://www.sxlist.com/techref/scenix/sxrmw.htm It is separated and was working earlier on 16c54's. If I find a solution, I will post it. Cheers Ravi -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist