<?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>nrf91 downloads nrf52 firmware from nrf cloud and save it temporarily into secondary image slot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113708/nrf91-downloads-nrf52-firmware-from-nrf-cloud-and-save-it-temporarily-into-secondary-image-slot</link><description>Hi, 
 
 I want nRF91 to download the nrf52840 firmware update image from nrf cloud and then pass it to nRF52 using SMP over UART. 
 
 1.How can I use the nrf cloud FOTA UI to deploy nrf52 to nrf91? So far I managed to use REST fota download library to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Aug 2024 11:55:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113708/nrf91-downloads-nrf52-firmware-from-nrf-cloud-and-save-it-temporarily-into-secondary-image-slot" /><item><title>RE: nrf91 downloads nrf52 firmware from nrf cloud and save it temporarily into secondary image slot</title><link>https://devzone.nordicsemi.com/thread/500415?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 11:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db0ef141-f1e5-4677-8b48-a68cf7e2ba9c</guid><dc:creator>Hakon</dc:creator><description>[quote user="harry4951"]&lt;p&gt;3.nrf52840DK with nrf52840 firmware, note that there is a settings_storage at the top of the layout&lt;/p&gt;
&lt;p&gt;and it is moved to other places after downloading to the nrf9160DK.&lt;/p&gt;[/quote]
&lt;p&gt;Then can you not just handle that specific part manually?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf91 downloads nrf52 firmware from nrf cloud and save it temporarily into secondary image slot</title><link>https://devzone.nordicsemi.com/thread/497482?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 12:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98e115d6-479b-4f43-8e73-7bddc32dad2a</guid><dc:creator>harry4951</dc:creator><description>&lt;p&gt;Hi, after I added CONFIG_BOOTLOADER_MCUBOOT=y in prj.conf in the lbs sample and rebuild again, I got app_update.bin. And after I deployed this app_update.bin&amp;nbsp;to the nrf91 from nrf cloud, the nrf9160 managed to downloaded it successfully.&lt;/p&gt;
&lt;p&gt;Now it is time to retrieve the data from nrf91 and forward it to nrf52. But when I check the device memory layout of nrf9160, specifically the downloaded nrf52 part, it doesnt follow the same layout as it is before in the nrf52840DK, which make it tricky to retreive the data from nrf91 and forward it to exact where it should be in the nrf52840DK.&lt;/p&gt;
&lt;p&gt;Any idea how to fix it?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;/CJ&lt;/p&gt;
&lt;p&gt;Below I attach the pictures of how the memory layouts look like before and after downloading the nrf52 firmware to nrf91.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1.nrf9160DK before downloading nrf52840 firmware&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2.9160DK-aws-iot-flashed.png" /&gt;&lt;/p&gt;
&lt;p&gt;2.&lt;span&gt;nrf9160DK&amp;nbsp;after downloading nrf52840 firmware&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5.0-9160DK-aws-iot-after-52lbs-flashed.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3.nrf52840DK with nrf52840 firmware, note that there is a settings_storage at the top of the layout&lt;/p&gt;
&lt;p&gt;and it is moved to other places after downloading to the nrf9160DK.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4.1-52840DK-lbs-mcuboot-flashed.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf91 downloads nrf52 firmware from nrf cloud and save it temporarily into secondary image slot</title><link>https://devzone.nordicsemi.com/thread/497368?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 15:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc642790-ecca-44e4-9317-9f4484aa4397</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Ok, so the compatibility is being checked by the DFU library it seems. I believe you can still store the image in the mcuboot slot, but you need to find some other way to download the firmware image.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf91 downloads nrf52 firmware from nrf cloud and save it temporarily into secondary image slot</title><link>https://devzone.nordicsemi.com/thread/497361?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 14:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59a954bc-ec4b-47ce-9e34-61a5ba893b12</guid><dc:creator>harry4951</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just give it a try but it shows me &amp;quot;REJECTED&amp;quot; in the nrf cloud, and in the device log:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&#x1B;[0m&amp;lt;inf&amp;gt; download_client: Downloaded 1400/199140 bytes (0%)&#x1B;[0m
&#x1B;[1;31m&amp;lt;err&amp;gt; dfu_target: No supported image type found&#x1B;[0m
&#x1B;[1;31m&amp;lt;err&amp;gt; fota_download: Unknown image type&#x1B;[0m
&#x1B;[0m&amp;lt;inf&amp;gt; download_client: Fragment refused, download stopped.&#x1B;[0m
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I did was to compile a bluetooth peripheral lbs sample, update the zephyr.bin as a bundle and deploy a FOTA job to my dedicated nrf91 device. I&amp;nbsp;was&amp;nbsp;using the REST fota download which worked for nrf91 firmware update.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;/CJ&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf91 downloads nrf52 firmware from nrf cloud and save it temporarily into secondary image slot</title><link>https://devzone.nordicsemi.com/thread/497313?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 11:08:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6631e23d-2a65-42fa-ab1f-25a2fc97cbc0</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]1.How can I use the nrf cloud FOTA UI to deploy nrf52 to nrf91? So far I&amp;nbsp;managed to use REST fota download library to do the nrf91 firmware update from the nrf cloud.[/quote]
&lt;p&gt;I believe you can use a similar approach as described &lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/FirmwareUpdate/FOTATutorial.html#create-and-deploy-the-update-job"&gt;here&lt;/a&gt;. Use an nrf52 firmware image and upload it as described.&lt;/p&gt;
[quote user=""]2.If there is a solution for item 1, can I save the nrf52 firmware&amp;nbsp;temporarily into nrf91&amp;#39;s secondary image slot, transfer it to nrf52 and erase the secondary slot?&amp;nbsp;[/quote]
&lt;p&gt;It should work, considering the nrf52 and nrf91 use the same flash page size, so there shouldn&amp;#39;t be a conflict with that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>