<?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>nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105918/nrf-dongle-52840-dfu-over-mesh</link><description>Dear fellow Developers, 
 I&amp;#39;m finishing a project where I have to implement the DFU over Mesh protocol in a series of firmware running on a nRF 52840 Dongle. While I was able to solve most of the problems so far, there&amp;#39;s still a major one that is bugging</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Nov 2023 16:27:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105918/nrf-dongle-52840-dfu-over-mesh" /><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457657?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 16:27:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daa4c7bb-5b7f-4b97-83a9-31a027b0b5e1</guid><dc:creator>alebldn</dc:creator><description>&lt;p&gt;About that: you&amp;#39;re once again right, I was so excited I had it working I completely forgot to mention that.&lt;/p&gt;
&lt;p&gt;No, unfortunately, the indication led does not work. I also tried to create an overlay to change led but it didn&amp;#39;t really seem to work at all. I don&amp;#39;t even get warnings at build time so I wouldn&amp;#39;t really know what to expect. A first guess would be to maybe change the pm_static file?&lt;/p&gt;
&lt;p&gt;Anyway, the important thing is that right now we&amp;#39;re able to update via DFU OTA hundreds of Dongles. The very first phase of configuring them all is going to be rusty but will do for the early testings.&lt;/p&gt;
&lt;p&gt;Of course, if you have any suggestions related to the errors of mcumgr not uploading and the led not showing up, I&amp;#39;m always happy to hear some advice. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much,&lt;/p&gt;
&lt;p&gt;Have a good evening!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457640?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 15:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c228e2ec-352f-4718-bc00-e5f66dc1a853</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ale,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One thing need to be double checked is to make sure that you have put the MCUBoot to serial recovery mode on the dongle.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;In the mcuboot.conf I sent I have set&amp;nbsp;CONFIG_MCUBOOT_INDICATION_LED=y. So it&amp;#39;s expected that one of the LED should turn on when you press the switch when you plug the device to USB port.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But anyway, if it works now and the trick of flashing using nRF Connect Programmer you did seems to be a good trick. You don&amp;#39;t even need to use mcumgr separately then I don&amp;#39;t see a problem with that :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457631?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 15:35:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b44f26d2-bc00-4f25-a016-1941cf4640ab</guid><dc:creator>alebldn</dc:creator><description>&lt;p&gt;Dear Hung Bui, I&amp;#39;m back with some mixed news. Some of them are good, others are meh.&lt;/p&gt;
&lt;p&gt;Best news: After a lot of trials during the weekend I managed to make it all work and, indeed you were right: by only using the MCUBoot image, the nrf5 bootloader does indeed allow the firmware to be booted even after the update. Massive thank you for this!&lt;/p&gt;
&lt;p&gt;Unfortunately, to get there, it was all but trivial: first, for some reason, mcumgr was not (and still isn&amp;#39;t) able to upload the firmware whatsoever. The upload phase is stuck at 0bytes, even if i launch the command using sudo (I&amp;#39;m on linux). Changing the owner rights of the /dev/ttyACM0 file doesn&amp;#39;t really produce any different effect and nor does changing the accessibility through chmod.I am able to read the console through /dev/ttyACM0 but I&amp;#39;m not able to upload anything using ./mcumgr. In case you&amp;#39;re wondering, I installed mcumgr as specified in the github page using go install. I also used nrfutil as specified in the tutorial, downloading not from github but instead from the non-deprecated page in your site. Through it, I also installed nrf5-sdk-tools.&lt;/p&gt;
&lt;p&gt;In the end neither mcumgr nor nrfutil were used to flash the firmware in the dongle. this is not the solution i was looking for but still it&amp;#39;s a first step towards it:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Using nRF Connect Programmer I flashed the merged.hex image containing both MCUBoot AND DFU Target first.&lt;/li&gt;
&lt;li&gt;Still using nRF Connect Programmer I then flashed MCUBoot image zephyr.hex contained in the mcuboot subfolder.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This way, the application did still run properly but the resulting hash in the nrf5 bootloader belongs only to MCUBoot. This way, the device does reboot properly even after the update and the update itself sticks.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll also talk about this with some colleague of mine to see if I can find a better solution.&lt;/p&gt;
&lt;p&gt;Thank you very much for your help, you&amp;#39;re the best.&lt;/p&gt;
&lt;p&gt;Ale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457359?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2023 14:34:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1889b30-02a5-43de-a64d-bdb8b208a612</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;br /&gt;I got a tip from&amp;nbsp;our team that if you want to re-flash the dongles you can get one of these cable:&amp;nbsp;&lt;a href="https://www.tag-connect.com/product-category/products/cables/10-pin-target"&gt;https://www.tag-connect.com/product-category/products/cables/10-pin-target&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It will allow you to program the dongle on the pogo pins next to the P1 port. You can connect a DK to the dongle and erase nRF5 Bootloader. This way you can use the dongle as you wish. (You will need to define a new board because now the MBR and Legacy bootloader is removed)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457346?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2023 13:51:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3930239-8c18-4250-a4a3-4e4158c5a6a0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Alessandro,&lt;/p&gt;
&lt;p&gt;I assume you have managed to build the DFU target mesh application for nRF52840 dongle. Correct ?&amp;nbsp;&lt;br /&gt;If you have, then you don&amp;#39;t need to build the MCUBoot separately.&amp;nbsp;&lt;br /&gt;What you need to do is to add this file in to a child_image folder in your project to enable MCUBoot&amp;#39;s serial recovery mode:&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6574.mcuboot.conf"&gt;devzone.nordicsemi.com/.../6574.mcuboot.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It should look like this:&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1700833082338v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Then you build your application as normal. The reason I suggested this because in the target&amp;amp;distributor, the MCUBoot is already built. You don&amp;#39;t need to build MCUBoot separately as in the guide from Zephyr.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can find the file zephyr.hex in the build\mcuboot folder:&lt;br /&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1700833478419v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You can use this zephyr.hex in nRF Programmer to upload to the dongle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The change in the file I provided above is to allow serial recovery mode. Then you can continue with the instruction in the guide I provided to create the .zip file for the mesh application (build\zephyr\zephyr.hex) then upload it via mcumgr.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Please be noted that, from what I get from mesh team, the dongle is not supported by the DFU mesh solution. We haven&amp;#39;t tested with the dongle.&amp;nbsp;It&amp;#39;s expected that you will need to get familiar with the DFU chain and know how to adapt it to the mesh application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457320?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2023 12:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aed3324a-2e3d-4f87-b5e3-de62f1fb4973</guid><dc:creator>alebldn</dc:creator><description>&lt;p&gt;Dear Hung Bui, &lt;/p&gt;
&lt;p&gt;unfortunately I&amp;#39;m coming back with bad news as I wasn&amp;#39;t yet able to build the MCUBoot application into the Dongle to make it properly work. I&amp;#39;m not really confident in using this mixed environment as I&amp;#39;m kind of new to developing Nordic applications.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been trying to follow the steps in the guide you posted but it resulted in errors when building the very first step. I&amp;#39;ve been trying to use the vscode extension to build the sample &amp;quot;mcuboot&amp;quot; (compatible with the Dongle) but the result was the same:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Error at /opt/nrfconnect/ncs/v2.5.0/zephyr/cmake/modules/extensions.cmake:2274 (message):
  No such file or directory: TINYCRYPT_DIR:
  &amp;#39;~/Desktop/NordicWorkspaces/ext/tinycrypt/lib&amp;#39;
Call Stack (most recent call first):
  CMakeLists.txt:40 (assert_exists)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(the sample folder&amp;#39;s path is &amp;quot;~/Desktop/NordicWorkspaces/nordic_bt_dfu_workspace/zephyr&amp;quot;)&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been trying to move the cloned mcuboot repository around, including inside the zephyr folder but the result was the same.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been trying to modify the CMakeLists.txt file to replace the &amp;quot;get_filename_component&amp;quot; (changed in version 3.20 (I&amp;#39;m using version 3.20.5)) in order to match BOOT_DIR and MCUBOOT_DIR with the proper directories so to actually (and successfully) avoid this error, but still resulting in duplicated functions problem when linking the program.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve also tried using the &amp;quot;with_mcuboot&amp;quot; sample to try and flash in another image and, while i got the whole project working, the mcumgr tool was stuck in the attempt, not being able to flash anything. Programmer app doesn&amp;#39;t show anything in the device box so trying to flash images using the &amp;quot;enable MCUBoot&amp;quot; settings checked would not actually work.&lt;/p&gt;
&lt;p&gt;Do you have any suggestions? Mind you trying to compile the sample yourself to check whether there actually are errors I&amp;#39;m facing? If so, do you suggest downgrading CMake to version &amp;lt; 3.20?&lt;/p&gt;
&lt;p&gt;Thank you very much for your patience,&lt;/p&gt;
&lt;p&gt;Ale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457159?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 12:24:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:928239d3-4aec-4ebb-a986-2009b3200212</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
[quote user="alebldn"]Might this be because the reboot following the DFU over Mesh only reboots the application and not mcuboot itself?[/quote]
&lt;p&gt;It&amp;#39;s kind of correct. The device reboot before the image swap happens (hence no CRC issue) the bootloader will jump to the MCUBoot and then MCUBoot swap the image. The next reset after that will run into CRC issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457151?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 12:07:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05435e31-ed2f-4193-ab60-7f10a5bf8c42</guid><dc:creator>alebldn</dc:creator><description>&lt;p&gt;Dear Hung Bui,&lt;/p&gt;
&lt;p&gt;Once again, thank you for your kindness and your attention to details. I indeed used the nrf Connect Desktop Programmer application to flash the merged.hex file onto the Dongles.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try the way you just suggested, flashing only mcuboot in order to keep the CRC stable.&lt;/p&gt;
&lt;p&gt;About the last consideration, at first I indeed tried to keep the space for the legacy bootloader minimized but quickly realized that it wasn&amp;#39;t really an option: even if I put a smaller partition the bootloader would just use the full 0x20000 sized partition anyway.&lt;/p&gt;
&lt;p&gt;As of today, I&amp;#39;ve restored the legacy_bootloader_storage and also renamed it to legacy_bootloader in order to avoid conflicts with the settings_storage partitions used by Zephir&amp;#39;s settings subsystem: unless specified explicitly, the configuration would automatically look for a partition including the &amp;quot;settings&amp;quot; name. Furthermore, i decreased the number of static partitions declared in the pm_static file and added the CONFIG_BOARD_HAS_NRF5_BOOTLOADER together with CONFIG_FLASH_LOAD_OFFSET and CONFIG_FLASH_LOAD_SIZE.&lt;/p&gt;
&lt;p&gt;Now the example kinda fully works, with the only exception of that reboot into the &amp;quot;Open DFU Bootloader&amp;quot;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try to only program mcuboot right now, I&amp;#39;ll get back to you as soon as I&amp;#39;m done with it.&lt;/p&gt;
&lt;p&gt;Also: as mentioned in an edit before, the weird thing is that the device reboots correctly the first time, but goes into bootloader mode next reboot. Might this be because the reboot following the DFU over Mesh only reboots the application and not mcuboot itself?&lt;/p&gt;
&lt;p&gt;Again, thank you for your help, it really is appreciated.&lt;/p&gt;
&lt;p&gt;Have a good afternoon,&lt;/p&gt;
&lt;p&gt;Ale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457141?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 11:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7443b702-123a-4aa0-95af-dbcd26f784e3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ale,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry that I missed the part that you use the dongle on all of your devices. I thought that you only use the dongle on the distributor but not on the target.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The dongle is not a development platform so we don&amp;#39;t suggest to use it in the initial phase of development. I agree that it&amp;#39;s a good device on mass testing but the correct behavior should be verified before you start mass testing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Soldering hundreds of header on the dongle can be an issue. &lt;br /&gt;My assumption is that when you flash the dongle with your application, you were using the merged.hex file that contains both the MCUBoot and the mesh application, is it correct ? Did you flash it via&amp;nbsp;the nrf Connect Desktop Programmer application ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s the case, it explain why the Legacy Bootloader complained about CRC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you need to do is instead of flashing the MCUBoot and application merged, you instead only flash the MCUBoot and then after that use MCUBoot recovery mode to receive the Mesh application. This way the Legacy Bootloader only check the MCUBoot, not the application when booting up.&amp;nbsp;&lt;br /&gt;Please take a look at the documentation here:&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/boards/arm/nrf52840dongle_nrf52840/doc/index.html#option-2-using-mcuboot-in-serial-recovery-mode"&gt;https://docs.zephyrproject.org/latest/boards/arm/nrf52840dongle_nrf52840/doc/index.html#option-2-using-mcuboot-in-serial-recovery-mode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can use&amp;nbsp;dfu_application.zip to flash the application with&amp;nbsp;&lt;span&gt;mcumgr &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Maybe not related but I looked at this ticket from you:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104488/error-when-building-bt-mesh-dfu-ota-target-on-dongle-52840-struct-error-ushort-format-requires-0-number-0xffff"&gt;Error when building BT mesh DFU OTA Target on Dongle 52840 (struct.error: ushort format requires 0 &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I saw that you have modified&amp;nbsp;legacy_bootloader_storage from 0xe0000 to 0xe8000.&amp;nbsp;&lt;br /&gt;Do you have an explanation for that ?&amp;nbsp;&lt;br /&gt;The legacy bootloader starts at 0xe0000 not 0xe8000, by configure that you are risking overwriting the legacy bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/457018?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 17:07:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ae59b15-407a-49c6-b802-85262491da69</guid><dc:creator>alebldn</dc:creator><description>&lt;p&gt;Dear Hung Bui, &lt;/p&gt;
&lt;p&gt;a quick update: re-trying the protocol with a DK as distributor and Dongles as targets produces the very same result. To be honest I feel like I misunderstood you: did you mean to use DKs as Targets? Unfortunately we can&amp;#39;t as of today: we have ordered a couple hundred Dongles to perform a test and we&amp;#39;re looking for solutions involving those devices.&lt;/p&gt;
&lt;p&gt;I also gave a couple tries changing the metadata stored in the distributor in the preparation phase but, once again, to no success at all.&lt;/p&gt;
&lt;p&gt;As a last resort we&amp;#39;ll delete completely the nrf5 DFU Bootloader but it would be nice to find a patch to this.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll keep working on it.&lt;/p&gt;
&lt;p&gt;Have a good evening,&lt;/p&gt;
&lt;p&gt;Ale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/456939?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 13:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:654ce4e3-f7b6-44be-95d7-a5401665d30d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ale,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It can be difficult to update the hash as I am not certain on if&amp;nbsp; it&amp;#39;s the image that the distributor receiving causing the issue or it&amp;#39;s the firmware of the distributor being updated causing the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It would be quite simple to disable CRC/hash check in the bootloader code, but you would need to be able to reflash the bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/456913?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 12:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50aa109c-6859-4338-8f8c-d26fae09f911</guid><dc:creator>alebldn</dc:creator><description>&lt;p&gt;Dear Hung Bui,&lt;/p&gt;
&lt;p&gt;Thank you very much for your kind answer. We will work towards your solutions: either having a DK as Distributor or by removing the Dongle Bootloader.&lt;/p&gt;
&lt;p&gt;Just for curiosity: do you know whether there is a way to update the hash in software so to have the Dongle properly load? &lt;br /&gt;This is just out of curiosity as I&amp;#39;m pretty sure the SOC won&amp;#39;t have the DFU Bootloader therefore we won&amp;#39;t have that kind of problems in production.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t know, don&amp;#39;t worry: I&amp;#39;ll try to do some research myself anyway in the meantime (and, if I find any solution, I&amp;#39;ll post it here :) )&lt;/p&gt;
&lt;p&gt;Thank you again and kind regards,&lt;/p&gt;
&lt;p&gt;Ale&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT: I still haven&amp;#39;t researched the topic yet but I thought a little bit about it: the weird thing is that in order for the Firmware to be updated, the Dongle does indeed reboot successfully. So, there&amp;#39;s an inconsistent situation in which the first reboot successfully passes the hash check, but all the subsequent ones fail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Dongle 52840 DFU over Mesh</title><link>https://devzone.nordicsemi.com/thread/456903?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 12:04:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d742b6ae-78e6-4746-9e0c-58168e9c71d7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ale,&amp;nbsp;&lt;br /&gt;The problem with the dongle is that by default it has the original bootloader from nRF5 SDK, in addition to the MCUBoot bootloader that you have flashed (I assume).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF5 bootloader on each booting up will check and verify if the firmware (MCUBoot + your application) remain the same by using hash check.&amp;nbsp;&lt;br /&gt;In your case&amp;nbsp;the distributor receive the image and maybe update the firmware when you do mesh DFU update. The NRF5 bootloader doesn&amp;#39;t recognize this change and will switch to bootloader mode because it detects a&amp;nbsp;hash check fail.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My suggestion is either to use a nRF52 DK as the hardware backend (there isn&amp;#39;t a nRF5 bootloader on it) or solder a header on the&amp;nbsp; P1 port on the dongle to erase the bootloader and use it as a DK. You may then need to create a new board and re-configure the memory of the dongle similar to what on the DK.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>