solarwind wrote: > I don't understand what you mean by "That LVP is disabled in fuses". Somewhere there is a way in your compiler to disable LVP. In the tools I use, it is almost always called fuses. For instance, the fuses I have set on my '886 are: This is in CCS C, by the way: #FUSES NOWDT //No Watch Dog Timer #FUSES INTRC_IO //Internal RC Osc, no CLKOUT #FUSES PUT //Power Up Timer #FUSES MCLR //Master Clear pin enabled #FUSES NOPROTECT //Code not protected from reading #FUSES NOCPD //No EE protection #FUSES BROWNOUT //Reset when brownout detected #FUSES NOIESO //Internal External Switch Over mode enabled #FUSES FCMEN //Fail-safe clock monitor enabled #FUSES NOLVP //Low Voltage Programming on B3(PIC16) or B5(PIC18) #FUSES NODEBUG //No Debug mode for ICD #FUSES NOWRT //Program memory not write protected #FUSES BORV21 //Brownout reset at 2.1V #FUSES INTRC_IO //Internal RC oscillator Note that the comments may not match the exact state of the comments... for instance NOIESO really means Internal External Switch Over mode disabled, not enabled... That comes from me being lazy and not changing the comments from the default that was generated by CCS. Generally if I'm writing comments I'll not include the state itself in the comments. Also, in regards to pullups on every pin: > This is going to be loads of fun when I get around to my 100 pin PIC32 > TQFP chip... > Yep, if you really need to do it. In my case, because I really didn't want to populate the board with ~20 resistors that I didn't need on thousands of devices, I spent the time to go through every pin and every fuse and read the datasheet and understand the ramifications of each setting which affects that pin. In the end, I discovered that LVP was not set correctly and I hadn't grounded PGM. On another product, I discovered that there was an additional pin function on one of the pins which was a digital input which was really sensitive to floating, but was buried in the datasheet that it was in that mode by default. If you, for sure, set every unused pin to an output, and you are willing to risk that a floating pin will cause the processor not to run long enough to actually set the pins to outputs (and as a result, your application will not start on occasion), then, yes you can skip the resistors. Otherwise, they all should be there. That also doesn't eliminate the requirement to go through the datasheet pin by pin and make sure everything is disabled or enabled correctly. -forrest -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist