<?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>Can I program nrf52 with bootloader and application image?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29436/can-i-program-nrf52-with-bootloader-and-application-image</link><description>Hello,
I am using nrf52 and sdk12.2.2. Can I program this with bootloader and application image at once using nrf go studio?
At present I am first uploading bootloader image after that I am uploading application zip file via OTA.
But I want to upload</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jan 2018 07:25:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29436/can-i-program-nrf52-with-bootloader-and-application-image" /><item><title>RE: Can I program nrf52 with bootloader and application image?</title><link>https://devzone.nordicsemi.com/thread/117070?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 07:25:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c760d10-dc22-4dcc-bff9-9d5cf944c1c1</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;When you are using a bootloader, you also need to flash something called a &amp;quot;bootloader settings&amp;quot; hex file.
This needs to be done in order for the bootloader to start the application instead of the DFU profile.
To generate this hex file (which should be the last thing you need for everything to work) you use &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/releases"&gt;nrfutil&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I program nrf52 with bootloader and application image?</title><link>https://devzone.nordicsemi.com/thread/117069?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 04:44:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8ec8bf8-65a7-48da-849f-56baf59a07dc</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hi Shibshab,
Where is the option to program merged hex file in nrf go studio?
I tried to program nrf52 using command line tool.
nrfjprog -f NRF52 --program ..\all.hex
My all.hex files includes 3 files&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Softdevice.hex
2)Bootloader.hex
3)Application.hex
Now when I am programming my nrf52 with my all.hex file my nrf52 advertises only with &amp;quot;dfutarg&amp;quot;.
I want my my nrf52 should advertise with my application image.
Thanks,
Shailav&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I program nrf52 with bootloader and application image?</title><link>https://devzone.nordicsemi.com/thread/117068?ContentTypeID=1</link><pubDate>Sun, 14 Jan 2018 18:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84417f44-8546-406f-b84e-74899f7d9796</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;Download &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF5x-Command-Line-Tools-Win32/33444"&gt;nRF Command Line Tools&lt;/a&gt; which include a tool called &lt;code&gt;mergehex&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;You can use this tool to merge any number of hex files (assuming they don&amp;#39;t have overlapping addresses).&lt;/p&gt;
&lt;p&gt;&lt;code&gt;mergehex -m application.hex bootloader.hex softdevice.hex -o merged.hex&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Next you can use nRF Go to flash the merged hex file, or you can use the command line tool &lt;code&gt;nrfjprog&lt;/code&gt; which is included in the aforementioned package.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I program nrf52 with bootloader and application image?</title><link>https://devzone.nordicsemi.com/thread/117067?ContentTypeID=1</link><pubDate>Sun, 14 Jan 2018 16:20:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e59d9325-6d29-447f-8eca-ba6779bff83e</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;More specifically, the tools you are looking for are mergehex and nrfjprog.  They are available for linux, win, and osx. The options allow you to make one flash image out of the components. Just read through the help docs.&lt;/p&gt;
&lt;p&gt;If you still want to use nRFgo to load the single flash image, you just load it from the application tab onto a blank device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I program nrf52 with bootloader and application image?</title><link>https://devzone.nordicsemi.com/thread/117066?ContentTypeID=1</link><pubDate>Sun, 14 Jan 2018 13:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:655f4035-bfc1-48f8-9b67-8c4c31789999</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;You want to use the nRF5x Command Line Tools for production programming, using a batch file for example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>