<?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>The NRF52832 did not halt after hardware Reset Pin Reset.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73447/the-nrf52832-did-not-halt-after-hardware-reset-pin-reset</link><description>Hi: 
 we set p21 as Hardware Reset Pin by config UICR.PSELRESET[0] = UICR. PSELRESET[0] = 21 
 when we use these code to check halt state, but always get DBG_HCSR zero value. 
 // put to debug 
 if (! swd_init_debug ()) { 
 return false ; 
 } 
 
 // Enable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Apr 2021 01:45:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73447/the-nrf52832-did-not-halt-after-hardware-reset-pin-reset" /><item><title>RE: The NRF52832 did not halt after hardware Reset Pin Reset.</title><link>https://devzone.nordicsemi.com/thread/303885?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 01:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb116a14-3d60-4da5-af03-122717dbd7e6</guid><dc:creator>wen jin zhang</dc:creator><description>&lt;p&gt;Hi Marte:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thanks for your help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; So the Debug Module(&lt;span&gt;CTRL-AP, AHB-AP, DAP bus interconnect, TPIU, and POWER&lt;/span&gt;) will be reset by Hardware Pin Reset.&amp;nbsp; Is there have workaround can keep these alive when it actived? such as config in UICR?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;BTW, re-initialize nrf52832 DAP will working on this case. But we like more&amp;nbsp;same behavior as other&amp;nbsp;company Cortex-M0+/M3/M4/M7 MCUs&amp;nbsp; solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The NRF52832 did not halt after hardware Reset Pin Reset.</title><link>https://devzone.nordicsemi.com/thread/303788?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 13:15:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8a6b799-37c5-4a74-ac66-09a264cc1137</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I asked one of our developers to clarify this.&lt;/p&gt;
&lt;p&gt;Pin reset does not reset the debug port, but it will reset the access ports and the debug logic in the ARM core. So if you look at the debug and trace overview&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/dif.html?cp=4_2_0_15#debugandtrace"&gt;here&lt;/a&gt;, then SW-DP will not be reset, but the following will be: CTRL-AP, AHB-AP, DAP bus interconnect, TPIU, and POWER.&lt;/p&gt;
&lt;p&gt;So what is happening in your case is that core debug is under Debug, and not SWJ-DP, so they are reset, as you can see from the table of reset behavior&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=4_2_0_17_7#unique_832471788"&gt;here&lt;/a&gt;. Because of this, the processor is no longer in debug mode and will therefore not stop at the breakpoint after a pin reset.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The NRF52832 did not halt after hardware Reset Pin Reset.</title><link>https://devzone.nordicsemi.com/thread/302755?ContentTypeID=1</link><pubDate>Wed, 31 Mar 2021 13:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c20d87dc-3c5c-4e81-823f-a983cdc891f0</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Due to Easter we are short on staff, and several of our experts are out of office. I will come back to you early next week.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>