>One can never be 100% sure of their application code :-) > >- The Watchdog timer is disabled. > >- My test code oscillator is the first thing that executes: > > ;test beeper - place this anywhere to see if code reaches here. > BEEPER MOVLW B'11101111';GP4 Output > TRIS GPIO > BEEPEND BSF GPIO,4 ;Make pin high > NOP > BCF GPIO,4 ;Make pin low > GOTO BEEPEND > >- Will the pullups affect the "beeper" code above? All the pins will be... >- The 3V VDD is from two AA batteries... > >Anthony Tekatch > >tekatcha@pop.ghbbs.com I don't see how pullups would affect this code and open inputs need time to drift. As for the supply, I often use 2*AAA batteries to power things. Never had any problems yet. Maybe my initial guesses weren't that good...I think I'd begin looking at the incomplete erasing theory! For interests sake - my Datarase II will erase the program memory of a '508 JW in about 4-5 mins, the ID codes and OscCal word in about 9-10 minutes when I read the contents at 5V. By design, my programmer always checks at 2.5V (the min spec), though, and doesn't give an OK on a 'blank check' until I get to 16-19 minutes. For this reason, I always give it 20 minutes+ (depends how busy I am... I'll have to make a PIC timer some day...). Jim