<?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>OTA update in mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81676/ota-update-in-mesh</link><description>I am working on OTA update . 
 Right now i am working simple 
 https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_user_guide_modules_dfu_configuring_performing.html 
 using this link to configure DFU 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Nov 2021 12:40:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81676/ota-update-in-mesh" /><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340909?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 12:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71e9add6-63cb-44e3-8804-8ff7e5fc81f9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Mohsin khan"]Nothing is changed in RTT log&amp;nbsp;[/quote]
&lt;p&gt;Please try to test again without the signing keys.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please make sure UART is working between your computer and the board, you can test using a UART example.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is a &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47320/mesh-dfu-problem-using-nrf52840"&gt;similar case&lt;/a&gt; that might help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Mohsin khan"]In fact now its empty with i run hex file of blink then erase it after that i try to do all steps but i didn&amp;#39;t see anything in RTT logs .[/quote]
&lt;p&gt;&lt;span&gt;Follow this&amp;nbsp;&lt;a title="Configuring and performing DFU over Mesh" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_doc_user_guide_modules_dfu_configuring_performing.html?cp=8_2_2_4_0_2_1"&gt;Configuring and performing DFU over Mesh&lt;/a&gt;&amp;nbsp;document to program the bootloader again.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Mohsin khan"]Is there any issue if this warning comes after connection .&amp;nbsp;[/quote]
&lt;p&gt;It detects that your probe is a J-Link clone, and cannot guarantee the operation correctly. Please contact your provider for the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340882?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 11:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b97a4e67-72d9-425c-86b4-8d0716383c35</guid><dc:creator>Mohsin khan</dc:creator><description>&lt;p&gt;Nothing is changed in RTT log&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In fact now its empty with i run hex file of blink then erase it after that i try to do all steps but i didn&amp;#39;t see anything in RTT logs .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1637925557113v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Is there any issue if this warning comes after connection .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340880?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 11:12:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f23ac602-0fb0-494a-9a59-a876aea91b0e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Good, but I need the RTT log until you get the error (Error is: Failed to establish the connection).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340871?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 10:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffcc57d5-93ec-426b-8d34-c22f7488b20e</guid><dc:creator>Mohsin khan</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;t:          3&amp;gt;, main.c,  227, ----- Bluetooth Mesh DFU Example -----
00&amp;gt; &amp;lt;t:       8811&amp;gt;, nrf_mesh_dfu.c,  753, Version info: BL(ver, id): 0x01 0x01 SD: 0x0100
00&amp;gt; &amp;lt;t:       8815&amp;gt;, nrf_mesh_dfu.c,  755, Version info: APP company: 0x20210304 id: 0x0001 version: 0x00000001
00&amp;gt; &amp;lt;t:       8827&amp;gt;, serial_handler_prov.c,  267, Generating encryption keypair...
00&amp;gt; &amp;lt;t:      13608&amp;gt;, main.c,  233, Initialization complete!
00&amp;gt; &amp;lt;t:      18278&amp;gt;, main.c,  254, Enabling serial interface...
00&amp;gt; &amp;lt;t:      18281&amp;gt;, mesh_app_utils.c,   66, Device UUID (raw): 0F2EAF580D3F439FBB24D199F320A8BE
00&amp;gt; &amp;lt;t:      18284&amp;gt;, mesh_app_utils.c,   67, Device UUID : 0F2EAF58-0D3F-439F-BB24-D199F320A8BE
00&amp;gt; &amp;lt;t:      18296&amp;gt;, nrf_mesh_dfu.c,  554,   RADIO TX! SLOT 0, count 15, interval: periodic, handle: FFFE
00&amp;gt; &amp;lt;t:      18300&amp;gt;, nrf_mesh_dfu.c,  593,   SERIAL TX (type: 65534)
00&amp;gt; &amp;lt;t:      18308&amp;gt;, main.c,  262, DFU example started!&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;These are logs of RTT viewer .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;LOG: Connecting to J-Link via USB...
LOG: Device &amp;quot;NRF52840_XXAA&amp;quot; selected.
LOG: InitTarget() start
LOG: InitTarget() end
LOG: Found SW-DP with ID 0x2BA01477
LOG: DPIDR: 0x2BA01477
LOG: CoreSight SoC-400 or earlier
LOG: Scanning AP map to find all available APs
LOG: AP[2]: Stopped AP scan as end of AP map has been reached
LOG: AP[0]: AHB-AP (IDR: 0x24770011)
LOG: AP[1]: JTAG-AP (IDR: 0x02880000)
LOG: Iterating through AP map to find AHB-AP to use
LOG: AP[0]: Core found
LOG: AP[0]: AHB-AP ROM base: 0xE00FF000
LOG: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
LOG: Found Cortex-M4 r0p1, Little endian.
LOG: FPUnit: 6 code (BP) slots and 2 literal slots
LOG: CoreSight components:
LOG: ROMTbl[0] @ E00FF000
LOG: [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
LOG: [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
LOG: [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
LOG: [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
LOG: [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
LOG: [0][5]: E0041000 CID B105900D PID 000BB925 ETM
LOG: RTT Viewer connected.
LOG: Terminal 0 added.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340869?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 10:08:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:359fe8c4-47a3-4f44-97ae-279cf12df4f9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Those are not the RTT log I&amp;#39;m asking. See&amp;nbsp;&lt;a title="nRF5 Getting Started" href="https://infocenter.nordicsemi.com/topic/ug_gsg_keil/UG/gsg/connect_rtt_win.html?resultof=%22%52%54%54%22%20%22%72%74%74%22%20"&gt;Using SEGGER&amp;#39;s J-Link RTT viewer to connect via RTT&lt;/a&gt;&amp;nbsp;documentation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340866?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 09:59:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9909fd9f-0641-49c2-a7fb-949f8e335e79</guid><dc:creator>Mohsin khan</dc:creator><description>&lt;p&gt;These are logs from my cmd and rtt&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;D:\nrf mesh&amp;gt;nrfjprog --program s140_nrf52_7.2.0_softdevice.hex --chiperase
Parsing image file.
Applying system reset.
Verified OK.

D:\nrf mesh&amp;gt;nrfjprog --program mesh_bootloader_serial_gccarmemb_nrf52840_xxAA.hex
Parsing image file.
Applying system reset.
Verified OK.

D:\nrf mesh&amp;gt;nrfjprog --program device_page_nrf52840_xxAA_s140_7.2.0.hex
Parsing image file.
Applying system reset.
Verified OK.

D:\nrf mesh&amp;gt;nrfjprog --program dfu_nrf52840_xxAA_s140_7.2.0.hex
Parsing image file.
Applying system reset.
Verified OK.

D:\nrf mesh&amp;gt;nrfjprog -r
Applying system reset.
Run.

D:\nrf mesh&amp;gt;nrfutil --verbose dfu serial -pkg dfu_test.zip -p COM6 -b 115200 -fc --mesh
Upgrading target on COM6 with DFU package D:\nrf mesh\dfu_test.zip. Flow control is enabled.
Flushing com-port...
Opened com-port
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 130832
Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing.
1: PC -&amp;gt; target: 0502aabbccdd
2: PC -&amp;gt; target: 0502aabbccdd
3: PC -&amp;gt; target: 0502aabbccdd
4: PC -&amp;gt; target: 0502aabbccdd
5: PC -&amp;gt; target: 0502aabbccdd
6: PC -&amp;gt; target: 0502aabbccdd
7: PC -&amp;gt; target: 0502aabbccdd
8: PC -&amp;gt; target: 0502aabbccdd
9: PC -&amp;gt; target: 0502aabbccdd
10: PC -&amp;gt; target: 0502aabbccdd


Failed to upgrade target. Error is: Failed to establish connection

Possible causes:
- bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
- baud rate or flow control is not the same as in the target bootloader.
- target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
- if the error is ERROR_BUSY at the beginning of the DFU process,increase the value of PAGE_ERASE_TIME_MAX by few milliseconds.
Closing serial port...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;###RTT Client: Connecting to J-Link RTT Server via localhost:19021 ....................................................................................................................................................
###RTT Client: Connected.

SEGGER J-Link V7.58c - Real time terminal output
SEGGER J-Link ARM V9.7, SN=59768885
Process: jlinkarm_nrf_worker.exe

###RTT Client: Connection lost. Going to reconnect.
###RTT Client: Connecting to J-Link RTT Server via localhost:19021 ...............................................
###RTT Client: Connected.

SEGGER J-Link V7.58c - Real time terminal output
SEGGER J-Link ARM V9.7, SN=59768885
Process: jlinkarm_nrf_worker.exe

###RTT Client: Connection lost. Going to reconnect.
###RTT Client: Connecting to J-Link RTT Server via localhost:19021 ................................
###RTT Client: Connected.

SEGGER J-Link V7.58c - Real time terminal output
SEGGER J-Link ARM V9.7, SN=59768885
Process: jlinkarm_nrf_worker.exe

###RTT Client: Connection lost. Going to reconnect.
###RTT Client: Connecting to J-Link RTT Server via localhost:19021 ..............................
###RTT Client: Connected.

SEGGER J-Link V7.58c - Real time terminal output
SEGGER J-Link ARM V9.7, SN=59768885
Process: jlinkarm_nrf_worker.exe

###RTT Client: Connection lost. Going to reconnect.
###RTT Client: Connecting to J-Link RTT Server via localhost:19021 ....................
###RTT Client: Connected.

SEGGER J-Link V7.58c - Real time terminal output
SEGGER J-Link ARM V9.7, SN=59768885
Process: jlinkarm_nrf_worker.exe

###RTT Client: Connection lost. Going to reconnect.
###RTT Client: Connecting to J-Link RTT Server via localhost:19021 .............................................................................................................................................................................................................................................&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1637920756576v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340859?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 09:43:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b40482b-278b-4874-bee3-4eb90a325aac</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You would need to connect with Jlink and get &lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_keil/UG/gsg/connect_rtt_win.html"&gt;RTT&lt;/a&gt; log via Jlink Viewer. Also, see my previous reply.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Please try testing without using any key. Just to simplify the testing.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Please make sure COM7 is the correct comport and in your code&amp;nbsp;NRF_MESH_SERIAL_ENABLE is set to 1.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Please print out RTT log from the DFU firmware, and check if&amp;nbsp;mesh_evt_handler() is called for any DFU event.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340852?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 09:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99acb23d-c783-439e-9b98-ca9be1a97da9</guid><dc:creator>Mohsin khan</dc:creator><description>&lt;p&gt;It takes too much time to respond to new questions i want to solve problem immediately .&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/81676/ota-update-in-mesh/340842#340842"]&lt;span&gt;The&lt;/span&gt;&lt;span&gt;&amp;nbsp;RTT log from the DFU firmware might help provide clues&lt;/span&gt;[/quote]
&lt;p&gt;How to check RTT log from DFU firmware .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340842?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 08:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7db2a7d-3892-4152-bd44-d7f1bc078d80</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Mohsin khan"]Can you please tell me steps to follow to do DFU on waveshare eval kit of NRF52840 .[/quote]
&lt;p&gt;The&amp;nbsp;&lt;span&gt;waveshare eval kit of NRF52840 is not developed by Nordic, and I don&amp;#39;t have their board to reproduce it. The&lt;/span&gt;&lt;span&gt;&amp;nbsp;RTT log from the DFU firmware might help provide clues. Please create a new support case. The latest issue is away from the original scope.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Mohsin khan"]tell me one more thing when we are trying to do on eval board so we have to program from jlink or USB board .&amp;nbsp;[/quote]
&lt;p&gt;Not sure the&amp;nbsp;waveshare eval kit has the onboard debugger or not, but I guess not. On the &lt;a href="https://www.waveshare.com/w/upload/7/71/NRF52840_Eval_Kit_User_Manual_EN.pdf"&gt;NRF52840 Eval Kit User Manual&lt;/a&gt;&amp;nbsp;page.6, there is a 4PIN SWD debugging interface: for connecting ARM Debugger to program/debug. Seems you need an&lt;span&gt;&amp;nbsp;ARM Debugger (Jlink) to program.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340820?ContentTypeID=1</link><pubDate>Fri, 26 Nov 2021 05:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:670920c0-5fbb-418f-831b-4b4870c4171c</guid><dc:creator>Mohsin khan</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to clear one thing i have successfully done DFU with development kit but i want to do this with nrf52840 eval kit waveshare but when i try to do on that its giving me same error which i have showed you . Can you please tell me steps to follow to do DFU on waveshare eval kit of NRF52840 . I am attaching some pictures to show you my board . And tell me one more thing when we are trying to do on eval board so we have to program from jlink or USB board .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1637906076346v1.jpeg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340575?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 14:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2555bd91-d204-4641-bdc7-a372bc7b15a4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please try testing without using any key. Just to simplify the testing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please make sure COM7 is the correct comport and in your code&amp;nbsp;NRF_MESH_SERIAL_ENABLE is set to 1.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please print out RTT log from the DFU firmware, and check if&amp;nbsp;mesh_evt_handler() is called for any DFU event.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/340451?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 06:33:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14046b1c-fdfd-450c-9662-2b850d1f68be</guid><dc:creator>Mohsin khan</dc:creator><description>&lt;p&gt;Hello Amanda,&lt;/p&gt;
&lt;p&gt;sorry for being late i am getting error using the file in the link please tell me where the issue is&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;D:\nrf mesh&amp;gt;nrfutilmesh --verbose dfu serial -pkg dfu_test.zip -p COM7 -b 115200 -fc --mesh
Upgrading target on COM7 with DFU package D:\nrf mesh\dfu_test.zip. Flow control is enabled.
Flushing com-port...
Opened com-port
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 130832
Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing.
1: PC -&amp;gt; target: 0502aabbccdd
2: PC -&amp;gt; target: 0502aabbccdd
3: PC -&amp;gt; target: 0502aabbccdd
4: PC -&amp;gt; target: 0502aabbccdd
5: PC -&amp;gt; target: 0502aabbccdd
6: PC -&amp;gt; target: 0502aabbccdd
7: PC -&amp;gt; target: 0502aabbccdd
8: PC -&amp;gt; target: 0502aabbccdd
9: PC -&amp;gt; target: 0502aabbccdd
10: PC -&amp;gt; target: 0502aabbccdd


Failed to upgrade target. Error is: Failed to establish connection

Possible causes:
- bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
- baud rate or flow control is not the same as in the target bootloader.
- target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
- if the error is ERROR_BUSY at the beginning of the DFU process,increase the value of PAGE_ERASE_TIME_MAX by few milliseconds.
Closing serial port...

D:\nrf mesh&amp;gt;nrfutilmesh --verbose dfu serial -pkg dfu_test.zip -p COM7 -b 115200 -fc --mesh
Upgrading target on COM7 with DFU package D:\nrf mesh\dfu_test.zip. Flow control is enabled.
Flushing com-port...
Opened com-port
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 130832
Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing.
1: PC -&amp;gt; target: 0502aabbccdd


Failed to upgrade target. Error is: WriteFile failed (WindowsError(22, &amp;#39;The device does not recognize the command.&amp;#39;))

Possible causes:
- bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
- baud rate or flow control is not the same as in the target bootloader.
- target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
- if the error is ERROR_BUSY at the beginning of the DFU process,increase the value of PAGE_ERASE_TIME_MAX by few milliseconds.
Closing serial port...

D:\nrf mesh&amp;gt;nrfutilmesh --verbose dfu serial -pkg dfu_test.zip -p COM7 -b 115200 -fc --mesh
Upgrading target on COM7 with DFU package D:\nrf mesh\dfu_test.zip. Flow control is enabled.
Flushing com-port...
Opened com-port
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 130832
Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing.
1: PC -&amp;gt; target: 0502aabbccdd
2: PC -&amp;gt; target: 0502aabbccdd
3: PC -&amp;gt; target: 0502aabbccdd
4: PC -&amp;gt; target: 0502aabbccdd
5: PC -&amp;gt; target: 0502aabbccdd
6: PC -&amp;gt; target: 0502aabbccdd
7: PC -&amp;gt; target: 0502aabbccdd
8: PC -&amp;gt; target: 0502aabbccdd
9: PC -&amp;gt; target: 0502aabbccdd
10: PC -&amp;gt; target: 0502aabbccdd


Failed to upgrade target. Error is: Failed to establish connection

Possible causes:
- bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
- baud rate or flow control is not the same as in the target bootloader.
- target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
- if the error is ERROR_BUSY at the beginning of the DFU process,increase the value of PAGE_ERASE_TIME_MAX by few milliseconds.
Closing serial port...&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/339147?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 08:25:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:178b9a23-6ee8-4b39-95c9-2c0e44041f85</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have a look at this post&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/72479/configuring-and-performing-dfu-over-mesh"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/72479/configuring-and-performing-dfu-over-mesh&lt;/a&gt;&amp;nbsp;, and test the file provided by my colleague.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/339023?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 13:05:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfcc4f14-973c-41ac-b80c-cbba40c26556</guid><dc:creator>Mohsin khan</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Microsoft Windows [Version 10.0.19042.1288]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Mohsin khan&amp;gt;cd ..

C:\Users&amp;gt;d:

D:\&amp;gt;cd nrf mesh]
The system cannot find the path specified.

D:\&amp;gt;cd nrf mesh

D:\nrf mesh&amp;gt;nrfutilmesh dfu serial -pkg dfu_test.zip -p COM7 -b 115200 -fc --mesh
Upgrading target on COM7 with DFU package D:\nrf mesh\dfu_test.zip. Flow control is enabled.


Failed to upgrade target. Error is: Failed to establish connection

Possible causes:
- bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
- baud rate or flow control is not the same as in the target bootloader.
- target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
- if the error is ERROR_BUSY at the beginning of the DFU process,increase the value of PAGE_ERASE_TIME_MAX by few milliseconds.

D:\nrf mesh&amp;gt;nrfutilmesh keys --gen-key private.key
Generated key at: private.key

D:\nrf mesh&amp;gt;nrfutilmesh keys --show-vk hex private.key
Verification key Qx: 714f113b75c0c50891da361d1f1968d5fe2a5bec49dbebce139791c2a8fa7f09
Verification key Qy: beb8a06b430a2c1ab0f6d5caef9dbdc31b1480aec0035ee075f1f95e0ab39848

D:\nrf mesh&amp;gt;nrfutilmesh dfu --help
Usage: nrfutilmesh dfu [OPTIONS] COMMAND [ARGS]...

  This set of commands support Nordic DFU OTA package generation for
  distribution to applications and serial DFU.

Options:
  --help  Show this message and exit.

Commands:
  genpkg  Generate a package for distribution to Apps supporting Nordic DFU
          OTA

  serial  Program a device with bootloader that support serial DFU

D:\nrf mesh&amp;gt;nrfutilmesh dfu genpkg --help
Usage: nrfutilmesh dfu genpkg [OPTIONS] ZIPFILE

  Generate a zipfile package for distribution to Apps supporting Nordic DFU
  OTA. The application, bootloader and softdevice files are converted to
  .bin if it is a .hex file. For more information on the generated init
  packet see:
  http://developer.nordicsemi.com/nRF51_SDK/doc/7.2.0/s110/html/a00065.html

Options:
  --application TEXT              The application firmware file
  --company-id INT OR NONE        Company ID for mesh-application. Must either
                                  be a Bluetooth SIG assigned company ID (see
                                  https://www.bluetooth.com/specifications
                                  /assigned-numbers/company-identifiers for
                                  more information), or a random number
                                  between 65535 and 4294967295. If a random
                                  number is chosen, it is recommended to not
                                  use the &amp;quot;lazy&amp;quot; approach of selecting an easy
                                  number, as this increases the risk of
                                  namespace collisions for the app-IDs. It is
                                  also recommended to use the same company-ID
                                  for all your applications.

  --application-id INT OR NONE    Mesh application ID, default: 0x0000
  --application-version INT OR NONE
                                  Application version, default: 0xFFFFFFFF
  --bootloader-id INT OR NONE     Mesh bootloader id, default: 0xFF00
  --bootloader TEXT               The bootloader firmware file
  --dev-revision INT OR NONE      Device revision, default: 0xFFFF
  --dev-type INT OR NONE          Device type, default: 0xFFFF
  --dfu-ver FLOAT                 DFU packet version to use, default: 0.5
  --sd-req TEXT OR NONE           SoftDevice requirement. A list of SoftDevice
                                  versions (1 or more)of which one is required
                                  to be present on the target device.Example:
                                  --sd-req 0x4F,0x5A. Default: 0xFFFE.

  --softdevice TEXT               The SoftDevice firmware file
  --key-file FILE                 Signing key (pem fomat)
  --mesh                          Generate a package targeting Mesh-DFU
  --help                          Show this message and exit.

D:\nrf mesh&amp;gt;nrfutilmesh dfu genpkg --application bin/blinky/blinky_nrf52840_xxAA_s140_7.2.0.hex --company-id 0x00000059 --application-id 1 --application-version 1 --key-file private.key --sd-req 0x0101 --mesh dfu_test.zip
Key file was given, setting DFU version to 0.8
Traceback (most recent call last):
  File &amp;quot;C:\Python27\Scripts\nrfutilmesh-script.py&amp;quot;, line 11, in &amp;lt;module&amp;gt;
    load_entry_point(&amp;#39;nrfutil==0.3.0.0&amp;#39;, &amp;#39;console_scripts&amp;#39;, &amp;#39;nrfutil&amp;#39;)()
  File &amp;quot;C:\Python27\lib\site-packages\click\core.py&amp;quot;, line 829, in __call__
    return self.main(*args, **kwargs)
  File &amp;quot;C:\Python27\lib\site-packages\click\core.py&amp;quot;, line 782, in main
    rv = self.invoke(ctx)
  File &amp;quot;C:\Python27\lib\site-packages\click\core.py&amp;quot;, line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File &amp;quot;C:\Python27\lib\site-packages\click\core.py&amp;quot;, line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File &amp;quot;C:\Python27\lib\site-packages\click\core.py&amp;quot;, line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File &amp;quot;C:\Python27\lib\site-packages\click\core.py&amp;quot;, line 610, in invoke
    return callback(*args, **kwargs)
  File &amp;quot;c:\python27\lib\site-packages\nrfutil-0.3.0.0-py2.7.egg\nordicsemi\__main__.py&amp;quot;, line 276, in genpkg
    package.generate_package(zipfile_path)
  File &amp;quot;c:\python27\lib\site-packages\nrfutil-0.3.0.0-py2.7.egg\nordicsemi\dfu\package.py&amp;quot;, line 212, in generate_package
    Package.normalize_firmware_to_bin(work_directory, firmware[FirmwareKeys.FIRMWARE_FILENAME])
  File &amp;quot;c:\python27\lib\site-packages\nrfutil-0.3.0.0-py2.7.egg\nordicsemi\dfu\package.py&amp;quot;, line 366, in normalize_firmware_to_bin
    temp.tobinfile(new_filepath)
  File &amp;quot;c:\python27\lib\site-packages\nrfutil-0.3.0.0-py2.7.egg\nordicsemi\dfu\nrfhex.py&amp;quot;, line 162, in tobinfile
    super(nRFHex, self).tobinfile(fobj, start=start_address, size=size)
  File &amp;quot;c:\python27\lib\site-packages\nrfutil-0.3.0.0-py2.7.egg\nordicsemi\dfu\intelhex\__init__.py&amp;quot;, line 401, in tobinfile
    fobj.write(self._tobinstr_really(start, end, pad, size))
  File &amp;quot;c:\python27\lib\site-packages\nrfutil-0.3.0.0-py2.7.egg\nordicsemi\dfu\intelhex\__init__.py&amp;quot;, line 373, in _tobinstr_really
    return asstr(self._tobinarray_really(start, end, pad, size).tostring())
  File &amp;quot;c:\python27\lib\site-packages\nrfutil-0.3.0.0-py2.7.egg\nordicsemi\dfu\intelhex\__init__.py&amp;quot;, line 342, in _tobinarray_really
    raise ValueError(&amp;quot;tobinarray: wrong value for size&amp;quot;)
ValueError: tobinarray: wrong value for size&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So these are all code which i try to run with nrfutilmesh its version is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrfutil version 0.3.0.0&lt;/p&gt;
&lt;p&gt;Right now its not making the packge&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am new to nrf mesh please help me out of this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;my nrf52 version is 17.0.2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update in mesh</title><link>https://devzone.nordicsemi.com/thread/339005?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 12:03:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ca62de5-e1b9-4fe3-b473-4df470a39557</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What does the update package include SD+BL+APP?&lt;/p&gt;
&lt;p&gt;Please post the command you are using and provide the log from the device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>