<?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>SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34782/sdk-15-and-mesh-2-0-generate-a-dfu-file-with-nrfutil---valueerror</link><description>We used nRF5_SDK_15.0.0_a53641a and nrf5_SDK_for_Mesh_v2.0.0_src. 
 We are following DFU quick start guide http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v0.10.0%2Findex.html 
 For nRF52: 
 
 
 
 mesh-sdk$ nrfutil dfu</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jun 2018 13:44:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34782/sdk-15-and-mesh-2-0-generate-a-dfu-file-with-nrfutil---valueerror" /><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/136391?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 13:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d931ab4b-fc8a-471b-8649-068c1d8dfc84</guid><dc:creator>Arij</dc:creator><description>&lt;p&gt;I &lt;span&gt;opened a new&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35468/problem-with-dfu-mesh-generate-hex-version-of-device-page"&gt;case&lt;/a&gt;&amp;nbsp;about this issue&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/136388?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 13:38:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f75fc23-5c2f-46aa-99a3-df52f80db894</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/iotlight"&gt;iotlight&lt;/a&gt; Like I mentioned in the comment above, I would use &lt;strong&gt;nrfjprog --reset -s&lt;/strong&gt; without the Segger ID. That way, if you have multiple dev kits attached to your pc, you will get a popup where you can select the correct ID.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Another tip: make a script&lt;/strong&gt; to automate all of the steps. I should have done this from the beginning too, but did not.&lt;/p&gt;
&lt;p&gt;In general, it is a good idea to connect all of the dev kits to your computer via usb. That way, you can program&amp;nbsp;&amp;amp; power the DKs via USB. You will need to attach both DKs to the computer via USB. That is the reason you are getting the error.&lt;/p&gt;
&lt;p&gt;You will need to program both kits via USB with the softdevice, bootloader &amp;amp; application before you can do a&amp;nbsp;DFU over the mesh network.&lt;/p&gt;
&lt;p&gt;There is documentation which shows how to install the nrfutil mesh branch. What happens when you enter the command &amp;quot;nrfutil version&amp;quot; in a command prompt?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/136377?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 13:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3fcb294-7d17-4bfb-bdd7-072e1a37e651</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/mariemgm"&gt;Arij&lt;/a&gt; could you please open a new case regarding this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/136192?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 13:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:896cf3f5-757f-45c8-a393-3c50e52af9ff</guid><dc:creator>Arij</dc:creator><description>&lt;p&gt;I&amp;#39;m facing a&amp;nbsp;&lt;span&gt;problem in step 4 when i need to generate a hex version of device&amp;nbsp;page, i did this :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;dfu$ &lt;strong&gt;py device_page_generator.py -d nrf52832_xxAA -sd &amp;quot;s132_6.0.0&amp;quot;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and this is the result&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Wrote device&amp;nbsp;page for nrf53832_xxAA with the s132_6.0.0 SoftDevice to bin/device_page_nrf52832_xxAA_s132_5.0.0.hex instead of s132 version 6&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;here is the bin directory&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/500x240/__key/communityserver-discussions-components-files/4/ffff.PNG" /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why it doesn&amp;#39;t generate device&amp;nbsp;page with s132 v6.0.0, help&amp;nbsp;please&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135885?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 10:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb86c641-a32b-46b1-bda6-be299b8f3b0d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I used gcc armemb. gcc armemb uses the GCC ARM compiler &amp;amp; armcc uses the &lt;a href="http://www.keil.com/support/man/docs/armcc/"&gt;compiler provided by keil&lt;/a&gt;. You need to add the nrfjprog -s command to all of the nrfjprog commands in this quick start guide.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;But what I do instead&lt;/strong&gt;, which I find easier, is to just write&amp;nbsp;the nrfjprog commands without the -s at the back. That way, you should get a popup with a list of all the segger IDs if you have attached multiple DKs. If you only have one connected, the nrfjprog command will run without any errors. Then, you can choose the segger ID that you want to use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135813?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 23:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8acb5083-def1-4dcf-8b50-048e112ec920</guid><dc:creator>iotlight</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DFU-over-the-mesh_5F00_dfu.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;I followed the DFU quick start guide using 2 development kits, where one (682630616) is interfaced over the COM port, which is the one we have been using to check out from Step 1 to Step 10.&amp;nbsp; Now I am using the other development kits (682686733) receives the DFU from the first device (682630616) over the mesh.&amp;nbsp; According to the DFU quick start guide, I specified which device to use in which context, add the -s 682686733 option for each call to the nrfjprog command.&amp;nbsp; Therefore, we started to communicate with 682686733 starting Step 5 to Step 9 as below:&lt;/p&gt;
&lt;p&gt;Step 5 Erase all chip memory (including UICR) on all devices&lt;br /&gt; nrfjprog --eraseall -s 682686733&lt;/p&gt;
&lt;p&gt;Step 6 Flash the SoftDevice on all devices&lt;br /&gt; nrfjprog --program bin/softdevice/s132_nrf52_6.0.0_softdevice.hex --chiperase -s 682686733&lt;/p&gt;
&lt;p&gt;Step 7 Flash the serial bootloader on all devices&lt;br /&gt; nrfjprog --program bin/bootloader/gccarmemb/mesh_bootloader_serial_gccarmemb_nrf52832_xxAA.hex -s 682686733&lt;/p&gt;
&lt;p&gt;Step 8 Flash the first application on all devices&lt;br /&gt; nrfjprog --program examples\dfu\build\dfu_nrf52832_xxAA_s132_6.0.0_Release\dfu_nrf52832_xxAA_s132_6.0.0.hex -s 682686733&lt;/p&gt;
&lt;p&gt;Step 9 Flash the device page on all devices&lt;br /&gt; nrfjprog --program tools/dfu/bin/device_page_nrf52832_xxAA_s132_6.0.0.hex -s 682686733&lt;/p&gt;
&lt;p&gt;nrfjprog --reset -s 682686733&lt;/p&gt;
&lt;p&gt;Every Step, I got an error:&lt;br /&gt; ERROR: There is no debugger connected to the PC with the given serial number.&lt;/p&gt;
&lt;p&gt;Please see below attached screen shoot.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DFU-over-the-mesh-cmd-prompt.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Do we need to connect the other development kit&amp;nbsp;&lt;span&gt;682686733 to the PC?&amp;nbsp; How can we do it over the mesh or over the air?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;According to the&amp;nbsp;DFU quick start guide, I also downloaded the mesh_dfu branch as shown at below screen shoot, but I don&amp;#39;t know how to use it.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pc_2D00_nrfutil_2D00_mesh_5F00_dfu-floder.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please advise.&amp;nbsp; Thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135805?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 18:47:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be3a7c8-58ee-46a3-b692-0c74b230623e</guid><dc:creator>shubhangir</dc:creator><description>&lt;p&gt;Opened a new case at&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35341/issue-doing-dfu-over-ble-mesh-setup-1-target-board-nrf52840-dev-kit-s140-mesh-2-0-1-nrf-sdk-15-0-0"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/35341/issue-doing-dfu-over-ble-mesh-setup-1-target-board-nrf52840-dev-kit-s140-mesh-2-0-1-nrf-sdk-15-0-0&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135796?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 16:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a529bead-9e79-48ae-8aeb-0449a5a06b2f</guid><dc:creator>shubhangir</dc:creator><description>&lt;p&gt;Hi, yes, unfortunately still see the issue. I will open another case to follow up. thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135785?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 15:27:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d172fb77-4bcd-4c8d-80eb-c8652557395e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Shubhangi, could you please open a new devzone case regarding this issue? Kind Regards, Bjorn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135666?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 06:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5630915e-0a76-4395-8fee-aca2338a8881</guid><dc:creator>iotlight</dc:creator><description>&lt;p&gt;Did you&amp;nbsp; apply&amp;nbsp;&lt;/p&gt;
&lt;div class="contents"&gt;
&lt;div class="textblock"&gt;
&lt;div class="fragment"&gt;
&lt;div class="line"&gt;&amp;quot;nrfjprog --reset&amp;quot; on step 9?&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135665?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 06:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7610a922-42e0-4be8-90c4-396aacb5f8e6</guid><dc:creator>iotlight</dc:creator><description>&lt;p&gt;It worked in my other computer now.&lt;/p&gt;
&lt;p&gt;I tried both&lt;/p&gt;
&lt;p&gt;C:\Nordic_SES\nrf5_SDK_for_Mesh_v2.0.1_src\bin\bootloader\gccarmemb\ mesh_bootloader_serial_gccarmemb_nrf52832_xxAA.hex&lt;/p&gt;
&lt;p&gt;And&lt;/p&gt;
&lt;p&gt;C:\Nordic_SES\nrf5_SDK_for_Mesh_v2.0.1_src\bin\bootloader\armcc\ mesh_bootloader_serial_armcc_nrf52832_xxAA.hex&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;What is the difference between gccarmemb and armcc?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Now it works using serial port, but my goal is updating firmware on mesh devices without using any cable connection as stated in the DFU quick start guide.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DFU-over-the-mesh.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;I tried to use -s &amp;lt;serial number&amp;gt; on another module, but nothing happened.&amp;nbsp; Please specify which steps I should add&amp;nbsp;&lt;span&gt;-s &amp;lt;serial number&amp;gt;.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please advise.&amp;nbsp; Thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135637?ContentTypeID=1</link><pubDate>Mon, 11 Jun 2018 19:21:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8af1f6b7-75bc-468f-aaa3-4686a1b9b1bb</guid><dc:creator>shubhangir</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for the help here.&lt;/p&gt;
&lt;p&gt;I tried all the steps mentioned in the post, including the change to flash_placement.xml before flashing to the target board, I still see the issue (Failed to establish connection, after sending the DFU start packet).&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m following the quick start guide for this, using following setup: &lt;strong&gt;one target board&lt;/strong&gt; &amp;ndash; nrf52840 dev kit, &lt;strong&gt;softdevice&lt;/strong&gt; &amp;ndash; s140_6.0.0 (I verified in the nRF Go studio that this corresponds to ID 0x00A9), &lt;strong&gt;bootloader&lt;/strong&gt;: mesh_bootloader_serial_gccarmemb_nrf52840_xxAA.hex. I built my &lt;strong&gt;dfu application &lt;/strong&gt;using ninja/cmake, having set the device and softdevice to nrf52840/s140 respectively.&lt;/p&gt;
&lt;p&gt;Do I need to flash the host board as well, with the same first application? I assumed that since it is just a carrier, as long as it is recognized as a JLINK device, I should be able to run nrfutil on the serial port connected to the host board.&lt;/p&gt;
&lt;p&gt;Please advise,&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Shubhangi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135570?ContentTypeID=1</link><pubDate>Mon, 11 Jun 2018 12:21:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd97b336-352e-4077-8a49-6c0ba93e7f7b</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I have two tips: add some prints (i.e. sys.stdout.write(&amp;quot;...&amp;quot;)) in the bootloader_verify.py script to see where the error is occurring and/or try the whole dfu getting started process again. Most likely there is some small mistake you are making somewhere that is leading to this issue (e.g. running mesh_bootloader_gccarmemb instead of mesh_bootloader_serial_gccarmemb). I have tested this example again with three nrf52832 dev kits &amp;amp; the blinky dfu worked.&lt;/p&gt;
&lt;p&gt;I have had one issue with the COM port, so it might also be worthwhile to try a different usb port or try running the python bootloader_verify.py script on another one of your devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135447?ContentTypeID=1</link><pubDate>Sun, 10 Jun 2018 06:43:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33fa464f-6890-49e4-818f-e364f45d66e5</guid><dc:creator>iotlight</dc:creator><description>&lt;p&gt;I successfully built file using cmake.&amp;nbsp; Thank you very much.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I used &lt;span&gt;the bootloader_verify.py file from mesh sdk v2.0.1, please see attached directory folder of bootloader_verify.py&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Bootloader_5F00_verify-directory-screen-shot.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bootloader_5F00_verify.py"&gt;devzone.nordicsemi.com/.../bootloader_5F00_verify.py&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I ran&amp;nbsp;python bootloader_verify.py 682630616 COM3, it was get stuck in&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Resetting device..&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and didn&amp;#39;t go anywhere.&amp;nbsp; The Command Prompt won&amp;#39;t accept any command, please see attached screen shoot.&amp;nbsp;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Command_5F00_Prompt_5F00_Bootloader_5F00_verify_5F00_screenshoot.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please advise.&amp;nbsp; Thanks.&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: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135300?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 07:53:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd311f2-f71b-4b30-91de-a0651f6cb9aa</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you tried using the bootloader_verify.py file from mesh sdk v2.0.1? Do you still receive the same error then? Did you make sure to run an nrfjprog --reset&amp;nbsp;running the python script? This may help.&lt;/p&gt;
&lt;p&gt;Regarding ninja, I believe you can run the command: pip install Ninja or pip install ninja&lt;/p&gt;
&lt;p&gt;As far as I am aware though, for your use case, you will not need to use cmake unless you want a different segger project for a different device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135279?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 05:07:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1de0e8c9-ad4d-4165-ba5f-8488ec4c8c11</guid><dc:creator>iotlight</dc:creator><description>&lt;p&gt;I used other blinky example file and Mesh SDK v2.0.1 &amp;amp; softdevice 6, device was programmed and LEDs were ON. Thanks for the advices. But when I verified the bootloader, it was stuck at &amp;ldquo;Resetting device ..&amp;rdquo;, please see attached cmd_script&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/cmd_5F00_script_5F00_bootlarder_5F00_verify.txt"&gt;devzone.nordicsemi.com/.../cmd_5F00_script_5F00_bootlarder_5F00_verify.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;which is difference from DFU quick start guide, please see screen shoot.&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DFU_5F00_Guide_5F00_Troubleshooting.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;For Cmake, I created a Build folder using mkdir and still got the same error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CMake Error: CMake was unable to find a build program corresponding to &amp;quot;Ninja&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/cmd_5F00_script_5F00_cmake_5F00_06072018.txt"&gt;devzone.nordicsemi.com/.../cmd_5F00_script_5F00_cmake_5F00_06072018.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please advise.&amp;nbsp; Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135146?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 12:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:101ac437-c67f-4630-8b0e-74f3f8543b79</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;1) &lt;strong&gt;Update:&lt;/strong&gt; I have tried to erase the chip, program the softdevice to the nrf52 &amp;amp; then program the blinky hex file that is updated during the dfu process &amp;amp; no LEDs are blinking. &lt;strong&gt;Update2:&lt;/strong&gt;&amp;nbsp;The precompiled blinky hex file works fine. First off, you must program the softdevice before programming the blinky hex file. Secondly, you must reset the board before it starts working (i.e. nrfjprog --reset). I believe the dfu worked fine, only that I was stupid enough not reset the board at the end of the DFU. I will double check this.&lt;/p&gt;
&lt;p&gt;2) The serial number is the number on top of the interface MCU on the dev kit. It&amp;#39;s the number on the white sticker on the bottom which I believe always is 9 digits long.&lt;/p&gt;
&lt;p&gt;3) The only reason I used Mesh SDK v2.0.0 &amp;amp; SD v5 was because you used this setup in your original question. I would recommend you to use the latest SDK &amp;amp; Softdevice. Not sure exactly why I used the v5 softdevice.&lt;/p&gt;
&lt;p&gt;4)&amp;nbsp;If you want to use mesh sdk v2.0.1 &amp;amp; softdevice 6, I do not believe you need to use the cmake command to generate a new SES project (I believe this was only the case because the ses dfu mesh bootloader project used softdevice 5 in mesh sdk v2.0.0, whereas we wanted it to use v6 softdevice.)&lt;/p&gt;
&lt;p&gt;To answer your question: Yes, I believe you need the .. at the end of the cmake command. The reason it is not working is because you need to make a build folder inside the root folder of the mesh sdk (i.e. where examples, mesh, models &amp;amp; all other folders are located). Then, inside the build folder, you can run the command you posted in your question. If you look at the cmake infocenter doc, you notice that there is a &amp;quot;build$&amp;quot; in front of the cmake command. This will then build an examples folder inside the build folder which does not contain the SES project files (I do not know why this happens). What you will notice though is that the examples inside the root mesh sdk folder do get updated.&lt;/p&gt;
&lt;p&gt;5) &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v1.0.1/md_doc_getting_started_how_to_build.html?cp=4_1_1_3_1"&gt;Here is more info&lt;/a&gt; about building the mesh stack. Normally, you can just open a Segger Embedded Studio project &amp;amp; compile to build the mesh stack. You can use cmake if you cannot find a SES project for your device or softdevice version.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the question about doing a dfu with sdk 15 &amp;amp; mesh sdk v2.0.1 combined, this should be doable. Would you only need to update the application? If you want to do a dfu of all of the nodes in the mesh network, you could use the dfu bootloader from the dfu example in the mesh sdk.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/135048?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 06:18:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2d4144e-40a1-4b2e-8b3e-8fe9002574f5</guid><dc:creator>iotlight</dc:creator><description>&lt;p&gt;Thank you so much for the answer. I ran the DFU example again using the zipped mesh sdk &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c1dab7b9bf4648658c7d25bb3cf45d31/nrf5_5F00_SDK_5F00_for_5F00_Mesh_5F00_v2.0.0_5F00_src.zip"&gt;nrf5_SDK_for_Mesh_v2.0.0_src.zip&lt;/a&gt; from your last reply and I named it nrf5_SDK_for_Mesh_v2.0.0_src_support.&amp;nbsp; &amp;nbsp;After I made change to the line 32 of flash_placement.xml, the device was successfully program.&amp;nbsp; Please see line 333 of the attached cmd_script_06062018.txt.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/cmd_5F00_script_5F00_06062018.txt"&gt;devzone.nordicsemi.com/.../cmd_5F00_script_5F00_06062018.txt&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now I have a few more questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;According to the DFU quick start guide, please see attached screenshot, I supposed to see one user LED start blinking, but I do NOT see any user LED is on or blinking except the LD5 is always ON.&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DFU_5F00_Step10_5F00_LED.JPG" /&gt;&lt;/li&gt;
&lt;li&gt;Verifying bootloader with the bootloader_verify.py script&lt;br /&gt; python bootloader_verify.py &amp;lt;serial number&amp;gt; COM3&lt;br /&gt; Please tell me what is &amp;lt;serial number&amp;gt;? I tried 682, NRF52 and nrf52832_xxAAnrf52832_xxAA, all did NOT work.&amp;nbsp; Please see from line 337 to line 356 of the attached cmd_script_06062018.txt above.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;I would like to know the reasons you used mesh v2.0.0 and 5.0.0 softdevice&amp;nbsp;instead of mesh v2.0.1 and 6.0.0 softdevice because we are using mesh v2.0.1 and 6.0.0 softdevice for our development. What are the reasons we can NOT use 6.0.0 softdevice?&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;You suggested to building the mesh stack using cmake (see the subsection &amp;quot;Generating SEGGER Embedded Studio project files). Do you mean below is the only command I need to run in the Command Prompt Window?&amp;nbsp; Do I need to put the two dots &amp;ldquo;..&amp;rdquo; at the end?&lt;br /&gt;&lt;br /&gt;&amp;quot;cmake -G Ninja -DGENERATE_SES_PROJECTS=ON -DPLATFORM=nrf52832_xxAA -DSOFTDEVICE=s132_6.0.0 ..&amp;quot;&lt;br /&gt;&lt;br /&gt;I copied the nrf5_SDK_for_Mesh_v2.0.1_src folder to nrf5_SDK_for_Mesh_v2.0.1_src _CMake folder and ran CMake.&amp;nbsp; Please see attached cmd_script_cmake_06062018.txt, I tried with &amp;ldquo;..&amp;rdquo; and without &amp;ldquo;..&amp;rdquo;, both are NOT working.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/cmd_5F00_script_5F00_cmake_5F00_06062018.txt"&gt;devzone.nordicsemi.com/.../cmd_5F00_script_5F00_cmake_5F00_06062018.txt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Please elaborate how to build mesh stack for mesh v2.0.1 and future mesh release. Actually, I need to make DFU to work with SDK 15.0.0 and Mesh v2.0.1 combined together, please advise on how to make it happens.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/134845?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 08:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2c3b2ae-ed25-47a7-ac34-3e05e45d03e0</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Finally found the answer! Tried the dfu quick start guide using mesh v2.0.0. Used two nrf52832 dev kits &amp;amp; softdevice v5.0.0. I uploaded the blinky hex file located in the bin/blinky/blinky_nrf52832_xxAA_s132_5.0.0.hex. In step 8, I built the segger embedded studio project for the dfu example using the 5.0.0 softdevice (since only the emproject for the 6.0.0 softdevice is available in the mesh sdk). &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_doc_getting_started_how_to_build_cmake.html?cp=4_1_0_3_1_0"&gt;Here is the link&lt;/a&gt; to building the mesh stack using cmake (see the subsection &amp;quot;Generating SEGGER Embedded Studio project files).&lt;/p&gt;
&lt;p&gt;To make it simpler, I have uploaded the zipped mesh sdk that I used.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c1dab7b9bf4648658c7d25bb3cf45d31/nrf5_5F00_SDK_5F00_for_5F00_Mesh_5F00_v2.0.0_5F00_src.zip"&gt;devzone.nordicsemi.com/.../nrf5_5F00_SDK_5F00_for_5F00_Mesh_5F00_v2.0.0_5F00_src.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The changes you will need to make relate to step 8 in the quick start guide. You will need to make changes to the generated SES project using the v5.0.0 softdevice in the flash_placement.xml file located in examples/dfu/.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The fix for this is relatively simple: In examples/dfu/flash_placement.xml, change line 32 from&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;lt;MemorySegment name=&amp;quot;RAM&amp;quot; start=&amp;quot;$(RAM_PH_START)&amp;quot; size=&amp;quot;$(RAM_PH_SIZE)&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;MemorySegment name=&amp;quot;RAM&amp;quot; start=&amp;quot;$(RAM_PH_START)&amp;quot; size=&amp;quot;$(RAM_SIZE)&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After this, follow all of the steps &amp;amp; the dfu should complete without any issues. Hope that helps &amp;amp; sorry for the long time it took in getting this to work!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/134835?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 07:16:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce971d0f-ab71-4078-8091-5335a63c60b6</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I have tried the whole dfu quick start guide again &amp;amp; received this error while trying to do the DFU:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c1dab7b9bf4648658c7d25bb3cf45d31/ERROR_5F00_DFU.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Will talk to the nrfutil developer, ask him to try &amp;amp; get back to you soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/134677?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 08:14:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b28a3b5b-e03d-47cd-b02c-073a94d83fae</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Great! I will let the team know to take a look at the case ASAP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/134638?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 04:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90c66866-3223-4f3b-a41a-03c02e3fc6de</guid><dc:creator>iotlight</dc:creator><description>&lt;p&gt;A new issue is open in GitHub&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/issues/148"&gt;github.com/.../148&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/134485?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 08:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1151b0c-33ad-47d1-9fe1-eb27c2ca300d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I believe it might be best if you add a &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/issues"&gt;new issue at this github link for nrfutil&lt;/a&gt;. They should be quite quick in debugging the issue for you. The mesh developer I have talked to is quite busy &amp;amp; does not have the time currently to debug this issue. If you have found a fix to this problem, could you please update this thread with the solution?&lt;/p&gt;
&lt;p&gt;Regarding not being able to upload pictures, we have done a test &amp;amp; found out that it is possible to attach images &amp;amp; files in this thread. Which browser are you using? We tested with Google Chrome &amp;amp; that worked very well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/134402?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 15:51:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3d5237d-dacb-4ccf-8f6e-3af6ec7932a6</guid><dc:creator>iotlight</dc:creator><description>&lt;p&gt;To reply to your suggestions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;quot;The original issue seems to be an error in the json file. Looks like there is an extra&amp;nbsp;&amp;quot;}&amp;quot; at the end&amp;rdquo;.&lt;br /&gt; Please specify the name of the json file.&amp;nbsp; If you referred to bootloader_config_default.json which was attached in my last reply, there were two &amp;ldquo;{&amp;ldquo; in the front and two &amp;ldquo;}&amp;rdquo; at the end.&lt;/li&gt;
&lt;li&gt;is the customer sure that the com port used is the correct com port? &lt;br /&gt;There is only one JLink CDC UART Port (COM46) and please see line 120 of cmd script.txt attached in my last reply &amp;ldquo;target on COM46&amp;rdquo;.&amp;nbsp;&lt;br /&gt;(I want to attach my COM port screen shot image here, but I&amp;nbsp;have no problem to attach images and files from my computer for private ticket. Now I converted to public ticket, I&amp;nbsp;&lt;span&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;cannot&lt;/span&gt;&lt;/strong&gt; attach images and files from my computer&amp;nbsp;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;for public ticket&lt;/span&gt;&lt;/strong&gt;.&amp;nbsp; Can you help me to convert back to private ticket? We can convert back to public ticket until we have a solution, there is no point to post it public without a solution.)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;The SEGGER DFU build had a known issue with the flash_placement.xml file. I would advise the customer to use some of the pre-compiled binaries to test the DFU first.&amp;quot; &lt;br /&gt;Please see lines 16 to 19 of the attached cmd script.txt in my last reply &lt;br /&gt;&amp;ldquo;&amp;gt;nrfutil dfu genpkg --application &lt;strong&gt;bin/blinky/blinky_nrf52832_xxAA_s132_6.0.0.hex&lt;/strong&gt; --company-id 0x00000059 --application-id1 --application-version 2 --key-file private_key.txt --sd-req 0x009D --mesh dfu_test.zip&amp;rdquo;&amp;nbsp; where&amp;nbsp;&lt;strong&gt;bin/blinky/blinky_nrf52832_xxAA_s132_6.0.0.hex was already pre-compiled.&amp;nbsp; If this is not the right file, please specify which step and file name that need to be used.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;Please ask your Mesh developer continue working on this until a solution.&amp;nbsp; Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15 and Mesh 2.0 Generate a DFU file with nrfutil  - ValueError</title><link>https://devzone.nordicsemi.com/thread/134369?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 12:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4ab7f45-f7a0-4283-bfbe-d866729daca1</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I got a few tips from a Mesh developer here at Nordic:&lt;/p&gt;
&lt;p&gt;&amp;quot;The original issue seems to be an error in the json file. Looks like there is an extra&amp;nbsp;&amp;quot;&lt;tt&gt;}&lt;/tt&gt;&amp;quot; at the end, maybe.&lt;/p&gt;
&lt;p&gt;Next, is the customer sure that the com port used is the correct com port?&lt;/p&gt;
&lt;p&gt;The SEGGER DFU build had a known issue with the flash_placement.xml file. I would advise the customer to use some of the pre-compiled binaries to test the DFU first.&amp;quot;&lt;/p&gt;
&lt;p&gt;But I believe you have fixed the first issue, correct? I also believe you are using the correct com port &amp;amp; I believe you have used the pre-compiled binaries &amp;amp; not your own built hex files.&lt;/p&gt;
&lt;p&gt;I am not sure these tips will help all too much, but it&amp;#39;s worth giving it a shot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>