<?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>OTA for NRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88632/ota-for-nrf52833</link><description>Hi Everyone, 
 I am trying to do OTA on NRF52833. In my previous project I was able to do OTA on NRF52840. The memory requirements for the project were as follows:- 
 Memory requirements for NRF52840 in the DFU project. 
 MEMORY SEGMENTS - 
 FLASH1 RX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Aug 2022 07:08:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88632/ota-for-nrf52833" /><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/379801?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 07:08:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:471f7bc6-bffd-43aa-aae9-42afb38eb71f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Happy to hear it&amp;#39;s working now. &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;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/379792?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 04:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87f2d510-867f-4dbc-a9ec-daa99a64dbd8</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; No worries. The issue was solved. It is working now.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/379735?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 13:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf223c41-ac44-4f10-a66b-02785bbf9a95</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&amp;nbsp; Due to the summer holidays in Norway,&amp;nbsp; we are in less support staff than usual.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;----&lt;/p&gt;
&lt;p&gt;What is your mergehex version (mergehex -v)? I use v10.16.0 and don&amp;#39;t get the error. Try to use the latest version of &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools"&gt;nRF Command Line Tool&lt;/a&gt;.&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: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/379026?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 06:30:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f56fb079-5b4e-467c-8091-c8b244079362</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Ok I will share you the files.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The command use to generate settings.hex is as follows:-&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil settings generate --family NRF52833 --application app.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 settings.hex
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then I merge my softdevice,bootloader and settings.hex to generate&amp;nbsp;&lt;span&gt;merged_SD_bootloader.hex.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mergehex -m s140_nrf52_7.2.0_softdevice.hex bootloader.hex  settings.hex -o merged_SD_bootloader.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Finally I merge&amp;nbsp;&lt;span&gt;merged_SD_bootloader with my application app.hex.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mergehex -m merged_SD_bootloader.hex app.hex -o final.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please let me know if the order of commands is wrong.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7853.s140_5F00_nrf52_5F00_7.2.0_5F00_softdevice.hex"&gt;devzone.nordicsemi.com/.../7853.s140_5F00_nrf52_5F00_7.2.0_5F00_softdevice.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2148.settings.hex"&gt;devzone.nordicsemi.com/.../2148.settings.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2543.bootloader.hex"&gt;devzone.nordicsemi.com/.../2543.bootloader.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8400.app.hex"&gt;devzone.nordicsemi.com/.../8400.app.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Snehal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/378892?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 11:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:196eadc8-c057-495e-a7ed-3fea5629340c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use nRF Connect for Desktop/Programmer to check the memory layout and then modify the address of the bootloader or application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t know how to do that, please upload the images of SD, bootloader, App, and setting.&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: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/378830?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 07:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:128368bb-5552-4128-8eb4-722f1b3ca352</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;I actually tried to create settings using that command, settings was generated. but when I tried to merge it with my (sd+boodloader+application) hex file I am getting errors:&lt;/p&gt;
&lt;p&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/pastedimage1658906916571v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The command used to generate settings is actually :-&lt;/p&gt;
&lt;p&gt;nrfutil settings generate --family NRF52 --application app.hex --application-version 1 --bootloader-version 2 --bl-settings-version 1 settings.hex&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;guess some issue with version ??&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Snehal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/378828?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 07:26:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:296bc4e7-cb9b-4acd-a0a9-a1cdbb925467</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Looks correct.&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: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/378822?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 07:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dc892d3-495d-4188-8513-d6ef9a2e186c</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;So for NRF52833, this will be the command to generate settings file?&lt;/p&gt;
&lt;pre class="pre codeblock"&gt;&lt;code&gt;nrfutil settings generate --family NRF52833 --application app.hex --application-version 3 --bootloader-version 2 --bl-settings-version 1 settings.hex&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/378821?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 07:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f292b89d-426b-4c13-9f00-1c1bd6a5bf80</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="snehal_2789"]After running this script I load the generated merged hex file into device. [/quote]
&lt;p&gt;If you flash that&amp;nbsp;&lt;span&gt;generated merged hex file into the device, you would also need to program the&amp;nbsp;&lt;a title="Bootloader settings page" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_buttonless_dfu.html?cp=8_1_4_4_1_1#ble_sdk_app_buttonless_dfu_bootloader_settings"&gt;Bootloader settings page&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/378736?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 13:39:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c979f07e-767f-4054-a2ae-3edb2d3e1622</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I know its too late to reply but I have successfully manages to do OTA on NRF52833. Now my only issue is when for the first time I program the device, I am using merge hex to combine the softdevice,bootloader and application file. I give the following script&amp;nbsp; to generate merged hex file:-&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;

@echo off

:: # Check to make sure nrfjprog is installed before moving on
WHERE &amp;gt;nul 2&amp;gt;nul nrfjprog
IF %ERRORLEVEL% NEQ 0 (
ECHO &amp;quot;nrfjprog was not found in PATH, please install using windows installed as found on nordicsemi.com&amp;quot;
goto :end
)
WHERE &amp;gt;nul 2&amp;gt;nul mergehex
IF %ERRORLEVEL% NEQ 0 (
ECHO &amp;quot;mergehex was not found in PATH, please install using windows installed as found on nordicsemi.com&amp;quot;
goto :end
)

SET S140=s140_nrf52_7.2.0_softdevice.hex
SET BOOTLOADER=bootloader.hex
SET APPLICATION=application.hex

echo &amp;quot;## Looking to make sure %S140% exists&amp;quot;
if not exist %S140% (
echo &amp;quot;#### s140 hex file does not exist! Make sure the softdevice is in the same folder as this script!&amp;quot;
goto :end
)
echo.

echo &amp;quot;## Looking to make sure %BOOTLOADER% exists&amp;quot;
if not exist %BOOTLOADER% (
echo &amp;quot;#### Bootloader hex file does not exist! Please make sure its compiled, copied, and renamed into this folder!&amp;quot;
goto :end
)
echo.

echo &amp;quot;## Looking to make sure APPLICATION% exists&amp;quot;
if not exist %APPLICATION% (
echo &amp;quot;#### APPLICATION hex file does not exist! Please make sure its compiled, copied, and renamed into this folder!&amp;quot;
goto :end
)
echo.

mergehex -v

echo &amp;quot;## Merging S140 and bootloader, then flashing it to nRF52-DK; make sure the DK is powered on and connected to the PC&amp;quot;
mergehex -m %S140% %BOOTLOADER% %APPLICATION% -o merged_SD_bootloader.hex
nrfjprog --program merged_SD_bootloader.hex --chiperase
echo.

echo &amp;quot;## Please power cycle the DK and then with nRF Connect, make sure the board is in bootloader mode and ADV as DfuTarg&amp;quot;
echo.

:end
pause&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After running this script I load the generated merged hex file into device. Now what I have observed is the device stays in the bootloader mode. It does not automatically go into application mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What changes are needed to do so that after flashing this merged hex file, the device will come out of bootloader mode and start running the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am getting the following error:-&lt;/p&gt;
&lt;p&gt;&lt;span&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Inside main&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;info&amp;gt; nrf_dfu_settings: Old settings page detected. Upgrading info.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0x7E000.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;info&amp;gt; app: No firmware to activate.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;warning&amp;gt; app: Boot validation failed. App is invalid.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;info&amp;gt; nrf_bootloader_wdt: WDT is not enabled&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Entering DFU mode.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I saw many threads on it but could not find the link to what I am missing. Please help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Snehal Bundele.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/371268?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 06:13:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3246bc12-a94d-4fe4-8c31-1e4eded34c45</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My colleague, Vidar,&lt;span&gt;&amp;nbsp;created a new &amp;#39;pca10100&amp;#39; configuration for the buttonless template app in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/76541/running-buttonless-dfu-example-on-pca10100/316309#316309"&gt;this thread&lt;/a&gt;. Please try it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/371266?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 06:04:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f3a7af9-ec8e-4e0f-9bdd-05d74ae40040</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Thank you for the reply Amanda. How can I start to develop OTA for nRF52833?? I wanted to buttonless OTA for nrf52833. Will you please guide me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/371265?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 06:01:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65443868-a07d-4002-9541-3eaee720bad5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;No, the&amp;nbsp;&lt;/span&gt;&lt;span&gt;CryptoCell&lt;/span&gt;&lt;span&gt;&amp;nbsp;library requires hardware support and is therefore available only on the nRF52840 SoC.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/371097?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2022 10:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1496cc0-5adf-4c3a-b8f4-de397db69745</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thank you for your reply. So if we want to implement&amp;nbsp;&lt;span&gt;NRF_CRYPTOCELL&amp;nbsp; in nrf52833, can we do that?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Snehal&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA for NRF52833</title><link>https://devzone.nordicsemi.com/thread/371074?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2022 09:05:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:703ea5f2-3ff9-4c43-a9bb-cf7dbe4b15e3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]Now I wanted to perform OTA on NRF52833. How can I modify these memory settings to do a successful OTA ?What needs to be changed in the MEMORY SEGMENTS for NRF52840?[/quote]
&lt;p&gt;You can refer to the memory address of secure_bootloader and&amp;nbsp;ble_app_uart and for nRF52833 (pca10100).&amp;nbsp;&lt;/p&gt;
[quote user=""]It also seems that there is no&amp;nbsp;NRF_CRYPTOCELL in the NRF52833 dfu project. Can we add NRF_CRYPTOCELL for nrf52833 like it is added in nrf52840??&amp;nbsp;[/quote]
&lt;p&gt;nRF52833 doesn&amp;#39;t have&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/cryptocell.html?cp=4_0_0_5_5"&gt;CRYPTOCELL — ARM TrustZone CryptoCell 310&lt;/a&gt;&amp;nbsp;as nRF52840 in hardware.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>