<?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>how to verify after writing to external FLASH memory during full modem update (FOTA).</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97892/how-to-verify-after-writing-to-external-flash-memory-during-full-modem-update-fota</link><description>Hi Nordic Team, 
 I am using external flash memory which is of 8MB for full modem fota update. HTTP full modem 
 I am able to update the modem using http full modem. I would like to know, how to verify that the downloaded full modem update file (.cbor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Mar 2023 10:40:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97892/how-to-verify-after-writing-to-external-flash-memory-during-full-modem-update-fota" /><item><title>RE: how to verify after writing to external FLASH memory during full modem update (FOTA).</title><link>https://devzone.nordicsemi.com/thread/417014?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 10:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17dac101-e84d-471d-81a3-1939caa82a04</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There is a function&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/services/device_mgmt/dfu.html#c.boot_read_bank_header"&gt;boot_read_bank_header()&lt;/a&gt;&amp;nbsp;which reads MCUboot image header information.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to verify after writing to external FLASH memory during full modem update (FOTA).</title><link>https://devzone.nordicsemi.com/thread/416944?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 00:35:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43d19594-f566-4f74-bd0a-66dbb707e428</guid><dc:creator>Praveen Deshmane</dc:creator><description>&lt;p&gt;Hi Dejans,&lt;br /&gt;&lt;br /&gt;thank you for your reply.&lt;br /&gt;&lt;br /&gt;I would like to know how to check the downloaded file &lt;strong&gt;app_update.bin&lt;/strong&gt; is in mucboot secondary (in my case it is in external flash memory which is of 8MB).&lt;br /&gt;&lt;br /&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Praveen Deshmane&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to verify after writing to external FLASH memory during full modem update (FOTA).</title><link>https://devzone.nordicsemi.com/thread/416786?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 12:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c51b13-d5c3-44a1-9aa6-2128f6c60aff</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Inside fmfu_fdev.c, there is a function&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/8ea3bfc7bd33ccc48a28dad8922f99e464ac614c/subsys/dfu/fmfu_fdev/src/fmfu_fdev.c#L182"&gt;fmfu_fdev_load()&lt;/a&gt;&amp;nbsp;which reads cbor header, gets the hash from the manifest, checks the hash and proceeds with install using load_segments().&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to verify after writing to external FLASH memory during full modem update (FOTA).</title><link>https://devzone.nordicsemi.com/thread/416521?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 12:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaac312e-6ca5-4c59-a7d6-d86376a46351</guid><dc:creator>Praveen Deshmane</dc:creator><description>&lt;p&gt;Hello dejans,&lt;/p&gt;
&lt;p&gt;thank you for replying.&lt;/p&gt;
&lt;p&gt;I think, there is a miss communication.&lt;/p&gt;
&lt;p&gt;my question is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;how to check that the downloaded full modem update file (.cbor file) is in external flash memory?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;best regards&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;praveen&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to verify after writing to external FLASH memory during full modem update (FOTA).</title><link>https://devzone.nordicsemi.com/thread/416307?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 14:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa301e4a-a1be-4845-92a4-a33b383ceac8</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There is configuration option&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_FMFU_FDEV_SKIP_PREVALIDATION"&gt;CONFIG_FMFU_FDEV_SKIP_PREVALIDATION&lt;/a&gt;&amp;nbsp;which skips the prevalidation of the modem firmware. You can find it in the&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/8ea3bfc7bd33ccc48a28dad8922f99e464ac614c/subsys/dfu/fmfu_fdev/src/fmfu_fdev.c#L153"&gt;code&lt;/a&gt;&amp;nbsp;available online. The verification of the modem firmware signature is done using&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/8ea3bfc7bd33ccc48a28dad8922f99e464ac614c/subsys/dfu/fmfu_fdev/src/fmfu_fdev.c#L158"&gt;nrf_modem_bootloader_verify()&lt;/a&gt;&amp;nbsp;which is described in&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/nrf_modem/doc/api.html#c.nrf_modem_bootloader_verify"&gt;API documentation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>