<?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>Combining bootloader, softdevice, and application in single hex</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24801/combining-bootloader-softdevice-and-application-in-single-hex</link><description>Hello, 
 I am trying to combine Softdevice, bootloader, and Application hex files in single hex file.
Currently using s130, SDK11, nrf51822. 
 I combined files using this tool : srecord.sourceforge.net/windows.html 
 Command used: srec_cat.exe application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Sep 2017 02:55:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24801/combining-bootloader-softdevice-and-application-in-single-hex" /><item><title>RE: Combining bootloader, softdevice, and application in single hex</title><link>https://devzone.nordicsemi.com/thread/97632?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 02:55:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fdd2f31-7beb-48ad-943c-00899e3c373f</guid><dc:creator>Dhiraj</dc:creator><description>&lt;p&gt;Thanks for the reply.
I followed this link: &lt;a href="https://devzone.nordicsemi.com/question/15081/how-to-flash-the-softdevice-the-bootloader-and-the-application-at-once/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Merged the valid setting hex file to bootloader,softedevice, and application hex using merge hex tool.
It worked :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining bootloader, softdevice, and application in single hex</title><link>https://devzone.nordicsemi.com/thread/97630?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 12:19:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6547c4a-e140-4941-9023-0a1538d153ce</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;you can find more info here &lt;a href="http://infocenter.nordicsemi.com/index.jsp"&gt;http://infocenter.nordicsemi.com/index.jsp&lt;/a&gt;
Source code of the DFU is in the SDK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining bootloader, softdevice, and application in single hex</title><link>https://devzone.nordicsemi.com/thread/97631?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 10:40:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a89b0bd-3ca3-4a49-ba1b-19d5a3a9e7b9</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;app_valid_settings.hex contains information the bootloader needs to verify that the application on the chip is valid. If it is missing or incorrect, the bootloader will not find a valid app, and enter bootloader mode. The app_valid_settings.hex must be generated every time you recompile application.hex. To generate use the python tool nrfutil, which you find here:&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt; https://github.com/NordicSemiconductor/pc-nrfutil&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining bootloader, softdevice, and application in single hex</title><link>https://devzone.nordicsemi.com/thread/97633?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 05:02:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7038008e-47b3-4a80-a625-a9b716811802</guid><dc:creator>Dhiraj</dc:creator><description>&lt;p&gt;Thanks for the reply.
I tried the mergehex tool and srec_cat tool. In both case device doesn`t advertise.
When I try to switch to dfu mode, it switches perfectly and advertise as &amp;quot;DFUtarg&amp;quot;.
Is the app_valid_setting.hex different for different SDK and softdevices?
What exactly that hex files contains?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining bootloader, softdevice, and application in single hex</title><link>https://devzone.nordicsemi.com/thread/97629?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 04:00:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0619fb26-2b13-4ff7-b930-3e1a695bf0ba</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;if you read that thread via your link, you&amp;#39;ll see that the tool require to merge is mergehex not srecord.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>