Is it at all possible that occasionally on power-up, the program in a PIC (I'm using a 16c71) begins NOT at PCL=0? In my program, all I have is some setup code to initialize the ports, disable interrupts, and set some literals. Immediately after this code, I turn a LED on. Sometimes when I start up after powering the PIC down, I get no outputs at all, and the LED doesn't even turn on. I'm sure power is getting to the PIC, but it seems not to start up at the beginning of the program sometimes. Anyone have any ideas on this? It's pretty frustrating to power up only to have some odd sequence of code running, then have to continually power down and up until it appears to work. By the way, it didn't do this until I added some I^2C code in the program, but this code isn't accessed until later in the program. I'm wondering if there might be something wrong with the port initialization with the memory device attached. I'm really grasping at straws looking for answers. Thanks for any advice. _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics