<?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>NRF52 enters DebugMonitor mode by itself when changing RTC frequency</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43568/nrf52-enters-debugmonitor-mode-by-itself-when-changing-rtc-frequency</link><description>Hello, 
 I&amp;#39;m having a weird issue that I don&amp;#39;t really understand. 
 I am currently replacing an old timer-based time-keeping implementation for a new RTC-based implementation. 
 After changing the lowering the frequency of the RTC from 1024 to 32 Hz,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Feb 2019 07:27:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43568/nrf52-enters-debugmonitor-mode-by-itself-when-changing-rtc-frequency" /><item><title>RE: NRF52 enters DebugMonitor mode by itself when changing RTC frequency</title><link>https://devzone.nordicsemi.com/thread/170761?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2019 07:27:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d4848a4-3894-41ee-9bd5-4d0234a6476f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update. This appears to be a bug in Jlink commander. The 0x0B number is reserved for&amp;nbsp;the SVcall IRQ on all ICs based on the Cortex M4. Documentation of the IPSR register can be found in the&amp;nbsp;generic user guide from ARM (&lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553b/index.html"&gt;link&lt;/a&gt;), and the ISR numbers specific to nRF52 can be found in the nrf52.h/nrf528xx.h header.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 enters DebugMonitor mode by itself when changing RTC frequency</title><link>https://devzone.nordicsemi.com/thread/170661?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 14:12:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8514ad0c-ce6d-4467-9a40-0cbbc4443096</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;By the way, how do you know that 0x0B is SVCall IRQ and debug monitor is 0x0C? JLink was showing 00B (DebugMonitor) in the halt output. Where can I find that documentation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 enters DebugMonitor mode by itself when changing RTC frequency</title><link>https://devzone.nordicsemi.com/thread/170660?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 14:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d274efa5-abb0-48ef-baa5-efa6988a5ee7</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;I found the issue. It was that I was calling that function before the BLE stack initialization, and since the RTC requires the SoftDevice to be enabled in order to use the LF clock, it wasn&amp;#39;t working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 enters DebugMonitor mode by itself when changing RTC frequency</title><link>https://devzone.nordicsemi.com/thread/170620?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 12:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed3154fa-f5ff-4657-8a1c-37f986420ecc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;0x0B is the SVCall IRQ, debug mon is 0xC.&amp;nbsp;Does your program still get stuck in this interrupt, and does your program get past ble_stack_init()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>