<?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>enable/disable breakpoint in code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60275/enable-disable-breakpoint-in-code</link><description>Hello, 
 An alternate title for this issue is: 
 conditional data access breakpoints not working (SES or Keil) 
 I have been working with Segger to resolve condition breakpoint operation in Segger Embedded Studio (SES). They believe what I am trying to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Apr 2020 06:37:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60275/enable-disable-breakpoint-in-code" /><item><title>RE: enable/disable breakpoint in code</title><link>https://devzone.nordicsemi.com/thread/245700?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 06:37:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01804426-00d7-44d9-a3ce-6850558165e0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update. I&amp;#39;m glad to hear that you were able to locate the problem.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable/disable breakpoint in code</title><link>https://devzone.nordicsemi.com/thread/245642?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 17:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b1e32a7-83a9-4970-aa5e-163af910c79f</guid><dc:creator>Allen</dc:creator><description>&lt;p&gt;Yes, this is related to that thread.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;At it turns out, this was a pointer issue which happened to be overwriting the timer structure. It certainly would be useful to find a workable debug technique for problems like this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable/disable breakpoint in code</title><link>https://devzone.nordicsemi.com/thread/245278?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 14:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce16896-369e-4f75-976b-d2b41ae8cae6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Each (DWT) comparator instance comes with one compare register (&lt;a title="Debug and trace" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/dif.html?cp=4_2_0_15#debugandtrace"&gt;Debug and trace&lt;/a&gt;&amp;nbsp;+ &lt;a href="https://static.docs.arm.com/ddi0403/e/DDI0403E_d_armv7m_arm.pdf?_ga=2.5032883.1666656499.1587107759-1615082246.1524227266"&gt;ARM&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt; v7-M Architecture Reference Manual C1.8&lt;/a&gt;). So I don&amp;#39;t believe it&amp;#39;s possible to trigger a breakpoint based on multiple address inputs&amp;nbsp;(ie both instruction address &amp;amp; data address in this case), unfortunately.&amp;nbsp;&lt;/p&gt;
[quote user=""]We are currently suspecting that the type of data breakpoints in the device you’re using is limited (Data Ranges and PC&amp;gt; not possible).[/quote]
&lt;p&gt;For address matching, you can use a mask to ignore a portion of the bits in the address and thus allow you to monitor&amp;nbsp;a range of addresses.&amp;nbsp; However, specifying range limits with &amp;quot;larger than&amp;quot; and &amp;quot;smaller than&amp;quot; is not supported as far as I can tell.&lt;/p&gt;
&lt;p&gt;I have not been able to find a way to programmatically disable breakpoints set by the debugger either (sorry). It seems as if the debug control registers are read-only while in debug interface mode.&amp;nbsp;At least the appeared to be&amp;nbsp;when I&amp;nbsp;tried it (control settings didn&amp;#39;t change).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this related to the issue you reported in this other thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/60274/request-for-review-of-app_timer2-backport-to-sdk14-0"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/60274/request-for-review-of-app_timer2-backport-to-sdk14-0&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>