<?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>Program is frozen after starting a timer with SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60733/program-is-frozen-after-starting-a-timer-with-softdevice</link><description>Using: nRF52840-QIAA(build code: C0) 1024kB, GCC 8.2.1, Debug build (-O0), Softdevice S140 7.0.1, SDK v16.0.0 
 Source code: 
 
 In UART console i see: 
 &amp;lt;info&amp;gt; app_timer: RTC: initialized. &amp;lt;info&amp;gt; app: Before timer start 
 So program freezed/crashed in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Apr 2020 04:42:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60733/program-is-frozen-after-starting-a-timer-with-softdevice" /><item><title>RE: Program is frozen after starting a timer with SoftDevice</title><link>https://devzone.nordicsemi.com/thread/246956?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 04:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fa370ad-869a-4899-92da-798d048d1575</guid><dc:creator>TereCratify</dc:creator><description>&lt;p&gt;Yes, in map file function RTC1_IRQHandler comes from gcc_startup_nrf52840.S file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It seems that i messed up order of source files in process of migration to CMake, and gcc_startup file was moved to the bottom in sources list. When i moved&amp;nbsp;gcc_startup to the top timer started working, thanks for the help !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program is frozen after starting a timer with SoftDevice</title><link>https://devzone.nordicsemi.com/thread/246802?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 12:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a798504d-cdff-4d70-883e-e5d794e780ab</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;IRQ #17 is for RTC1, so it is a bit strange that the program appears to end up in the WDT handler (IRQn 16) instead.&lt;/p&gt;
&lt;p&gt;Could you check the *.map file to see if the RTC1_IRQHandler is being included in the drv_rtc.o object, and if it does, please check if this address + thumb bit matches the address at &amp;lt;vector table start&amp;gt; + 0x84.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-910f9504bb054bc5859e21ee4dcd2280/pastedimage1587989073286v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>