<?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>IN APP DFU flash writes/erases timing out</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90843/in-app-dfu-flash-writes-erases-timing-out</link><description>Product info: 
 
 NRF52840 
 nRF5_SDK_17.1.0_ddde560 
 s140_nrf52_7.3.0_softdevice 
 
 I am working on a product with a NRF52840 and SDK 17.1.0 and a cell modem. This product needs the ability to update firmware over-the-air (using cell) or over BLE.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Aug 2022 08:45:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90843/in-app-dfu-flash-writes-erases-timing-out" /><item><title>RE: IN APP DFU flash writes/erases timing out</title><link>https://devzone.nordicsemi.com/thread/381300?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 08:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01fbbc5c-a1a4-4ed9-9d98-8613d3704ed4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is something that can happen if there is a lot of BLE activity, and&amp;nbsp;the&amp;nbsp;&lt;span&gt;DFU protocol could perhaps have handled this in another way.&amp;nbsp;&lt;/span&gt;&lt;span&gt;The flash memory accesses are scheduled to not disturb radio events. See the SoftDevice&amp;nbsp;&lt;/span&gt;documentation on this here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/flash_mem_api/flash_mem_api.html"&gt;https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/flash_mem_api/flash_mem_api.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You could try to double NRF_FSTORAGE_SD_MAX_RETRIES&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>