PDA

View Full Version : reset question



cncmachineguy
- 21st February 2011, 17:46
Does anyone know if there is a difference between a MCLR reset and cycling the power?

And does PBP have a "reset" command? I know I can use


ASM
RESET
ENDASM


but can I do it directly with PBP?

Darrel Taylor
- 21st February 2011, 18:18
Yes, there are differences between the different RESET's.

The Initialization Conditions table in the datasheet shows the differences.

5182

> but can I do it directly with PBP?

@ RESET
@ RESET only works on 18F's and 16F1's.
10F, 12F, 16F don't have a RESET instruction.

cncmachineguy
- 21st February 2011, 19:00
Thanks Darrel. Seems I always forget about @.

The 16F1's seem to be my new favorite flavor. I guess I soon need to migrate to the 18's.