And... Is there a software RESET command? And if so, does *that* work as expected? You can monitor some other I/O pin and if that changes execute the RESET command. Just as a test... Jan-Erik S=F6derholm > -----Ursprungligt meddelande----- > Fr=E5n: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] F=F6r Ru= ben > J=F6nsson > Skickat: den 8 april 2015 13:05 > Till: Microcontroller discussion list - Public. > =C4mne: Re: [PIC] dsPIC /MCLR reset >=20 > Does it work if you put it in reset (hold in reset and release from > reset) from the IDE with a programmer/debugger attached? >=20 > Other things that comes to mind: > All VDD pins (including AVDD) connected to VDD. > All VSS pins (including AVSS) connected to VSS. > VCap present and of required type (ESR) and value? > JTAG disabled (so it doesn't accidentally enter JTAG operation). > Does oscillator stop when pulling MCLR low? > Pullup on MCLR. > Any power surges when going out of reset? >=20 > /Ruben >=20 > > > Perhaps you have a zapped MCLR pin. Have you tried with > > > another chip? > > > > Yes, three straight out of the tube and a couple of older ones > > from a different batch > > > > Interestingly, if /MCLR is grounded when power is applied > > the LCD doesn't initialise. Nor does it when you release the > > button for /MCLR to go to its usual high. Using the LATB,0 > > markers to view progress, it seems code is not being executed > > at all. The oscillator (HS crystal) is going though. The power > > needs to be cycled with /MCLR high to get the s/w running > > as you'd normally expect it to. > > > > So the button is doing "something". I must be missing a h/w > > directive somewhere but the path between pin and internal > > reset signal is pretty straight-forward > > > > Joe > > >=20 > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .