<?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>Flash Write</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66319/flash-write</link><description>Hi, 
 I am trying to write a file in flash(nrf52840) at a particular address &amp;amp; after that i want to instruct DFU module to start FW update from that address? 
 Is there any specific address to write the file in the flash? 
 How to instruct the DFU module</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Oct 2020 13:07:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66319/flash-write" /><item><title>RE: Flash Write</title><link>https://devzone.nordicsemi.com/thread/273761?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 13:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aac14173-bfe5-464d-bb07-1f012faca6b2</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to understand the reason for doing this manually. Do you need to download the new firmware in the background while the main application is still running?&lt;/p&gt;
&lt;p&gt;If yes, then you can have a look at the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_background_dfu.html"&gt;background DFU library&lt;/a&gt; from SDK 16, or this DevZone thread: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46994/background-dfu-application-source-code"&gt;Background DFU application source code&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If not, then using our DFU bootloader with the desired transport layer would be the way to go. We have transport layers for BLE, UART and USB in the SDK, or you can add your own transport.&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><item><title>RE: Flash Write</title><link>https://devzone.nordicsemi.com/thread/271927?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 06:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c0a45a8-9118-4f71-bbfe-6ac4f4384a8e</guid><dc:creator>rajAsthana</dc:creator><description>&lt;p&gt;Hi Terje,&lt;/p&gt;
&lt;p&gt;I am trying to write a string on flash area using sample flash_fstorage,When i completely erase the memory using NRF52Dk Board&amp;nbsp; nrf_fstorage_write API works good, but when I try to erase using&amp;nbsp;nrf_fstorage_erase API in return code i got bad access memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash Write</title><link>https://devzone.nordicsemi.com/thread/271650?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 06:29:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daf6b238-4837-4516-a8a2-e2d37efd7d56</guid><dc:creator>rajAsthana</dc:creator><description>&lt;p&gt;Hi Terje,&lt;/p&gt;
&lt;p&gt;yes you are right, my use case is&amp;nbsp;&lt;span&gt;to write the firmware to flash manually and then do DFU from that.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please suggest how to proceed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Raj&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash Write</title><link>https://devzone.nordicsemi.com/thread/271377?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2020 14:44:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eafbdae8-8c1f-4fa7-b3f3-319d12406bc0</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Our &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;DFU solution&lt;/a&gt; handles everything for downloading the new firmware image and updating it, and you can use it either with BLE over the air, or serial (UART or USB). With that, there is no need to write the file in flash manually before invoking the DFU bootloader.&lt;/p&gt;
&lt;p&gt;What is the use case here, that means you want to write the firmware to flash manually and then do DFU from that?&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>