<?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>Random reset when ble advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63172/random-reset-when-ble-advertising</link><description>Hi everyone! 
 While testing ble functionalities, I have noticed random resets during advertising operations. 
 My custom board is defined to make infinite advertising periods ( Flags : BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE, TimeOut: 0). 
 When</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Jul 2020 05:53:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63172/random-reset-when-ble-advertising" /><item><title>RE: Random reset when ble advertising</title><link>https://devzone.nordicsemi.com/thread/258901?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2020 05:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3f185f6-6113-4809-8da5-934d0b8e7568</guid><dc:creator>LMf</dc:creator><description>&lt;p&gt;Hi! Just to close this ticket.&lt;/p&gt;
&lt;p&gt;I read the RESETREAS register as you suggested, but I also tried to search the main reason for the reset.&lt;/p&gt;
&lt;p&gt;Finally, it seems that it is something related with this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44446/soft-device-fault-diagnosis-assistance-nrf52832/174613#174613"&gt;ticket&amp;nbsp; &amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I upgraded&amp;nbsp; softdevice&amp;nbsp;&lt;span&gt;s132_nrf52_4.0.3 to&amp;nbsp;softdevice 4.0.5&amp;nbsp; and I haven&amp;#39;t seen the error anymore. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I will continue testing with others version to stay at the most recent/compatible with my program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random reset when ble advertising</title><link>https://devzone.nordicsemi.com/thread/257582?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 12:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c386307a-1093-48ed-84b6-1b7af77ebb66</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you read the RESETREAS register after a reset and share your code?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random reset when ble advertising</title><link>https://devzone.nordicsemi.com/thread/257524?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 09:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a14ded1-0eb2-4e7c-881d-fdc69d6d7f68</guid><dc:creator>LMf</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK S132 v4.0.3. I don&amp;#39;t use watchdog but I tried to debug using other methods.&lt;/p&gt;
&lt;p&gt;First, writing in a non-volatile variable to save the information after reset.and second,a SDCard which writes when radio_event_handler is on or off and and second&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When using the SD error happens in both situations (on and off). The variable in RAM shows the same behaviour although sometimes it gets corrupt.&lt;/p&gt;
&lt;p&gt;I also tried with intervals, when it reached&amp;nbsp;BLE_ADV_EVT_IDLE, I used ble_start_advertising to start again.&lt;/p&gt;
&lt;p&gt;I tried both fast and slow advertising and the result is the same. The thing is that sometimes you have to wait many hours until reset happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Random reset when ble advertising</title><link>https://devzone.nordicsemi.com/thread/257519?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 09:25:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c43d284-49b9-4804-aad0-56014bc66148</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK and Softdevice version are you using?&lt;/p&gt;
&lt;p&gt;Are you using a watchdog? Could you check the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=4_2_0_17_8_2#register.RESETREAS"&gt;RESETREAS&lt;/a&gt; register for the reset reason?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried implementing advertising in intervals? Does the issue still persists?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>