<?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>Difference between &amp;quot;press a reset button&amp;quot; and &amp;quot;nrfjprog -f NRF52 -r &amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28755/difference-between-press-a-reset-button-and-nrfjprog--f-nrf52--r</link><description>Hello, 
 I ported nordic heart rate example to nuttx. I have peer_manager_init() in my codes.
After programming the device, I can connect and bond when I issue &amp;quot;nrfjprog -f NRF52 -r&amp;quot;.
However, if I press a reset button, it&amp;#39;ll have a hardfault error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Dec 2017 15:44:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28755/difference-between-press-a-reset-button-and-nrfjprog--f-nrf52--r" /><item><title>RE: Difference between "press a reset button" and "nrfjprog -f NRF52 -r "</title><link>https://devzone.nordicsemi.com/thread/113943?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2017 15:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f2c3009-70c4-4d3b-afe5-f00a66b4216c</guid><dc:creator>Mich</dc:creator><description>&lt;p&gt;Thanks, Hung Bui. Your information is very useful. I&amp;#39;ll do more research and debug&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difference between "press a reset button" and "nrfjprog -f NRF52 -r "</title><link>https://devzone.nordicsemi.com/thread/113942?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2017 15:00:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf529384-2a01-4b8e-8e75-31c3c0f6f75c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mich,&lt;/p&gt;
&lt;p&gt;&lt;code&gt;nrfjprog -r&lt;/code&gt; will trigger a softreset via (SysResetReq).  if you type &amp;quot;nrfjprog&amp;quot; you can find the description of &lt;code&gt;nrfjprog -r&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The pin reset is the physical pin reset. You can find the difference between different reset source at section 18.8 in the nRF52832 Product Spec.&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have much experience with nuttx to help you on why you get the hardfault error. You may want to trace back using &lt;a href="https://devzone.nordicsemi.com/question/41106/how-to-trace-back-hard-fault-handler/"&gt;the stack handler&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>