<?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>NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107625/nrf5340-mcuboot-dfu-failed-slot-image-has-no-hash-tlv</link><description>Hi Nordic, 
 We have a custom board based on nrf5340(no extern flash). And the DFU works ok with only app update based on ncs 2.5.0 
 CONFIG_BOOTLOADER_MCUBOOT = y 
 CONFIG_IMG_ERASE_PROGRESSIVELY = y 
 CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU = y 
 CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jan 2024 09:09:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107625/nrf5340-mcuboot-dfu-failed-slot-image-has-no-hash-tlv" /><item><title>RE: NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/thread/466420?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 09:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e461c01-04e2-4ccb-b038-c8168558865c</guid><dc:creator>kyozc</dc:creator><description>&lt;p&gt;OK, Thanks. we will use&amp;nbsp;un&lt;span&gt;simultaneous DFU for the app core &amp;amp; net core.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/thread/466396?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 08:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3996482-7485-4b54-9c67-5958c7be1691</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No, none of the samples that showcases simultaneous DFU from the unofficial bootloader gitrepository uses internal flash and simultaneous DFU. But if you follow the documentation I sent you regarding simultaneous DFU you should be able to add support for this without adding external flash.&lt;/p&gt;
&lt;p&gt;The reason for why our samples only uses external flash is due to the application size. For simultaneous DFU you need to be able to fit both your app-core firmware and net-core firmware within mcuboot_secondary application slot, meaning that it will leave you with ~350kB available flash for your appcore firmware on your mcuboot primary application slot. It is not recommended to use simultaneous DFU and internal flash due to this limitation, but it is possible to do.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/thread/465912?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 06:21:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3664982c-ae8f-4394-bfed-7c6b73935036</guid><dc:creator>kyozc</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi AHaug,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;According to the&amp;nbsp;official documentation the&amp;nbsp;Simultaneous multi-image DFU are based on&amp;nbsp;Thingy:53 and the config also use extern flash to store&amp;nbsp;mcuboot_secondary &amp;amp;&amp;nbsp;&lt;/span&gt;mcuboot_secondary_1. And change to internal flash will lead to build error.&lt;/p&gt;
&lt;p&gt;Is there some examples to used&amp;nbsp;&lt;span&gt;&amp;nbsp;the&amp;nbsp;Simultaneous multi-image DFU are based on internal flash?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/thread/465727?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 09:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c2edf29-cf1e-48d7-90fb-6e3b8b8fde72</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The links in the repository should refer to the official documentation&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#simultaneous-multi-image-dfu"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#simultaneous-multi-image-dfu&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#simultaneous-multi-image-dfu"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#simultaneous-multi-image-dfu&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/thread/465697?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 00:54:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20599046-9043-444e-9cc7-8e40ff5ffe9b</guid><dc:creator>kyozc</dc:creator><description>&lt;p&gt;Hi AHaug,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Our&amp;nbsp;&lt;span&gt;application is smaller than half of the internal flash, so i modify the example based on&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;this guide&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous&lt;/a&gt;&amp;nbsp;for a sample&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if i comment the app.overlay &amp;amp;&amp;nbsp;mcuboot.overlay like that to make extern flash disable, the build will failed&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;// / {
// 	chosen {
// 		nordic,pm-ext-flash = &amp;amp;mx25r64;
// 	};
// };&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/5810.build_5F00_err.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there any more&amp;nbsp;&lt;span&gt;documentation for a simultaneously DFU sample based on&amp;nbsp;the internal flash of nrf5340?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/thread/465510?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 09:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb7c11e2-f311-4615-b869-f1b3a72e0572</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="kyozc"]I had&amp;nbsp;check this link and it is&amp;nbsp;use&amp;nbsp;a extern flash for DFU part and the build will failed if not used&amp;nbsp;extern flash. Is there a sample&amp;nbsp; to do simultaneous DFU of both core&amp;nbsp;with only&amp;nbsp;inter flash.[/quote]
&lt;p&gt;It depends on the application size. If your application is larger than half of the internal flash, then no. The theory here&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples&lt;/a&gt;&amp;nbsp;explains this and links to the official documentation&lt;/p&gt;
&lt;p&gt;If you can&amp;#39;t do it simultaneously, then follow this documentation for a sample and remove the external flash partitioning&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_nonsimultaneous"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_nonsimultaneous&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&amp;nbsp;&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/thread/465462?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 00:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a988a1e0-2413-4891-ace9-838782693eef</guid><dc:creator>kyozc</dc:creator><description>&lt;p&gt;Hi AHaug,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks that i upload the&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;dfu_application.zip&amp;quot; for DFU. if i upload&amp;nbsp;app_update.bin and&amp;nbsp;net_core_app_update.bin&amp;nbsp;separately it will be ok.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See this guide&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous&lt;/a&gt;&amp;nbsp;for a sample&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I had&amp;nbsp;check this link and it is&amp;nbsp;use&amp;nbsp;a extern flash for DFU part and the build will failed if not used&amp;nbsp;extern flash. Is there a sample&amp;nbsp; to do simultaneous DFU of both core&amp;nbsp;with only&amp;nbsp;inter flash.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chen&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: NRF5340 MCUBOOT DFU failed: Slot image has no hash TLV</title><link>https://devzone.nordicsemi.com/thread/465378?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 14:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2657064-8610-4a23-bd7f-3f8daa3613b4</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the image you upload it looks like you&amp;#39;re uploading the wrong image, but in your log it states that you&amp;#39;re using &amp;quot;&lt;span&gt;dfu_application.zip&amp;quot;&lt;/span&gt;. If you want to do simultaneous DFU of both core you need to update with&amp;nbsp;&lt;span&gt;dfu_application.zip.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you state which files you&amp;#39;ve uploaded for DFU?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;See this guide&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous&lt;/a&gt;&amp;nbsp;for a sample and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/output_build_files.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/output_build_files.html&lt;/a&gt;&amp;nbsp;to see what the different output files mean&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>