<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hardlock Issue (no GPIOTE)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1602/hardlock-issue-no-gpiote</link><description>I&amp;#39;m completely out of ideas. 
 I&amp;#39;ve been developing a server for some time now based loosely on the ble_app_hrs sample using the 5.2.1 SD. Things have been going reasonably well.
Things began to get weird when I attempted to add my own IRQ handlers</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Feb 2014 16:23:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1602/hardlock-issue-no-gpiote" /><item><title>RE: Hardlock Issue (no GPIOTE)</title><link>https://devzone.nordicsemi.com/thread/7076?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2014 16:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f9e7700-3e22-4b2b-814e-4e6dc8e64945</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Which toolchain and IDE do you use? Can you please supply me the complete project you&amp;#39;re working with? It sounds as if this case may be easier to handle as a regular support case, since it isn&amp;#39;t as much a single question/answer, so I suggest that you create such case, uploading your complete project, so that I can test it here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardlock Issue (no GPIOTE)</title><link>https://devzone.nordicsemi.com/thread/7075?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2014 18:25:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41c73317-4873-4e70-91f6-11900321cb77</guid><dc:creator>Gerry Ortoli</dc:creator><description>&lt;p&gt;Thank you for responding.
Sorry if I wasn&amp;#39;t clear in my original description but I&amp;#39;ve removed &lt;em&gt;all&lt;/em&gt; of my IRQ changes &amp;amp; still have the problem. The code that&amp;#39;s left does not (intentionally) do anything with GPIOTE. I had been thinking of ways to leverage PPI but fortunately have done nothing with it, ever.&lt;/p&gt;
&lt;p&gt;I can breakpoint on the entry to app_error_handler(). The call stack indicates arrival from battery_level_update(). This portion of the code is unchanged from ble_app_hrs sample.&lt;/p&gt;
&lt;p&gt;For lack of any better idea, I removed the application timer that periodically calls battery_level_update(). What I did was remove the definition of the associated app timer (from timers_init) as well as the timer start (from application_timers_start). I did a clean and rebuild all. Interestingly, the call stack continues to show the battery_level_update preceding the app_error_handler break.  (huh?!)&lt;/p&gt;
&lt;p&gt;I used the nRFgo Studio to erase the chip, then replaced the SD, finally replaced the application with a known-good binary from November. The device briefly shows up on BTLE, then hangs. Lastly, I made certain the SD image I&amp;#39;m using is identical to the original download (it is).&lt;/p&gt;
&lt;p&gt;If I can trust the nRFgo Studio full chip erase, then at this point I must consider a hardware failure. Any ideas what could have happened to cause this situation? I only have 1 other prototype &amp;amp; am hesitant to risk it until I know more.&lt;/p&gt;
&lt;p&gt;Thanks again in advance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardlock Issue (no GPIOTE)</title><link>https://devzone.nordicsemi.com/thread/7074?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2014 10:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5dd2563-4286-489c-9e4b-9c7d9de31883</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Could it be that the problem you&amp;#39;re seeing is &lt;a href="https://devzone.nordicsemi.com/index.php/how-to-redefine-ppi-tasks-inside-a-timer-interrupt#reply-804"&gt;this&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>