<?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>nRF52840 SDK16 s140 - Bootloader and Softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64621/nrf52840-sdk16-s140---bootloader-and-softdevice</link><description>Hi everyone, 
 I am a new developer and I am using the nRF52840 with SDK16 and s140 for prototyping and I have some questions about the bootloader and the softdevice. 
 Regarding the softdevice: 
 This getting started guide sais that if you want to run</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Aug 2020 11:53:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64621/nrf52840-sdk16-s140---bootloader-and-softdevice" /><item><title>RE: nRF52840 SDK16 s140 - Bootloader and Softdevice</title><link>https://devzone.nordicsemi.com/thread/263809?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 11:53:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aabb929d-b4c4-4fb9-ab34-8de7ca5399ce</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Nick,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Nikosant03"]Maybe when I buid the application with Segger IDE it merges the application with softdevice into a single .hex file?&amp;nbsp;[/quote]
&lt;p&gt;No, the Segger doesn&amp;#39;t merge the .hex file. It loads the softdevice and application images separately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]So I was thinking that I have to program the bootloader on nRF52840 before attempting to upload my firmware. [/quote]
&lt;p&gt;It&amp;#39;s&amp;nbsp;&lt;span&gt;the MBR which is to provide an interface to allow in-system updates of the application, the SoftDevice, and bootloader firmware. The softdevice is merged with the exact same MBR hex-file.&amp;nbsp;See the&amp;nbsp;&lt;a title="Master boot record and bootloader" href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/mbr_bootloader/mbr_bootloader.html?cp=4_7_4_0_11"&gt;Master boot record and bootloader&lt;/a&gt;&amp;nbsp;documentation.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can start from&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/ble_sdk_app_template.html"&gt;Template Application&lt;/a&gt;&amp;nbsp;to see&amp;nbsp;who it loads the softdevice and application.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 s140 - Bootloader and Softdevice</title><link>https://devzone.nordicsemi.com/thread/263782?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 10:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:754de16d-4469-4517-84ed-bdde4d677011</guid><dc:creator>Nikosant03</dc:creator><description>&lt;p&gt;Thanks you for your responce Amanda,&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/64621/nrf52840-sdk16-s140---bootloader-and-softdevice/263748"]If you use a Segger example, it will also load the softdevice[/quote]
&lt;p&gt;I didn&amp;#39;t know that thanks!!&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/64621/nrf52840-sdk16-s140---bootloader-and-softdevice/263748"]When you use nrfjprog / nRF Connect Programmer programming directly, you have to load the&amp;nbsp;&lt;span&gt;softdevice manually.&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;Well I used the nrfjprog and the nRF Connect Programmer and I didn&amp;#39;t have to upload the softdevice manually in any case. I just uploaded the .hex provided with your examples. Maybe when I buid the application with Segger IDE it merges the application with softdevice into a single .hex file?&amp;nbsp;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/64621/nrf52840-sdk16-s140---bootloader-and-softdevice/263748"]To use&amp;nbsp;&lt;span&gt;nRF connect Programmer, you have to load (Add HEX file) softdevice (under \nRF5_SDK\components\softdevice\s140\hex\s140_nrf52_7.0.1_softdevice.hex) and bootloader.&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;As I mentioned before I didn&amp;#39;t have to load the softdevice (it is likely was merged with the application file). Which one is the bootloader file (where can I find it)? I didn&amp;#39;t loaded any bootloader file and the application was programmed fine.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 SDK16 s140 - Bootloader and Softdevice</title><link>https://devzone.nordicsemi.com/thread/263748?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 07:38:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a25f185-88a9-4710-a81f-a72094bd2450</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Nikos,&amp;nbsp;&lt;/p&gt;
[quote user=""]My guess is that your BLE examples incorporates the softdevice and it is programming automatically? If this is true why your guide sais that &amp;quot;you must program the softdevice on the board&amp;quot;?[/quote]
&lt;p&gt;If you use a Segger example, it will also load the softdevice. When you use nrfjprog / nRF Connect Programmer programming directly, you have to load the&amp;nbsp;&lt;span&gt;softdevice manually.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6e4cf98d159e4c6d8b5a94017512a1ba/254403.PNG" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""] I am straggling to understand the procedure.. What I&amp;#39;ve done so far in order to program the board using the &amp;quot;programmer&amp;quot; app of nRF connect for Desktop platform is:[/quote]
&lt;p&gt;&amp;nbsp;To use&amp;nbsp;&lt;span&gt;nRF connect Programmer, you have to load (Add HEX file) softdevice (under \nRF5_SDK\components\softdevice\s140\hex\s140_nrf52_7.0.1_softdevice.hex) and bootloader.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>