<?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 assertion failed!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48830/softdevice-assertion-failed</link><description>I am writing some code for a customer using the nrf52840. 
 
 The Softdevice asserts immediately after a call to nrf_fstorage_write(). 
 
 The write address is OK, alignment is OK, size is multiple of 4. 
 
 nrf_fstorage_erase() works perfectly. 
 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jun 2019 13:01:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48830/softdevice-assertion-failed" /><item><title>RE: Softdevice assertion failed!</title><link>https://devzone.nordicsemi.com/thread/194120?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 13:01:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2b59338-407b-4e65-ac30-c628ccb62e74</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There seems to be an error with writing long chunks to flash using the SoftDevice API. Can you try reducing the NRF_FSTORAGE_SD_MAX_WRITE_SIZE value, at least down to 3600 (which you have confirmed to be working)?&lt;/p&gt;
&lt;p&gt;When writing longer chunks of data than NRF_FSTORAGE_SD_MAX_WRITE_SIZE, &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fgroup__nrf__fstorage.html&amp;amp;anchor=ga5a37147f85e54eb049d3cad8bf59c807"&gt;nrf_fstorage_write()&lt;/a&gt; will divide it into shorter chunks and report back through the callback when all chunks are written.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>