<?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>Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83074/unable-to-use-mcumgr-dfu-over-serial-from-ubuntu</link><description>Hi all, I tried the Serial DFU sample with NRF52840-DK board in ubuntu 
 The project build and run. 
 When I use mcumgr the command work but was non possible to me upload a new image. 
 The mcumgr echo work: 
 mcumgr --conntype serial --connstring &amp;quot;/dev</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jan 2022 04:49:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83074/unable-to-use-mcumgr-dfu-over-serial-from-ubuntu" /><item><title>RE: Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/thread/345562?ContentTypeID=1</link><pubDate>Mon, 03 Jan 2022 04:49:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4aec830-bf35-4e8b-a886-212dac246472</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;i was able to solve by changing usb.conf to mcuboot.conf&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83169/flashing-bootloader"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/83169/flashing-bootloader&lt;/a&gt; with this ticket&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/thread/345063?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 08:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21b1edbd-a285-4e3f-b48f-2229cf50979b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Which version of nRF Connect SDK are you using?&lt;/p&gt;
&lt;p&gt;When you communicate using the the USB connector to the debugges (J2), the serial data has to go via the debugger. &lt;br /&gt;This could cause errors due to delays.&lt;br /&gt;To avoid this, try to use the USB connector which goes directly to the nRF instead, marked nRF USB (J3).&lt;br /&gt;For using the nRF USB you need to build the SMP Server sample with the following configurations:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -p -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG=&amp;quot;overlay-cdc.conf overlay-fs.conf&amp;quot; -DDTC_OVERLAY_FILE=&amp;quot;usb.overlay&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(First program the board (west flash) from J2, then reconnect to J3 before using DFU (mcumgr))&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/thread/345011?ContentTypeID=1</link><pubDate>Fri, 24 Dec 2021 04:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c1573d8-b957-4931-b8ed-4c9590b716a7</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i&amp;#39;ve added CONFIG_HEAP_MEM_POOL_SIZE=2048 in prj.conf but it shows same above behaviour&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/thread/344983?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 14:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acde9ee2-2910-4dd7-878a-dd498dcf064f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82975/serial-dfu-on-nrf9160-dk-fail-to-upload-image-using-mcumgr"&gt;This issue&lt;/a&gt; seems similar to yours. &lt;br /&gt;Could you try the fix suggested in there?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/thread/344950?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 12:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f16f7e6-a595-44af-aa18-bec4bc1f0afa</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is the log,PFA&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mcumgr_5F00_serial_5F00_dfu_5F00_cmd_5F00_log.zip"&gt;devzone.nordicsemi.com/.../mcumgr_5F00_serial_5F00_dfu_5F00_cmd_5F00_log.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Reagrds&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/thread/344930?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 11:52:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c189685d-cdd9-42b6-b31f-f64673e3d9bb</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Could you get the log from the command when you append the following flag?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;--loglevel debug&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/thread/344916?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 10:38:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ea83fe-6e41-4dc4-8bbc-87038f12c1bb</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi Sigurd Hellesvik,&lt;/p&gt;
&lt;p&gt;I have done west flash --erase and then used mcumgr and i&amp;#39;ve also tried with smp_svr example both shows same above behaviour.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use mcumgr DFU over serial from ubuntu</title><link>https://devzone.nordicsemi.com/thread/344896?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 09:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ca9b605-97d0-4947-a660-d10fcdc45fd9</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Tushar&lt;/p&gt;
&lt;p&gt;When you flash your program before trying to use the mcumgr, try to wipe the flash storage using:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west flash --erase&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/west/build-flash-debug.html"&gt;Building, Flashing and Debugging&lt;/a&gt; for documentation on the flash command)&lt;/p&gt;
&lt;p&gt;Have you tried the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt;SMP Server Sample&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>