ARM Technical Support Knowledge Articles

INITIATING A RESET

Applies to: General Topics

Answer


Information in this knowledgebase article applies to:


QUESTION

How can I reset my device, from within my program, if it does not have built-in provision for software reset?

ANSWER

If your device has a watchdog timer, you can initiate a reset from software by setting the timeout to the minimum value (such as 0xFFFF for an up counter, or 0x0000 for a down counter) and then starting the timer.

For example(in pseudocode):

WD_TIMEOUT = 0xFFFF;
WD_RESET_ENABLE = 1;
WD_RUN = 1;
while(1);

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2008-08-27 06:45:15

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential