<?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>Running into issues when adding FOTA support</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120380/running-into-issues-when-adding-fota-support</link><description>I have a custom board that uses nrf52832 and I would like to add FOTA support using Bluetooth. 
 When I build the code using the nrf Connect inside VS code, it creates a DFU pack (.zip) 
 I am trying to use the DFU pack to flash my device using the phone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Apr 2025 14:13:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120380/running-into-issues-when-adding-fota-support" /><item><title>RE: Running into issues when adding FOTA support</title><link>https://devzone.nordicsemi.com/thread/530856?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 14:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5b0ed2b-b3bc-47ab-8638-ee44fc19c2ec</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Happy to hear you solved the issue. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running into issues when adding FOTA support</title><link>https://devzone.nordicsemi.com/thread/530677?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 20:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeed685d-d50c-4d67-ab3e-58736da67bfb</guid><dc:creator>Liz</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
&lt;p&gt;I was able to solve my issue and now I can flash using nRF Connected Device Manager.&lt;/p&gt;
&lt;p&gt;Here are the major changes I made when it started working:&lt;/p&gt;
&lt;p&gt;Changed from&amp;nbsp;BT_LE_ADV_OPT_USE_IDENTITY to&amp;nbsp;BT_LE_ADV_OPT_CONNECTABLE&lt;/p&gt;
&lt;p&gt;Decreased my advertising interval from 10s to 500ms&lt;/p&gt;
&lt;p&gt;Increased my while(1) loop k_sleep time from 1ms to 100ms&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank again,&lt;/p&gt;
&lt;p&gt;Liz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running into issues when adding FOTA support</title><link>https://devzone.nordicsemi.com/thread/530672?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 18:57:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4540d13b-7e83-4626-be1c-eb388a9480f3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;What application are you running on the custom board?&lt;/p&gt;
&lt;p&gt;Could you test with the&amp;nbsp;&lt;span&gt;Nordic Academy example on your custom board?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you have an empty while loop without any k_sleep() or similar it will consume all available CPU resources, blocking any lower priority threads. Check out&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107819/dfu-over-ble-using-smp-failing-when-device-is-in-error-state/466851"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running into issues when adding FOTA support</title><link>https://devzone.nordicsemi.com/thread/530654?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 14:49:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9092cd20-7ccc-4f57-bc37-b6e0b0bda3b1</guid><dc:creator>Liz</dc:creator><description>&lt;p&gt;Hello! I tried the Nordic Academy example using the nrf52dk and it worked. I tried to replicate the steps for my custom board and unfortunately it still does not work.&lt;/p&gt;
&lt;p&gt;I have been using the nRF Connected Device Manager app.&lt;/p&gt;
&lt;p&gt;Here are the states I get:&lt;/p&gt;
&lt;p&gt;REQUESTING MCUMGR PARAMETERS&lt;/p&gt;
&lt;p&gt;REQUESTING BOOTLOADER INFO&lt;/p&gt;
&lt;p&gt;VALIDATING&lt;/p&gt;
&lt;p&gt;Sending the request timed out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running into issues when adding FOTA support</title><link>https://devzone.nordicsemi.com/thread/530301?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 15:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6a5db17-6f19-4033-b338-a70360e40f06</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]I am trying to use the DFU pack to flash my device using the phone app nRF Toolbox or nRF DFU (I am trying both)[/quote]
&lt;p&gt;Please use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-connect-device-manager" rel="noopener noreferrer" target="_blank"&gt;nRF Connect Device Manager app&lt;/a&gt;&lt;span&gt;&amp;nbsp;for mobile (Android and iOS). Also, check this Nordic Academy course:&amp;nbsp;&lt;/span&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-5-fota-over-bluetooth-low-energy/"&gt;FOTA over Bluetooth Low Energy&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>