<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Software Reset problem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/21213/software-reset-problem</link><description> 
Hi All, 
I am facing software reset problem in the XC164.I am explaining the
case in detail.Fortunately i am initialising three lEDS&amp;#39;s on every
powerUp.While during the execution of the application i observed that
unfortunately sometimes that three</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Software Reset problem</title><link>https://community.arm.com/thread/113317?ContentTypeID=1</link><pubDate>Thu, 18 Oct 2007 01:45:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:701dfb69-8490-4b60-b32c-8b586ca6f400</guid><dc:creator>THANGADURAI A</dc:creator><description>&lt;p&gt;&lt;p&gt;
Dear Sir,&lt;br /&gt;
I checked the SYSSTAT register.In that register the bit corresponding
to the Harware Reset is in SET condition.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset problem</title><link>https://community.arm.com/thread/113316?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2007 11:29:43 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:704432d1-b50c-48cf-afae-2443c741a6c0</guid><dc:creator>THANGADURAI A</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;br /&gt;
Actually i had disabled the watch dog.So i couldnt observe the
SYSSTAT register.&lt;/p&gt;

&lt;p&gt;
Regards,Thangadurai.A&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset problem</title><link>https://community.arm.com/thread/99778?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2007 10:19:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9a7a417a-5eb1-47c3-98c7-ff24e269278c</guid><dc:creator>Chris Wunderlich</dc:creator><description>&lt;p&gt;&lt;p&gt;
The system status register &lt;b&gt;SYSSTAT&lt;/b&gt; indicates the status of
the clock generation unit &lt;i&gt;and the recent reset with a number of
flags&lt;/i&gt;.&lt;/p&gt;

&lt;p&gt;
What about the watchdog? It is enabled out of reset unless you
explicitly disable it. What is your configuration?&lt;/p&gt;

&lt;p&gt;
You need to provide more detailed information to your problem
otherwise no constructive help can be given.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset problem</title><link>https://community.arm.com/thread/75602?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2007 09:57:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ec93e9e5-30aa-44cd-9d79-3b319f52a152</guid><dc:creator>THANGADURAI A</dc:creator><description>&lt;p&gt;&lt;p&gt;
Dear sir,&lt;br /&gt;
At first i suspected that this reset may occur due to some external
harware interrupt signal.So i put while loop in all the unknown
interrupts or Trap interrupts service routine to fix a bug.But the
control didnt get hang anywhere in this loop but the software reset.I
was amazed with that.Suddenly i had a doubt that it may be due to the
supply voltage fluctuation.So i put a supply voltge waveform in a
scope and observed while during the reset.But ididnt observe any
fluctuation in the supply voltage,the microcontroller is consuming
constatnt voltage of 5 volt&amp;gt;then i observed the hardware reset pin
which is always 1 since it is active low which indicates that its not
an hardware reset signal.Then i am suspecting the software reset but
i dont know how to fix that bug....&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset problem</title><link>https://community.arm.com/thread/99782?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2007 09:48:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:977795e6-5038-457c-8aaa-501e0aa593e7</guid><dc:creator>Chris Wunderlich</dc:creator><description>&lt;p&gt;&lt;p&gt;
Can you read the value of the &lt;b&gt;SYSSTAT&lt;/b&gt; register to see the
status?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset problem</title><link>https://community.arm.com/thread/75601?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2007 09:20:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4e00bedb-1e33-42e0-95a9-cdc2e5bffd6f</guid><dc:creator>THANGADURAI A</dc:creator><description>&lt;p&gt;&lt;p&gt;
Dear sir,&lt;br /&gt;
In debugger i put break point at the start up code LED
initialisation, i got the control there.So i concluded that its
getting reset.&lt;/p&gt;

&lt;p&gt;
Regards,Thangadurai.A&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset problem</title><link>https://community.arm.com/thread/48766?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2007 05:35:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bd0668c4-1773-4eac-8671-6b5f299eb502</guid><dc:creator>Per Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
How do you know that you have a reset?&lt;/p&gt;

&lt;p&gt;
Have you verified that you actually run the startup code multiple
times? The LED state will also change if some broken software changes
the state/config for the corresponding signal pins.&lt;/p&gt;

&lt;p&gt;
I&amp;#39;m not sure if you can see any signal on the external reset pin
if the chip performs a watchdog reset or possibly a brownout
reset.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>