<?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>FOTA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83095/fota</link><description>Hi, 
 I&amp;#39;m trying to implement a simple FOTA BLE with MCUBOOT following the instructions in the documentation. 
 I&amp;#39;m using Visual Studio Code NRF extensions as an IDE, and NRF Connect for Mobile app to do the actual FOTA. 
 I see that Visual Studio Code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Feb 2022 14:23:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83095/fota" /><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/351366?ContentTypeID=1</link><pubDate>Fri, 04 Feb 2022 14:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c25fc40-2dc4-457b-93c6-6f80f7ed17b3</guid><dc:creator>Vitaliy Freidovich</dc:creator><description>&lt;p&gt;I cannot reproduce the error now anymore..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/345283?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 16:42:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c317335-112b-4efc-8e26-79b09186e24c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Vitaliy,&amp;nbsp;&lt;br /&gt;I can&amp;#39;t think of any reason modifying HW configuration can cause MCUboot to fail. If you test with the example in the SDK (SMP_SVR for example) would you see the same problem of test and confirm ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/345190?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 08:10:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6770d0dc-398e-4aaf-abec-5015ce003a02</guid><dc:creator>Vitaliy Freidovich</dc:creator><description>&lt;p&gt;This is the behaviour I observe now as well.&lt;/p&gt;
&lt;p&gt;Do you think that the HW switches configuration on the board might have caused the original problem?&lt;/p&gt;
&lt;p&gt;Any HW switch effecting flash writes?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BTW, Test and Confirm seems faulty in the app, I have to do each separately to get the desired result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/345133?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 15:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9dd19d6-341b-43d4-a9af-c0d55751db4e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Vitaliy,&amp;nbsp;&lt;br /&gt;I was suspecting that if you update the exact same image and if the image is already stored in one of the slot the bootloader will skip the image. It&amp;#39;s what I have observed. But in my case the image is updated on the first time and run properly and if I tried to update same image again the connection immediately disconnect after the hash is sent.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/345106?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 12:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1daf2e99-c3e6-47d5-addf-ce7200792487</guid><dc:creator>Vitaliy Freidovich</dc:creator><description>&lt;p&gt;Thanks Mike!&lt;/p&gt;
&lt;p&gt;For me it suddenly started working now!&lt;/p&gt;
&lt;p&gt;Not sure what changed, I just played with the switches on the development board.&lt;/p&gt;
&lt;p&gt;Do you know if any of them may effect DFU?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/345104?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 12:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a80d2cbe-5ba6-46a8-be82-39446f4bb292</guid><dc:creator>Vitaliy Freidovich</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;1. I&amp;#39;m using SDK 1.7.1&lt;/p&gt;
&lt;p&gt;2. Same behavior observed without secure boot&lt;/p&gt;
&lt;p&gt;3. Same behavior observed with smp_svr&lt;/p&gt;
&lt;p&gt;However not it seems to be working! I only played with the state of the switches on the dev board, and now it seems to be working! And I cannot reproduce the previous state where it failed. Is there any HW switch which can effect the DFU process? Perhaps write protects partially flash or anything similar?&lt;/p&gt;
&lt;p&gt;I will continue testing to make sure that the issue is resolved, would appreciate your feedback on what might have caused it, to make sure it will not happen again in production :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/345102?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 12:22:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ef8e890-9bb9-4573-83e3-487f7247b707</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Vitaliy,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you let me know which SDK version you are using ?&amp;nbsp;&lt;br /&gt;I would suggest to test without the immutable Bootloader (remove&amp;nbsp;CONFIG_SECURE_BOOT=y&lt;br /&gt;CONFIG_BUILD_S1_VARIANT=y).&lt;/p&gt;
&lt;p&gt;If you simply test the \zephyr\samples\subsys\mgmt\mcumgr\smp_svr (configured with Bluetooth support) example do you see the same issue ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/345100?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 12:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0752ebdc-d778-44a7-9d41-f413f0d1d120</guid><dc:creator>Mike Hibbett</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/apache/mynewt-mcumgr/issues/69"&gt;github.com/.../69&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA</title><link>https://devzone.nordicsemi.com/thread/345093?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 11:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bcb752c-7e16-4eab-945d-af96f0f12027</guid><dc:creator>Mike Hibbett</dc:creator><description>&lt;p&gt;I&amp;#39;m in *exactly* the same spot today. Using an NRF52832.&lt;/p&gt;
&lt;p&gt;I *thought* I has FOTA working, but I now have a decide in a state where it is not. My first suggestion is download NRF Device Manager.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the app, turn of the filter (I am not sure why the SMP filter is not working with my devices)&lt;/p&gt;
&lt;p&gt;Click the download icon, then touch ADVANCED.&lt;/p&gt;
&lt;p&gt;Do a read, and take a look at your two image slots status.&lt;/p&gt;
&lt;p&gt;FYI, I get the same kind of error as you,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;W&lt;span&gt; &lt;/span&gt;15:36:00.931&lt;span&gt; &lt;/span&gt;[McuMgr] Error: (0x8): GATT CONN TIMEOUT&lt;/p&gt;
&lt;p&gt;I am unable to erase slot1 (by pressing the erase button after a read). I get an error BAD_STATE(6)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;TEST, CONFIRM, TEST &amp;amp; CONFIRM result in a repeated device reboot with no change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>