<?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>SoftDevice fault on nRF52840 SD S140 v6.1.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49534/softdevice-fault-on-nrf52840-sd-s140-v6-1-1</link><description>Hello, 
 During application development I&amp;#39;ve got SoftDevice fault PC: 0x000251BA. It happens always just after start `FDS Garbage Collector`, so I expect that can be related to operations on flash. Could you let me know what causes fault from that address</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Jul 2019 12:27:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49534/softdevice-fault-on-nrf52840-sd-s140-v6-1-1" /><item><title>RE: SoftDevice fault on nRF52840 SD S140 v6.1.1</title><link>https://devzone.nordicsemi.com/thread/197377?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2019 12:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fad7b73e-035d-4e41-8cb8-3804975a594f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;No, this can be due to&amp;nbsp;the difference in &amp;quot;&lt;em&gt;T&lt;/em&gt;&lt;span&gt;&lt;em&gt;ime to erase one page&lt;/em&gt;&amp;quot;&lt;/span&gt;&amp;nbsp;in flash.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/nvmc.html?cp=3_1_0_10_7_0#unique_156661312"&gt;nRF52832&lt;/a&gt;&amp;nbsp;Min 2.05, Max 89,7&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/nvmc.html?cp=3_0_0_3_2_9_0#unique_2120716477"&gt;nRF52840&lt;/a&gt; Max 85&lt;/p&gt;
&lt;p&gt;Difficult to say what can cause the issue. Are you able to share your code, so I can try to replicate the issue on an nRF52840 DK?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice fault on nRF52840 SD S140 v6.1.1</title><link>https://devzone.nordicsemi.com/thread/197356?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2019 11:38:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fadfd040-362c-4082-96ce-9601fcb7e346</guid><dc:creator>PrFi</dc:creator><description>&lt;p&gt;The code has been written according to documentation that&amp;nbsp;have you mentioned. The weird thing is that the same code compiled on nRF52832_XXAA (SD s112 V6.1.1) doesn&amp;#39;t cause any SD fault. Is it possible that this is a bug in the SoftDevice S140?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice fault on nRF52840 SD S140 v6.1.1</title><link>https://devzone.nordicsemi.com/thread/197354?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2019 11:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b59f08b3-fa42-4b95-94c3-c7c802b75cf1</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Have a look at &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/timeslot_api_timing.html"&gt;Timeslot API timing&lt;/a&gt; and the &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/flash_api_timing.html"&gt;Flash API timing&lt;/a&gt;&amp;nbsp;in the &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/multilink_scheduling.html?cp=3_4_3_0_14"&gt;SoftDevice Scheduling documentation&lt;/a&gt;. It also includes &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/multilink_scheduling/suggested_intervals_windows_s132.html?cp=3_4_3_0_14_9"&gt;suggested intervals and windows&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I could not find anything saying that it&amp;#39;s forbidden to schedule any flash operation within a granted timeslot.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice fault on nRF52840 SD S140 v6.1.1</title><link>https://devzone.nordicsemi.com/thread/197321?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2019 09:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b627dd5-4c7b-41f3-ba28-371e78d06f47</guid><dc:creator>PrFi</dc:creator><description>&lt;p&gt;Do I understand you correctly, that scheduling&amp;nbsp;any flash operation&amp;nbsp;is forbidden&amp;nbsp;within granted&amp;nbsp;timeslot (sd_flash_write and sd_flash_page_erase)? Where can I find documentation, which describe this limitation?&amp;nbsp;According to the Info Center &amp;quot;SoftDevice timing-activities&amp;quot;, I assumed that SoftDevice should take care about colliding activities.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice fault on nRF52840 SD S140 v6.1.1</title><link>https://devzone.nordicsemi.com/thread/197316?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2019 09:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00c1ba20-89cb-498a-9b94-c5a678099b9c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]Could you let me know what causes fault from that address?[/quote]
&lt;p&gt;Your&amp;nbsp;&lt;span&gt;FDS Garbage Collector seems to collide with the SoftDevice radio timing. Please ensure that FDS_GC&amp;nbsp;is not called within a radio timeslot.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>