Thanks for the tip Marcel. Turns out it's not the PIC's fault - the values it is reading are actually changing (i.e. problem on the board somewhere else related to powerup, but not related to the PIC powerup) - sorry to bug the list for something I rushed to judgement on. Thanks, Tony Marcel Duchamp wrote: > On 3/4/2010 10:20 AM, Tony Vandiver wrote: > >> I've got a PIC24FJ128GB110 part that's doing something a little wierd. >> I had all the code working on the bench and was typically resetting via >> either the ICD2 or the RealIce, and for part of its job, the board is >> reading 4 a2d inputs. I pulled the unit off the programmer and reset by >> applying power (POR), and 2 of the 4 a2d inputs are reading about 1/3 of >> what they did when reset via MCLR. If I physically pull MCLR low while >> powered up, everything works as expected again after the reset. I'm >> going to get to the bottom of it, but I wanted to start documenting this >> and if this sounds familiar to anyone, please let me know. >> >> Thanks, >> >> Tony >> >> > Check your Vcc risetime; if it's too slow, the chip may not get a good > reset. > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist