<?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>NMP timeout error with SMP sample / mcumgr on nrf52840dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114531/nmp-timeout-error-with-smp-sample-mcumgr-on-nrf52840dk</link><description>SUMMARY 
 Attempting to OTA the nrf52840dk over BLE. 
 I was able to perform most of the steps in this sample: https://docs.nordicsemi.com/bundle/ncs-2.1.4/page/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html 
 However, when running the image upload</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Nov 2024 08:42:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114531/nmp-timeout-error-with-smp-sample-mcumgr-on-nrf52840dk" /><item><title>RE: NMP timeout error with SMP sample / mcumgr on nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/510845?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 08:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec7c7696-238f-4b8c-818b-b56dce7a6611</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="frankenboom"]Would this be a separate ticket? [/quote]
&lt;p&gt;Yep&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NMP timeout error with SMP sample / mcumgr on nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/510707?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2024 13:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ddb1159-8bfe-4eaa-afaf-bf5a1aa37228</guid><dc:creator>frankenboom</dc:creator><description>&lt;p&gt;Hi Sigurd, thanks for the help. I used the web version of mcumgr (&lt;a id="" href="https://boogie.github.io/mcumgr-web/"&gt;https://boogie.github.io/mcumgr-web/&lt;/a&gt;) and it worked on the first try, so indeed something was not working on the desktop side using mcumgr. &lt;br /&gt;&lt;br /&gt;I&amp;#39;m now having a separate issue, where trying to integrate BLE FOTA into my existing application (rather than attempting the example) results in a failure to boot. Would this be a separate ticket? &lt;br /&gt;&lt;br /&gt;Many thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NMP timeout error with SMP sample / mcumgr on nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/502131?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 12:50:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3ba7d32-2852-424e-a8cb-d844550e3b09</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="frankenboom"]if you believe the issue lies on the desktop side rather than the device side.[/quote]
&lt;p&gt;I think it is more likely that it is device side. &lt;/p&gt;
&lt;p&gt;Our mobile app is very stable, so if it fails with this, it is likely the device.&lt;/p&gt;
[quote user="frankenboom"]For the mobile app, it appears we can use the nRF connect device manager (library). Is this correct? [/quote]
&lt;p&gt;Yes&lt;/p&gt;
[quote user="frankenboom"]Do you have any guidance for a universal desktop solution? The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/mcumgr.html"&gt;mcumgr page&lt;/a&gt; mentions a &amp;quot;universal replacement&amp;quot; - is there any notion when this would be released?[/quote]
&lt;p&gt;In fact, this mention was removed in Upstream documentation lately: &lt;a href="https://github.com/zephyrproject-rtos/zephyr/commit/1906ab33da8970f4098bcacba11cd5f35e572754"&gt;https://github.com/zephyrproject-rtos/zephyr/commit/1906ab33da8970f4098bcacba11cd5f35e572754&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;I think the note refers to the list of new tools now available, and that you can choose which of them fits your use-case best.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NMP timeout error with SMP sample / mcumgr on nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/501889?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 10:53:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed79cd09-4705-4f1f-989c-f560c8bb58ff</guid><dc:creator>frankenboom</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the pointers. I will go through them in detail this week and report back.&lt;/p&gt;
&lt;p&gt;Glancing at the &amp;quot;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-3-fota-over-bluetooth-low-energy/"&gt;FOTA over Bluetooth Low Energy&lt;/a&gt;&amp;quot; section of the course, it appears that either the Device Manager mobile app or the mcumgr tool is recommended. I&amp;#39;m using mac currently and we must be able to use BLE - I can try AuTerm and the mcumgr-web to see if that changes behavior, if you believe the issue lies on the desktop side rather than the device side. At one point in the past I was able to FOTA with some example using device manager (I cannot recall the specifics).&lt;/p&gt;
&lt;p&gt;The eventual goal is to provide our customers with an NRF52840 device, along with a mobile app and desktop which should be able to execute a BLE FOTA with the device.&lt;/p&gt;
&lt;p&gt;For the mobile app, it appears we can use the nRF connect device manager (library). Is this correct? Do you have any guidance for a universal desktop solution? The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/mcumgr.html"&gt;mcumgr page&lt;/a&gt; mentions a &amp;quot;universal replacement&amp;quot; - is there any notion when this would be released?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NMP timeout error with SMP sample / mcumgr on nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/501691?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 10:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b2a11d-c0b9-439c-997c-b5106da548c4</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have written both this &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/"&gt;course on DFU&lt;/a&gt; and this &lt;a href="https://www.nordicsemi.com/Events/2024/Webinar-Adding-Device-Firmware-Update-DFU-FOTA-Support-in-nRF-Connect-SDK"&gt;webinar on DFU&lt;/a&gt;. &lt;br /&gt;Do you think you can try to follow either of those and see if that fixes your issue?&lt;/p&gt;
&lt;p&gt;Also, the mcumgr tool you use is known to be suboptimal, I recommend that you have a look at alternate tools mentioned over at &lt;a href="https://docs.zephyrproject.org/latest/services/device_mgmt/mcumgr.html"&gt;upstream mcumgr docs&lt;/a&gt; (both lib an tool has the same name &amp;quot;mcumgr&amp;quot;, to confuse us). &lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1725877425622v1.png" alt=" " /&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: NMP timeout error with SMP sample / mcumgr on nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/501512?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 11:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df675541-e04b-443b-b3d3-ba9a687023fc</guid><dc:creator>frankenboom</dc:creator><description>&lt;p&gt;Addendum: The NMP error seems to consistently fail at 15.38% of the upload. If I immediately re-run the same image upload command, the error occurs at almost exactly double, 30.54%. This feels like memory running out somewhere?, but I get no warnings or errors in the DK terminal. &lt;br /&gt;The &amp;quot;v3&amp;quot; in the &amp;quot;devkit_output&amp;quot; file was used as a heartbeat to determine whether some part of the application was crashing. It was a printk() statement inside the while(1) block in main.c of the sample. &lt;br /&gt;&lt;br /&gt;Some ideas / paths to source files in which to add debug breakpoints for the SMP server firmware would also be appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>