<?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>Updating data (non-firmware) on QSPI using DFU OTA firmware update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97078/updating-data-non-firmware-on-qspi-using-dfu-ota-firmware-update</link><description>I am using the nRF 5 SDK 17.1, with the un-modified Secure bootloader from the Examples, and with a simple application packaged as zip I can get it uploaded and running Ok on the device (nRF52840) by DFU OTA. Currently I am using an OLED display, with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Feb 2023 13:40:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97078/updating-data-non-firmware-on-qspi-using-dfu-ota-firmware-update" /><item><title>RE: Updating data (non-firmware) on QSPI using DFU OTA firmware update</title><link>https://devzone.nordicsemi.com/thread/412287?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 13:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c23411eb-673a-48f7-b9d2-f6a3b76c249b</guid><dc:creator>gabi</dc:creator><description>&lt;p&gt;Great !&lt;br /&gt;&lt;br /&gt;All very clear Vidar, and makes sense. I was just looking for advice and now I have it through your swift support.&lt;br /&gt;&lt;br /&gt;Was actually just reading on them in sdk_config.h&amp;nbsp; and nrf_dfu_validation.c&lt;br /&gt;&lt;br /&gt;Much appreciated!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Gabi.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data (non-firmware) on QSPI using DFU OTA firmware update</title><link>https://devzone.nordicsemi.com/thread/412284?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 13:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:115a2c4c-a4da-4202-87ff-85461488078a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Gabi,&lt;/p&gt;
&lt;p&gt;We do not have examples to demonstrate how external application images can be handled as it&amp;nbsp;would have to be specific to the third-party device you are targeting. In this case it will be a QSPI flash, but in other cases it could be another MCU, etc. I do not really think it would be feasible to make a generic example for this.&lt;/p&gt;
&lt;p&gt;If you want to go with this approach, you can search for &amp;quot;NRF_DFU_SUPPORTS_EXTERNAL_APP&amp;quot;&amp;nbsp;in the project to find relevant code sections. The nrf_dfu_validation.c:nrf_dfu_validation_post_external_app_execute() function is left for the user to implement.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data (non-firmware) on QSPI using DFU OTA firmware update</title><link>https://devzone.nordicsemi.com/thread/412269?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 12:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d6a059-3b34-486d-86df-5f7b3f09615b</guid><dc:creator>gabi</dc:creator><description>&lt;p&gt;Thank you Vidar,&lt;br /&gt;&lt;br /&gt;Even though I like the first solution I am not sure I know what and where I should modify the bootloader, I will read on that.&lt;br /&gt;&lt;br /&gt;Guess I will have to go for the second solution for now, but I will not abandon the your first solution as I believe it is the best one.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Gabi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating data (non-firmware) on QSPI using DFU OTA firmware update</title><link>https://devzone.nordicsemi.com/thread/412254?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 12:21:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03b012d-7bcd-4717-98e3-46b6458ba4a5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The bootloader determines where to store the update solely based on&amp;nbsp;what update type is specified in the init command (application, external application, Softdevice or bootloader).&amp;nbsp;The address information contained in the hex file is lost&amp;nbsp;when it is converted to a&amp;nbsp;binary file in the DFU package.&amp;nbsp;In other words,&amp;nbsp;the bootloader has no way of knowing if there is data contained in the application image that&amp;nbsp;belongs to the XiP region @&amp;nbsp;0x12000000.&lt;/p&gt;
&lt;p&gt;Possible solutions:&lt;/p&gt;
&lt;p&gt;1. Create a separate DFU package for the QSPI data using the nrfutil &amp;#39;--external-app&amp;#39; option and modify the bootloader to copy &amp;quot;external app images&amp;quot; to the QSPI flash.&lt;/p&gt;
&lt;p&gt;2. Implement a mechanism in the application to receive and update QSPI flash data&amp;nbsp;that does not rely on our&amp;nbsp;DFU protocol.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>