<?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>Issues in loading application via nRFConnect using Secure Serial Bootloader &amp;amp; SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55677/issues-in-loading-application-via-nrfconnect-using-secure-serial-bootloader-softdevice</link><description>Hello, 
 
 I am using nRF52840, SDK_16.0.0, S140 SoftDevice and Segger 4.16 for flashing the image. I am using ‘ble_app_blinky’. 
 
 1) Initially I loaded Secure serial bootloader with Public/Private key and SoftDevice S140 from below path using nRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Dec 2019 13:02:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55677/issues-in-loading-application-via-nrfconnect-using-secure-serial-bootloader-softdevice" /><item><title>RE: Issues in loading application via nRFConnect using Secure Serial Bootloader &amp; SoftDevice</title><link>https://devzone.nordicsemi.com/thread/225645?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 13:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1557f55-8d3a-4c7f-b8c5-eeda90bd56b5</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Thank you for your inputs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in loading application via nRFConnect using Secure Serial Bootloader &amp; SoftDevice</title><link>https://devzone.nordicsemi.com/thread/225644?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 09:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bdb3bdb-216c-47f5-b9e4-a5391b9bf0f0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Vishnu,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1)The bootloader setting is normally written when the bootloader booting up and find nothing in the bootloader setting area. It&amp;#39;s also get updated when a new image is DFU updated. It will mark the application area as valid area.&lt;/p&gt;
&lt;p&gt;The reason we generate the bootloader setting and flash it manually is to tell the bootloader that there is a valid image and it should boot to the application instead of staying at DFU mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;The bootloader setting has nothing to do with the softdevice. The information about the softdevice is extracted from the softdevice itself and is not stored in the bootloader setting.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in loading application via nRFConnect using Secure Serial Bootloader &amp; SoftDevice</title><link>https://devzone.nordicsemi.com/thread/225643?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 17:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65b445fd-2c1e-41f2-a282-381f2fe3903c</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Thank you Hung,&lt;/p&gt;
&lt;p&gt;I have gone through &amp;quot;Bootloader Settings page&amp;quot; in below link&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_bootloader.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_bootloader.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Based on this, if Bootloader settings page is not present then device will enter into DFU mode. My basic query is,&lt;/p&gt;
&lt;p&gt;1) In which phase Bootloader settings page is written. Is it during programming of MBR or bootloader or during SoftDevice or during loading application package.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) This now I was exploring DFU of application. How about SoftDevice ? Even to do DFU of SoftDevice whether bootloader settings page required ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Vishnu Beema&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in loading application via nRFConnect using Secure Serial Bootloader &amp; SoftDevice</title><link>https://devzone.nordicsemi.com/thread/225642?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 16:05:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e15594e-967a-48d3-9faa-3008a1bfa589</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, if you do #1 then you don&amp;#39;t need bootloader setting.&lt;/p&gt;
&lt;p&gt;If you want to flash your application via nRF Connect programmer app (or combine bootloader, softdevice, application hex files together ) then you need to generate bootloader setting as in #2.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in loading application via nRFConnect using Secure Serial Bootloader &amp; SoftDevice</title><link>https://devzone.nordicsemi.com/thread/225641?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 14:56:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fff4fcc3-90c1-4579-9f34-874bb003f9d7</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Though I generated ble_app_blinky package using private/public key, still I dragged only hex file into nRF Connect. In that case no meaning in my comment &amp;quot;&lt;span&gt;Later I am trying to load ble_app_blinky example using private/public key.&lt;/span&gt;&amp;quot; Sorry for confusing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1) So I need to load package using nrfutil but not nRFConnect as bootloader settings are not flashed. Is my understanding correct ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) To generate bootloader settings I need to use below procedure&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_settings_generate_display.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_settings_generate_display.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please correct me if I am wrong.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Vishnu Beema&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in loading application via nRFConnect using Secure Serial Bootloader &amp; SoftDevice</title><link>https://devzone.nordicsemi.com/thread/225640?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 14:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:874fd75e-2f6d-4f72-b650-778b1aefb805</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Vishnu,&amp;nbsp;&lt;br /&gt;I&amp;#39;m sorry, my mistake.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was a bit confused when you mentioned &amp;quot;&lt;span&gt;Later I am trying to load ble_app_blinky example using private/public key.&amp;nbsp;&amp;quot; What exactly you meant by &amp;quot;using private/public key&amp;quot; ? I assume you didn&amp;#39;t use the Bootloader to load the application ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you load the application using nRFConnect, you need to create the bootloader setting and flash the bootloader setting. There reason for bootloader setting is to tell the bootloader that you have a valid application and the bootloader should start the application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can find some information about that here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader#h61sjziauupw1j397q9s9ldr01q4j6d5"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader#h61sjziauupw1j397q9s9ldr01q4j6d5&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in loading application via nRFConnect using Secure Serial Bootloader &amp; SoftDevice</title><link>https://devzone.nordicsemi.com/thread/225639?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 12:54:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5aa163-53c0-440f-9e4d-047be03b3bd5</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1) In Point 1, I am loading both Bootloader and SoftDevice. That&amp;#39;s why right its showing blue color for SoftDevice. But left after loading its showing green.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) I followed other sequence.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; a) First load Secure Serial bootloader.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; b) Next time I loaded SoftDevice &amp;amp; application at same time.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; But still I am not able to see application running and device is in boot mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Vishnu Beema&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues in loading application via nRFConnect using Secure Serial Bootloader &amp; SoftDevice</title><link>https://devzone.nordicsemi.com/thread/225638?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 12:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:598790b6-359d-477e-885e-4db2f85d4f54</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Vishnu,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may have the same issue as this:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/55577/uart-based-dfu-works-but-then-the-application-does-not-start"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/55577/uart-based-dfu-works-but-then-the-application-does-not-start&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The softdevice need to be flashed in additional.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>