<?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>Application won&amp;#39;t start after OTA DFU Device Firmware update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81332/application-won-t-start-after-ota-dfu-device-firmware-update</link><description>Hi- 
 
 We have an application that currently does not use the soft device. Eventually we will want softdevice S113 in our application once we start to add some BLE based features. Our custom board has an nRF52833 chip on it. Our application is based</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Nov 2021 07:08:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81332/application-won-t-start-after-ota-dfu-device-firmware-update" /><item><title>RE: Application won't start after OTA DFU Device Firmware update</title><link>https://devzone.nordicsemi.com/thread/337385?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 07:08:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67cfc6ab-b494-42b4-bbc1-2567f795105e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Happy to know it works.&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: Application won't start after OTA DFU Device Firmware update</title><link>https://devzone.nordicsemi.com/thread/337337?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 16:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ffaa7e0-0c1c-4134-bfbc-beb1c901704a</guid><dc:creator>idavenport</dc:creator><description>&lt;p&gt;And thanks for the tip on &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__drv__clock.html#gaa9387d5ea7f15b7370a24f0f0ca32135" rel="noopener noreferrer" target="_blank"&gt;nrf_drv_clock_lfclk_is_running&lt;/a&gt;&lt;span&gt;&amp;nbsp; .&amp;nbsp; I think we will use that in future.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application won't start after OTA DFU Device Firmware update</title><link>https://devzone.nordicsemi.com/thread/337336?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 16:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acfaaa36-0be2-4042-934f-ca7bcd525978</guid><dc:creator>idavenport</dc:creator><description>&lt;p&gt;We did get it working.&amp;nbsp; We had some memory map issues as well after we got the double clock initialization worked out and those two together allowed us to program our custom app OTA and have it run.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application won't start after OTA DFU Device Firmware update</title><link>https://devzone.nordicsemi.com/thread/337309?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 14:42:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c2f0014-4b02-4996-8bc6-ce682ecc5d6c</guid><dc:creator>idavenport</dc:creator><description>&lt;p&gt;We are using the LF crystal.&amp;nbsp; We do have one on our custom HDT board.&amp;nbsp; The app runs fine on the LF crystal when we run the app by itself, without the bootloader and softdevice starting at 0x0000 in flash.&amp;nbsp; It only has problems when it is retargeted with nrfutil to run at a higher address.&amp;nbsp; It did take us a while to make tickless sleep work.&amp;nbsp; Is it possible that any of the things we had to do to make tickless sleep work with FreeRTOS could cause problems when retargted in memory and made to work in the presence of the bootloader and softdevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application won't start after OTA DFU Device Firmware update</title><link>https://devzone.nordicsemi.com/thread/337305?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 14:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e863004b-99df-40ae-bb6e-9d57cd9ede98</guid><dc:creator>idavenport</dc:creator><description>&lt;p&gt;Thanks, our app does run without issue.&amp;nbsp; It only has problems when we package it with nrfutil and send it OTA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application won't start after OTA DFU Device Firmware update</title><link>https://devzone.nordicsemi.com/thread/337270?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 12:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1398bd2d-87f4-42a1-b0e0-a7e37c5d935a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Seems you can use BLE bootloader on the&amp;nbsp;&lt;span&gt;&amp;nbsp;nRF52833&amp;nbsp;&lt;/span&gt;&lt;span&gt;custom board&amp;nbsp; to&amp;nbsp;&lt;/span&gt;update with&amp;nbsp;&lt;span&gt;HID keyboard example without issue. Right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]Once we run our own code, we hit what appears to be an assert.[/quote]
&lt;p&gt;&amp;nbsp;You should make sure the app run without issue before using it to update as a package.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What LF clock source are you requesting ?&amp;nbsp;on-chip RC oscillator or LF crystal?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you are using a custom board, and requesting the LF crystal as LF clock source, do you have a LF crystal on the custom board?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__drv__clock.html#gaa9387d5ea7f15b7370a24f0f0ca32135"&gt;nrf_drv_clock_lfclk_is_running&lt;/a&gt;&lt;span&gt;&amp;nbsp;function can be polled to check if the clock has started.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application won't start after OTA DFU Device Firmware update</title><link>https://devzone.nordicsemi.com/thread/337176?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 06:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ffa7761-b8f0-4cc9-8c3a-8e78bcd1d8bc</guid><dc:creator>idavenport</dc:creator><description>&lt;p&gt;Attached is our .zip file from nrfutils if that helps.&amp;nbsp; Also note that when we choose the S113 pca10100 (nrf52833) example project of the HID keyboard, we can package that hex file up with nrfutil and download it and have the HID keyboard show up when we scan with nrfConnect, so we know OTA can work on our hardware.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/HDT_5F00_NG_5F00_App_5F00_1453_5F00_NoClkInit.zip"&gt;devzone.nordicsemi.com/.../HDT_5F00_NG_5F00_App_5F00_1453_5F00_NoClkInit.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>