On Tue, Jun 21, 2011 at 9:35 PM, David Duffy (AVD) wrote: > The chip is actually a PIC18F45K22. =A0I was working on another board whe= n > I wrote my email ! > > I've just checked and ANSELx are not being cleared. =A0Looks like I need > to learn more about the BSR. I'm currently working on an 18F25K22, the smaller sibling to yours. Just a heads up, one thing I've learned to check for is that across the various 18F chips the SFRs that are located in the access bank sometimes change. That means while you think everything is taken care of because you're in access, the register you want (and indeed used to use in the access bank on some other chip) isn't in the access bank on that chip so you're writing to the incorrect register. Josh --=20 A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. =A0 =A0 =A0 =A0 -Douglas Adams --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .