Searching \ for '[PIC]:Any register for software RESET the 16f84' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=16F
Search entire site for: 'Any register for software RESET the 16f84'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]:Any register for software RESET the 16f84'
2000\11\28@210221 by William

flavicon
face
Dear all Piclisters,

Is the any register that I can write to, to RESET the PIC16F84.

Thanks

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2000\11\28@211004 by Tony Nixon

flavicon
picon face
William wrote:
>
> Dear all Piclisters,
>
> Is the any register that I can write to, to RESET the PIC16F84.
>
> Thanks


No, but you may get away with

  goto start    ; 0000h


--
Best regards

Tony

mICro's
http://www.picnpoke.com
spam_OUTsalesTakeThisOuTspampicnpoke.com

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2000\11\28@211217 by William

flavicon
face
ear all Piclisters,

Is the any register that I can write to, to RESET the PIC16F84.

Because I am doing a IR keypad. Key-scanning is always running
(looping). When a key is pressed once, it just sends out a IR pulse.


Problem that I found with my design is, when I continueously pressed
the same button, program supposes to send out IR pulses contineuosly
periodically.

But the pulses are not periodically after 14 to 15 pulses. I can't
figure
out what is wrong. Now, I try to reset by software after 10 contineous
pulses, hope that this can solve my problem.

Anyone knows how to do SOFTWARE RESET.


Thanks

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2000\11\29@003519 by Stuart O'Reilly

flavicon
face
How about you enable the watch dog timer and then enter a loop without
reseting the watchdog timer.
Regards
Stuart

William wrote:
{Quote hidden}

--
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


2000\11\29@051637 by Simon Nield

flavicon
face
this code:
www.piclist.com/techref/microchip/hrdrstsw.htm
forces a reset on a 16f877.

i don't think you will need to change much to get it to work on your 16f84, although i am not
familiar with these parts.

Regards,
Simon

--
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


2000\11\29@071652 by Bob Ammerman

picon face
See the recent thread about forcing a reset.  I believe there is code on
piclist.com.

Better yet: find out what is wrong with your code and fix it.

Perhaps you already have the watchdog enabled and are not resetting it? I'm
not sure why it wouldn't reset properly in that case. It might have
something to do with your initialization code and/or keyboard scanning code
(ie: if a key is down at reset things get confused).

Bob Ammerman
RAm Systems
(contract development of high performance, high function, low-level
software)

--
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


2000\11\29@080536 by mike

flavicon
face
On Wed, 29 Nov 2000 10:14:28 +0800, you wrote:

>ear all Piclisters,
>
>Is the any register that I can write to, to RESET the PIC16F84.
>
>Because I am doing a IR keypad. Key-scanning is always running
>(looping). When a key is pressed once, it just sends out a IR pulse.
>
>
>Problem that I found with my design is, when I continueously pressed
>the same button, program supposes to send out IR pulses contineuosly
>periodically.
>
>But the pulses are not periodically after 14 to 15 pulses. I can't
>figure
>out what is wrong. Now, I try to reset by software after 10 contineous
>pulses, hope that this can solve my problem.
>
>Anyone knows how to do SOFTWARE RESET.
It would be much better to track down the actual problem, rather than
patch round it by resetting the chip.
Are you getting watchdog timeouts ?
Is the supply drooping because of the power drawn by the IR LEDs ?

--
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


2000\11\29@090338 by Olin Lathrop

face picon face
> But the pulses are not periodically after 14 to 15 pulses. I can't
> figure
> out what is wrong. Now, I try to reset by software after 10 contineous
> pulses, hope that this can solve my problem.
>
> Anyone knows how to do SOFTWARE RESET.

I think you would be far better off trying to figure out why the pulses stop
than trying to cover up the bug by resetting the system.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, .....olinKILLspamspam@spam@embedinc.com, http://www.embedinc.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


2000\11\29@094308 by Morgan Olsson

picon face
Simon Nield wrote:

>this code:
>www.piclist.com/techref/microchip/hrdrstsw.htm
>forces a reset on a 16f877.
>
>i don't think you will need to change much to get it to work on your 16f84, although i am not
>familiar with these parts.

And if you try it, please report if it works or what modifications is needed for it to wok on a F84.

On the other hand, it is better to fix whatever is broke in your code!
Or could it be that the current draw is so high that ther is low supply current or down-peaks on the supply due to driving the IR emitter(s), that the PIC executes code erroneously?

Try adding a large tantalum cap on the supply.

Regards
/Morgan

--
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


More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...