<?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>Program flashing issue with a bootloader installed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24649/program-flashing-issue-with-a-bootloader-installed</link><description>NRF52 pca10028 DK - SDK14 - Arm GCC (Eclipse) - SD 5.0.0 - bootloader_secure_ble 
 Using either nRFGo Studio or eclipse to program the flash (it does it with both) 
 I can flash the soft device and the bootloader (in that order) and the bootloader starts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Aug 2017 11:53:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24649/program-flashing-issue-with-a-bootloader-installed" /><item><title>RE: Program flashing issue with a bootloader installed</title><link>https://devzone.nordicsemi.com/thread/97021?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 11:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6903b719-23b1-4050-a69c-6ecad774e7eb</guid><dc:creator>Bryan H</dc:creator><description>&lt;p&gt;I updated nrf5x command line tools (had version 9.3.1 - latest is 9.6.0) and retried as you suggested.
It still would not work. I did some searching and found that a flag for a valid application needs turned to 1 and crc settings need added to memory also.&lt;/p&gt;
&lt;p&gt;I then came across &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2Fnrfutil%2Fnrfutil_settings_generate_display.html&amp;amp;cp=5_4_6"&gt;this page in the infocenter&lt;/a&gt; that talks about a way to generate and settings file for your app that you mergehex into the SD-BL-APP merged file.&lt;/p&gt;
&lt;p&gt;After doing that and flashing the new merged hex file (with the new settings file added), it works perfectly.&lt;/p&gt;
&lt;p&gt;I can actually use nRFGo Studio to flash the new hex file too and it works.&lt;/p&gt;
&lt;p&gt;Thanks for your help Nguyen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program flashing issue with a bootloader installed</title><link>https://devzone.nordicsemi.com/thread/97024?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2017 22:03:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3174f83c-7ebb-45e0-8677-6617c8ce41a8</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;you need to mergehex first to merge all in same hex file then use nrfjprog to flash. make sure you have the latest version of mergehex and nrfjprog.
An alternative way you can flash without mergehex is to use the &lt;a href="https://embeddedsoftdev.blogspot.ca/p/idap-link.html"&gt;IDAP-Link&lt;/a&gt;. It can flash all 3 hex at once and does the setting correctly for BL to boot into application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program flashing issue with a bootloader installed</title><link>https://devzone.nordicsemi.com/thread/97023?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2017 15:47:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1bc152b-4cc2-4e7c-af4b-55c2fbddd3dd</guid><dc:creator>Bryan H</dc:creator><description>&lt;p&gt;I just used nrfjprog and it does the same thing.&lt;/p&gt;
&lt;p&gt;I program softdevice first.
Reset.
Bootlader second.
Reset.
Then the application.
Reset.&lt;/p&gt;
&lt;p&gt;The bootloader comes up - not the application.
I then can load the application fine over BLE (with or without programing the application first with nrfjprog.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program flashing issue with a bootloader installed</title><link>https://devzone.nordicsemi.com/thread/97022?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2017 15:36:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:397d2383-7b3c-479c-9a01-665703680716</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;There is a valid app data structure that the BL check before jumping to the App.  nRFGo is too old, it is not updated with new SDK.  Use nrfjprog for that mater.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>