<?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>DFU for existing BLE-device upgrade to mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30262/dfu-for-existing-ble-device-upgrade-to-mesh</link><description>We have exiting BLE 4.0 device, which should be updated to the mesh. nRF52832 
 In the DFU for BLE4.0 you could update the booltoader and the softdevice with one update, with the next update you have to update your application. 
 If I run the update to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Oct 2019 19:34:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30262/dfu-for-existing-ble-device-upgrade-to-mesh" /><item><title>RE: DFU for existing BLE-device upgrade to mesh</title><link>https://devzone.nordicsemi.com/thread/214006?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 19:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17fea9fa-5f24-4ca0-9bc3-6ef51e85a185</guid><dc:creator>Thomas-Brilliant</dc:creator><description>&lt;p&gt;Has anyone successfully updated a Secure-DFU unit to support Mesh DFU? If so, where you able to just use the SDKs and bootloaders as-is? Or did you have to make any modifications to them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for existing BLE-device upgrade to mesh</title><link>https://devzone.nordicsemi.com/thread/123673?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2018 12:54:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e795693-68b6-4d4c-b7ab-6d46668a89b3</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There seems to be a different device page format for the two versions of secure dfu. Most likely the mesh bootloader crashes as soon as it boots up due to not being able to interpret the data. You will have to modify the bootloader to overwrite the device page with the mesh device page format on first boot.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for existing BLE-device upgrade to mesh</title><link>https://devzone.nordicsemi.com/thread/123114?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 15:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ff9a640-27c2-4982-9ef9-df8425a51212</guid><dc:creator>rolliG</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for this information, if Your colleague have a running environment, so I would be very interested in such a working environment. My investigation shows, that there are some issues with the memory error. Another post said the same, and the solution ist to excude the ram init data section. With the call:&lt;/p&gt;
&lt;p&gt;&amp;gt;arm-none-eabi-readelf.exe -S mesh_bootloader_gccarmemb_nrf52832_xxAA.elf&lt;/p&gt;
&lt;p&gt;I will get all the data section from the example booltoader - elf-file. If I exclude the &amp;#39;core_data&amp;#39;,&lt;/p&gt;
&lt;p&gt;&amp;gt;arm-none-eabi-objcopy.exe -O ihex -R .core_data mesh_bootloader_gccarmemb_nrf52832_xxAA.elf test.hex&lt;/p&gt;
&lt;p&gt;so I could make a dfu.zip with this hex file, additionaly I merged this output with the device page:&lt;/p&gt;
&lt;p&gt;mergehex -m test.hex device_page_nrf52832_xxAA_s132_5.0.0_ID1_V1.hex -o test_devpage.hex&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/device_5F00_page_5F00_nrf52832_5F00_xxAA_5F00_s132_5F00_5.0.0_5F00_ID1_5F00_V1.hex"&gt;devzone.nordicsemi.com/.../device_5F00_page_5F00_nrf52832_5F00_xxAA_5F00_s132_5F00_5.0.0_5F00_ID1_5F00_V1.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/test_5F00_devpage.hex"&gt;devzone.nordicsemi.com/.../test_5F00_devpage.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If I flash this file with the correct softdevice in the chip, I could find this device with the characteristics 0xFEE4, I hope this is the mesh-dfu. That looks good.&lt;/p&gt;
&lt;p&gt;But my problem is, that I&amp;#39;ve got a device in the field with a secure-dfu from non-mesh-system. The creation of a dfu.zip- file works:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --key-file private.key --hw-version 52 --sd-req 0x9D --bootloader test_devpage.hex --bootloader-version 2 --softdevice s132_nrf52_5.0.0_softdevice.hex sd_bl_mesh_dfu.zip&lt;/p&gt;
&lt;p&gt;the download is ok, but the device never came up, it hangs. I have made dump of the directly download working device, and the after update not working device, there are many differences in the binary data. Maybe somebody at nordic who knows where is the problem with the differnces between the both images could tell me what I have been doing wrong?&lt;/p&gt;
&lt;p&gt;Here The both dump files:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dumps.rar"&gt;devzone.nordicsemi.com/.../dumps.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for existing BLE-device upgrade to mesh</title><link>https://devzone.nordicsemi.com/thread/122860?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 14:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f154b7-568b-4e7f-813e-2e94dada3ac4</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am looking into this now and I get the same error messages as you do. My colleague does not see this problem&amp;nbsp;and we suspect there might be&amp;nbsp; a dependency/version issue. Did you manage to find a solution?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for existing BLE-device upgrade to mesh</title><link>https://devzone.nordicsemi.com/thread/121376?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 11:29:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a37bce31-7218-4cdc-ba81-6884177a2190</guid><dc:creator>rolliG</dc:creator><description>&lt;p&gt;Hello Ketil,&lt;/p&gt;
&lt;p&gt;thank You for the information.I am using the PCA 10040 devboards with the nRF52832-Chips on it, and the GCC SDK.&lt;/p&gt;
&lt;p&gt;Now I would like to build the update zip-file with nrfutil. For the first step I take the booltoader which is delivered with the Mesh-SDK 1.0.1, and the softdevice s132_nrf52_5.0.0 here are the both files:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5050.mesh_5F00_bootloader_5F00_gccarmemb_5F00_nrf52832_5F00_xxAA.hex"&gt;devzone.nordicsemi.com/.../5050.mesh_5F00_bootloader_5F00_gccarmemb_5F00_nrf52832_5F00_xxAA.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3348.s132_5F00_nrf52_5F00_5.0.0_5F00_softdevice.hex"&gt;devzone.nordicsemi.com/.../3348.s132_5F00_nrf52_5F00_5.0.0_5F00_softdevice.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The command to biuld the update-zip-file looks this like:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;nrfutil dfu genpkg --company-id 0x00000059 --bootloader mesh_bootloader_gccarmemb_nrf52832_xxAA.hex --key-file private.key --sd-req 0x009D --mesh dfu_testID2V6_default.zip
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The result gives me an MemoryError:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Key file was given, setting DFU version to 0.8
Traceback (most recent call last):
  File &amp;quot;__main__.py&amp;quot;, line 360, in &amp;lt;module&amp;gt;
  File &amp;quot;click\core.pyc&amp;quot;, line 700, in __call__
  File &amp;quot;click\core.pyc&amp;quot;, line 680, in main
  File &amp;quot;click\core.pyc&amp;quot;, line 1027, in invoke
  File &amp;quot;click\core.pyc&amp;quot;, line 1027, in invoke
  File &amp;quot;click\core.pyc&amp;quot;, line 873, in invoke
  File &amp;quot;click\core.pyc&amp;quot;, line 508, in invoke
  File &amp;quot;__main__.py&amp;quot;, line 276, in genpkg
  File &amp;quot;nordicsemi\dfu\package.pyc&amp;quot;, line 212, in generate_package
  File &amp;quot;nordicsemi\dfu\package.pyc&amp;quot;, line 365, in normalize_firmware_to_bin
  File &amp;quot;nordicsemi\dfu\nrfhex.pyc&amp;quot;, line 65, in __init__
  File &amp;quot;nordicsemi\dfu\nrfhex.pyc&amp;quot;, line 76, in _removeuicr
MemoryError&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;the version of the nrfutil is the 0.3.0.0&lt;/p&gt;
&lt;p&gt;Would You like give me a hint how to get the both files togeher in one update-file (the problem regards the booltoader, if i take the bootloader only, the same error is thrown)&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for existing BLE-device upgrade to mesh</title><link>https://devzone.nordicsemi.com/thread/120123?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 14:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dd0813e-5df6-4eac-b9ac-b2375b6546a0</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is possible to run Mesh DFU on a unit that only has bootloader.&lt;/p&gt;
&lt;p&gt;You must merge the Mesh DFU bootloader&amp;nbsp;and Device page before performing DFU with the new bootloader.&lt;/p&gt;
&lt;p&gt;Check&amp;nbsp;&lt;em&gt;mesh/bootloader/readme.md &lt;/em&gt;and&amp;nbsp;&lt;em&gt;tools/dfu/readme.md &lt;/em&gt;for more information.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>