<?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>RTC during debugging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97007/rtc-during-debugging</link><description>My application uses the date_time library to keep track of time. This library is also used to generate alarms on a short, medium and long basis. 
 My problem is that the RTC continues when I&amp;#39;m debugging, thus interfering with the flow of the alarms. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Mar 2023 13:23:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97007/rtc-during-debugging" /><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/414144?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 13:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a0c55b3-76fd-4fd7-8a16-db85f02ffbae</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bert,&lt;/p&gt;
&lt;p&gt;Sorry again about the disappointment. If&amp;nbsp;you have a strong need this feature, please mention it to&amp;nbsp;Nordic&amp;#39;s local sales representative.&amp;nbsp;I will also submit this&amp;nbsp;case as a feature request to our teams. If they find the request compelling, it might be added to future Nordic chips.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/414112?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 12:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29b6995f-241e-434d-98f3-f0fd1fa62178</guid><dc:creator>Bert Baselmans</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. Unfortunately, I was hoping for a different result. Now I will have to modify my code as soon as I start debugging.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Bert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/413922?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 15:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42fa073b-04cd-47f4-bcb3-31fd363d9004</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bert,&lt;/p&gt;
&lt;p&gt;I got confirmation from a nRF9160 IC engineer. The RTC peripheral there also does not support stopping at PC breakpoint, only the WDT does.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t looked into how to do it yet, but you can stop the RTC with the STOP task using the debugger by writing to the register. That said, I&amp;nbsp;am not sure if this is helpful, since it is not an automatic halt of the RTC, and I don&amp;#39;t know if you can bind&amp;nbsp;such an action to a breakpoint stop.&lt;/p&gt;
&lt;p&gt;Sorry I could not come back with&amp;nbsp;better news.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/413603?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 15:21:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcc183c4-2690-43bf-97ae-574a54998261</guid><dc:creator>Bert Baselmans</dc:creator><description>&lt;p&gt;Thanks Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/413580?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 14:35:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07443514-8220-4685-ac16-d76c692a11db</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;just want you to know I am still on this case and is pinging our IC team every other day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/413164?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 08:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc080d71-f935-4f86-8f58-cec1747e12b5</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bert,&lt;/p&gt;
&lt;p&gt;A quick update. I was able to contact an IC engineer familiar with nRF51 and 52, and at least on those SoC series, RTC cannot be halt during debugging (but WDT can be).&lt;/p&gt;
&lt;p&gt;I will continue my search for the nRF9160 person.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/412531?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 13:47:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b356fa0-c851-4e8c-a0ba-a02004c9c29a</guid><dc:creator>Bert Baselmans</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;Ok, thanks. I will keep waiting&lt;/p&gt;
&lt;p&gt;Bert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/412494?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 12:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5dcb062-9514-4f6c-8499-15a4abf8c5f4</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bert,&lt;/p&gt;
&lt;p&gt;Thank you for the information. On my end, I am still waiting for some support from our toolchain team; tried to ping them again today for that. I will keep you updated every 2-3 days.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/412302?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 14:10:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43001831-6b94-42e1-bb6e-37291d9e131d</guid><dc:creator>Bert Baselmans</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;br /&gt; I am using the standard nRF Debug as described. I also use the Segger Debugger. Both in combination with J-Trace Pro Cortex-M&lt;/p&gt;
&lt;p&gt;Bert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC during debugging</title><link>https://devzone.nordicsemi.com/thread/411895?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 10:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d459e6e2-0301-48c7-8774-048b84cc0812</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Bert,&lt;/p&gt;
&lt;p&gt;Let me ask our toolchain team and get back to you. How are you doing the debugging, by the way? Are you using nRF Debug as described &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/gs_testing.html#debugging-an-application"&gt;here&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>