<?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>Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39163/update-firmware-from-nrf85240-flash</link><description>I am looking to update the NRF52840 firmware from the integrated flash. I am able to get the new firmware file there through other means and I just need to point to that new firmware and reboot. I’ve seen a few answers with partial or vague answers. Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jun 2019 11:50:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39163/update-firmware-from-nrf85240-flash" /><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/193643?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 11:50:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a64f8f8-c194-4b41-8c08-0942ec63ad0d</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;No, I only ever got it working from USB unfortunately. I would still like to do it internally at some point.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/193640?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 11:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bef46db5-39fc-4138-a08f-b49ebd12f101</guid><dc:creator>Deep_Kapadia</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/jeff"&gt;Jeff&lt;/a&gt;,&lt;br /&gt;Have you got success in updating firmware from NRF&amp;#39;s internal flash memory?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/152405?ContentTypeID=1</link><pubDate>Wed, 10 Oct 2018 17:17:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91f65142-cca1-4c24-b079-33269850ddfe</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Ok, sorry to have to revisit this but I realize I still need to update the firmware from the application.&lt;/p&gt;
&lt;p&gt;I am now using the vanilla secure usb bootloader example and that works great. However, I also have the nRF attached to a cellular modem. I would like to receive packages from the modem, store them on the nRF internal flash, and then initiate dfu using GPREGRET.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do you recommend I go about this?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151855?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 13:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e2d908-15ec-4da5-b8fa-1ab1f43e7b56</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Thank you, I think I originally misunderstood. It is now working!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151795?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 10:08:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d105b769-8694-4e46-a26e-a8ea5998f73d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;We have &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;a tutorial here r&lt;/a&gt;egarding the bootloader. It&amp;#39;s made for BLE bootloader, but would be similar to the UART bootloader. If you can describe your requirement and why you don&amp;#39;t want to use our current bootloader solution we can try to give you an advice on what we think would be the best.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151714?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 15:22:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:692f92c0-66df-4358-83b9-504e250811d8</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;I am trying to use the bootloader. I&amp;rsquo;ve added it to my linker script. I&amp;rsquo;m not sure what else I need to do.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151713?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 15:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa3cd381-9eb7-401e-b35e-e40af79006f9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jeff,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;If you don&amp;#39;t use the bootloader,&amp;nbsp;how do you plan to replace the image ? An application can&amp;#39;t replace itself.&amp;nbsp;&amp;nbsp;You would need to use an external application, such as a bootloader, or use the MBR to do the task. Please describe what exactly you want/plan to do.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151711?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 15:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:242e33ec-4d44-4f71-88ba-bc96dfdf8f8f</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;I&amp;rsquo;m trying to make this work manually but I&amp;rsquo;m somewhat stuck. I&amp;rsquo;m calling nrf_dfu_cache_prepare but the assert on line 207 is hit as my cache_address and bootloader_start_addr are both 0x26000.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151699?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 14:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7e1787b-9022-4c87-82c2-aac83b84d5a2</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Unfortunately it looks like fds storage system and the dfu flash system can&amp;rsquo;t coexist because of colliding global m_fs defines. One of these days Nordic is going to discover c++ and the beauty of correct scope management :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151694?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 14:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6342d54c-5a10-4786-86b7-a6a0f1fdf189</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Ok, in going through this it looks like I can probably use the copy image stuff from nrf_bootloader_fw_activation.c. But it also looks like maybe what I really want is to copy from our fds-backed storage into bank1 and then activate, correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151679?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 13:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db2f6a9d-61dd-4066-8601-48108f0806f2</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;I think changing where I start would be better so I&amp;rsquo;m not overwriting the app until I know it&amp;rsquo;s in a good state but I can do either.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151676?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 13:22:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:604885cf-d9c7-465a-adcf-7b96c9aede4c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jeff,&amp;nbsp; could you answer the previous question ? Do you plan to do flash swapping or you want to simply change where you start your application after the softdevice/MBR ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151667?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 12:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04e36041-77cb-45fa-92f4-28de157c9d97</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Also I&amp;rsquo;m sorry, I was mistaken. We are not currently using a bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151664?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 12:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de7d06e6-ce96-4bf3-8ea0-1adb7a983d51</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Ok, that is helpful but maybe I should backup and give more context. We are running a USB CDC serial protocol to our device already, which is used to send configuration and such. I would like to use that same protocol to update the application firmware.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Should I attempt to form a custom DFU transport and generate the appropriate packets or should I follow the bootloader activation model and simply copy the data into the correct location?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151663?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 12:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccc9eefb-15e7-49ed-aefc-33b582d05db6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;By &amp;quot;swap&amp;quot; you meant actually swap the new image in flash to replace the old image ?&amp;nbsp; in your original question you mentioned about &amp;quot;&lt;span&gt;to point to that new firmware and reboot&amp;quot; which is different.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you plan to do flash swapping, you can&amp;nbsp;have a look at our&amp;nbsp;&amp;nbsp;image_copy() function in nrf_bootloader_fw_activation.c to see how we do it with the flash.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you plan to simply boot to the new image, you can have a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33610/can-t-jump-to-a-custom-app-location-using-nrf_bootloader_app_start-with-sdk-v15"&gt;this discussion&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151652?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 12:11:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1af6a845-2422-4e36-b7b7-6dcef9dbf964</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Thanks Hung,&lt;/p&gt;
&lt;p&gt;We are using the bootloader and the softdevice. I would simply like to swap to the new application firmware (and possibly a new softdevice although that&amp;rsquo;s less important).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update firmware from nrf85240 flash</title><link>https://devzone.nordicsemi.com/thread/151651?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 12:08:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28f070df-f7ab-467a-ae52-39b51714c56e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jeff,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give some more information about your implementation ? Do you have any bootloader running&amp;nbsp;before your application ? Do you have the softdevice (and therefore the MBR) running on the chip ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The way we are doing now is to use a bootloader to swap the original application with the new application with flash operations. By doing this we have a fixed location for application and fixed location for new image.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you also want to swap image or you want to keep multiple application images and can choose which image to run ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>