<?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 6.0.0 to 6.1.X migration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48108/softdevice-6-0-0-to-6-1-x-migration</link><description>Hello, 
 I&amp;#39;m trying to update the SoftDeivce used on our product from s140 v6.0.0 to 6.1.1, but am running into issues. Per the release notes it sounds like no updates / recompilation of our application code should be necessary for this upgrade. However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Jun 2019 11:31:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48108/softdevice-6-0-0-to-6-1-x-migration" /><item><title>RE: SoftDevice 6.0.0 to 6.1.X migration</title><link>https://devzone.nordicsemi.com/thread/191066?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 11:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efad194d-9326-4d9d-a75b-91ed2ac150a9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Josh&lt;/p&gt;
&lt;p&gt;I think you are having similar issues to this case,&amp;nbsp;where the code is writing too large chunks of data to the flash at one time. This is a bug with the S140 SoftDevice, and the workaround (for now) is to&amp;nbsp;split long writes into multiple shorter ones. It is explained in-depth in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40088/sd_flash_write-cause-nrf_fault_id_sd_assert"&gt;this case&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice 6.0.0 to 6.1.X migration</title><link>https://devzone.nordicsemi.com/thread/190625?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 21:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90ff4949-8efa-44dd-8bdd-9b9c812c307f</guid><dc:creator>josh-m</dc:creator><description>&lt;p&gt;We have the -DDEBUG flag set, and I flipped on NRF_SDH_BLE_LOG_ENABLED for a build and didn&amp;#39;t see any new warnings/errors at compile or build time. We&amp;#39;re already throwing over 50 kB at the heap, so I don&amp;#39;t think that&amp;#39;s the issue. If it was, I don&amp;#39;t think things would fail so consistently.&lt;/p&gt;
&lt;p&gt;I traced a bit further into things, and it seems like the PC passed into the error handler is always 0x14a3a (for SD 6.1.0). Hoping someone from Nordic can provide me a hint based off of what might be going on in the SD at that address.&lt;/p&gt;
&lt;p&gt;I also noticed that things seem to be pretty consistently failing at a freeRTOS app_timer_stop() call. Not sure what to make of that, the exact same logic causes no issues when running against the 6.0.0 SD. The timer is definitely properly initialized, I tired a build with a&amp;nbsp;bigger max timer queue size and timer task stack size (FreeRTOSConfig.h) and it didn&amp;#39;t make any difference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Josh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice 6.0.0 to 6.1.X migration</title><link>https://devzone.nordicsemi.com/thread/190615?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 19:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3f5a6a8-efa0-438d-bfd0-ffe5c8e54959</guid><dc:creator>BinderT</dc:creator><description>&lt;p&gt;Just a shot in the dark. &lt;br /&gt;Have you enable the compiler debug flag (CFLAGS += -DDEBUG) with&amp;nbsp;NRF_SDH_BLE_LOG_ENABLED 1 in the sdk config. This will tell you if the SD requirements need to be adjusted in the linker.&lt;br /&gt;Provided the following is set correctly in the sdk config.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
NRF_SDH_BLE_CENTRAL_LINK_COUNT
NRF_SDH_BLE_TOTAL_LINK_COUNT
NRF_SDH_BLE_GAP_EVENT_LENGTH
NRF_SDH_BLE_GATT_MAX_MTU_SIZE
NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
NRF_SDH_BLE_VS_UUID_COUNT
NRF_SDH_BLE_SERVICE_CHANGED&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Good rule&amp;nbsp;of thumb I found when using&amp;nbsp;&lt;span&gt;FreeRTOS on the NRF52s is to chuck 32K at the&amp;nbsp;TOTAL_HEAP_SIZE and reduce when application&amp;nbsp;is done.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>