<?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>Problem to upgrade bootloader by application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23066/problem-to-upgrade-bootloader-by-application</link><description>Need to upgrade bootloader by application code. I have finished to program bootloader image to FLASH. Content is verified correct, comparing to SRC. However, the bootloader seems to be empty after rebooting the device. nRF Go Studio cannot see it as well</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Sep 2018 08:28:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23066/problem-to-upgrade-bootloader-by-application" /><item><title>RE: Problem to upgrade bootloader by application</title><link>https://devzone.nordicsemi.com/thread/149360?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 08:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce3bfac9-2ec2-4509-93f5-4493a6676de4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I dont see any problem update the bootloader using dfu single bank. You just need to update the application after you have done with updating the bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upgrade bootloader by application</title><link>https://devzone.nordicsemi.com/thread/149001?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 11:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9aae0e8c-1f44-4731-89dd-166981e3ab2d</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt; My bootloader is using dfu_single_bank. What can i do to update my bootloader? i&amp;#39;m thinking about updating bootloader from aplication like Louis, it is the only way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upgrade bootloader by application</title><link>https://devzone.nordicsemi.com/thread/90771?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 09:24:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f214de1-8c47-416b-a1f6-e323a7925c10</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Louis,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible to update the bootloader you don&amp;#39;t need to do that from your application. Please have a  look &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/ble_sdk_app_dfu_bootloader.html?cp=4_0_1_4_3_1_2#lib_dfu_image"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not 100% sure you can combine bootloader and application in one image, but it might be supported by our nRFConnect now.  But please try to update bootloader first, for testing. If it works, you can then test bootloader + application update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upgrade bootloader by application</title><link>https://devzone.nordicsemi.com/thread/90769?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 18:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41c9313c-4371-4d16-8d65-13ac59aa31ca</guid><dc:creator>Louis</dc:creator><description>&lt;p&gt;First, my intention is to upgrade firmware: app + bootloader by DFU. Our platform is nRF52832, using SDK_12.3.0.
We use DFU bootloader, developed by Nordic. We only upgrade APP by DFU. However, for next release, bootloader is modified. Therefore, we have to upgrade both APP and bootloader by DFU. It is single bank in our project. Best solution is by DFU, bootloader can be upgraded. But I guess not. So, I tried to do that by application.
If DFU can do that in single bank, plz show me how to do that.
As for my test procedure, I list pseudo code below:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enter main() of application.&lt;/li&gt;
&lt;li&gt;Check proprietary bootloader version. If not expected bootloader or empty, run below steps.&lt;/li&gt;
&lt;li&gt;Erase flash space of bootloader by nrf_nvmc_page_erase()&lt;/li&gt;
&lt;li&gt;write bootloader image to bootloader space by nrf_nvmc_write_words()
// note: bootloader image is compiled as a array in a c file.
Those are steps how I program bootloader image to flash (0x78000 ~ 0x8000)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For nRF Go Studio, it shows SD, APP, and BOOTLOADER, if any of them exists. If I program all three blocks by GoStudio, it shows them all. When I program SD + APP by GoStudio, and program BL by APP, GoStuio only shows SD + APP. Just like no BL there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upgrade bootloader by application</title><link>https://devzone.nordicsemi.com/thread/90770?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 11:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dc369a1-dd24-4ae1-918e-578821a3eb60</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Louis,&lt;/p&gt;
&lt;p&gt;Could you let me know a little bit more on which bootloader and which application are you testing with ? Which SDK ?
Are you using our DFU bootloader or you wrote your own ?&lt;/p&gt;
&lt;p&gt;What do you mean &amp;quot;nRFGo Studio cannot see it&amp;quot; ?&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t have to update MBR.&lt;/p&gt;
&lt;p&gt;Please list the step you did to test updating the bootloader. I assume you can update the application with no problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>