<?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>How to avoid NRF faults after breakpoints?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57835/how-to-avoid-nrf-faults-after-breakpoints</link><description>As most developers using Nordic&amp;#39;s SoftDevice quickly find out, halting the processor (e.g. hitting a break point) results in a fault and requires a reboot. This makes debugging on Nordic&amp;#39;s platform infuriating. Yes, we can use RTT or constantly restart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Apr 2020 13:11:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57835/how-to-avoid-nrf-faults-after-breakpoints" /><item><title>RE: How to avoid NRF faults after breakpoints?</title><link>https://devzone.nordicsemi.com/thread/243410?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 13:11:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a031e58c-5d30-41d0-8e00-c15e4ff3458c</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Thank you! Good to know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid NRF faults after breakpoints?</title><link>https://devzone.nordicsemi.com/thread/242792?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 21:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa46501d-f2ca-4a25-8677-805c1d01d34e</guid><dc:creator>jcondon</dc:creator><description>&lt;p&gt;Heads up to everyone reading this in the future, GCC file extensions are case sensitive. The SES version incorrectly uses &amp;quot;.s&amp;quot; where GCC requires it to be &amp;quot;.S&amp;quot;&amp;nbsp;to compile&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid NRF faults after breakpoints?</title><link>https://devzone.nordicsemi.com/thread/236458?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 09:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81e43662-dfa8-4238-9d7a-6fb409db9c1c</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You can ask Segger for the necessary files. Porting it is not that hard. You can read my tutorial for an explanation for how it works and do the necessary porting. Segger can also help you get it set up.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve done so myself, but I don&amp;#39;t have the time to work on the MMD tutorial for the next few weeks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid NRF faults after breakpoints?</title><link>https://devzone.nordicsemi.com/thread/236091?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 21:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb52931c-9734-4c95-a238-51ab26569497</guid><dc:creator>jcondon</dc:creator><description>&lt;p&gt;It looks like that code is written for the SES and Keil/ARM compiler... is there a version that is meant for the GCC compiler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid NRF faults after breakpoints?</title><link>https://devzone.nordicsemi.com/thread/234875?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2020 11:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbc09a4c-9fe2-4216-aad8-477cd90c1ad7</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;No, not really. But there is another way.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Monitor Mode Debugging allows you to halt all CPU activity below a set execution priority, by jumping into an ISR with an endless loop. The SoftDevice will have a higher execution priority and will preempt this ISR, but the application will not. Segger has implemented a feature where it will execute this blocking ISR whenever it reaches a breakpoint or is halted via Jlink driver commands from your IDE. Though you will need a license for this feature, you can try it out for free.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Check out&amp;nbsp;our&amp;nbsp;tutorial on&amp;nbsp;MMD&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/j-link-monitoring-mode-debugging"&gt;https://github.com/NordicPlayground/j-link-monitoring-mode-debugging&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>