<?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 S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21118/combining-s110-bootloader-and-application-hex</link><description>hello everyone:
I use
1.sdk5.2.0
2.s110 6.0.0
3.51822AC
BootLoader project IROM1 set(start:0x3C800 size 0x3400)
application project IROM1 set(start:0x14000 size 0x2B000) 
 I want to combining s110_nrf51822_6.0.0_softdevice.hex,application.hex,BootLoader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Apr 2017 06:59:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21118/combining-s110-bootloader-and-application-hex" /><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82632?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 06:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f78e428-b7c8-4bd2-9835-f9bb983283a5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You can use nrfjprog to flash the combined hexfile to your nRF51822, its a part of the nRF5 Commandline Tools, which can be downloaded using &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/51388/20/51242679/94917"&gt;this&lt;/a&gt; link. Once you have installed it you can use the following terminal command to flash the combined hex file to the nRF51822:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f nrf51 --program &amp;lt;name of combined hex file&amp;gt;.hex --chiperase --verify
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82631?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 01:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17622a15-c9cc-41a5-b99e-0012306f3199</guid><dc:creator>king001</dc:creator><description>&lt;p&gt;ok.I found when I not add BANK_VALID_APP then I can combining three hex. three in one hex,I can see the data in 0x3fc00 as some as user add  BANK_VALID_APP .so  I not need add  BANK_VALID_APP .
by the way I dont know how to uploaded my hex.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82630?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 11:19:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef9ccc8e-a3ee-4ff8-9209-cc8bc56343d3</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;It would be easier if you uploaded the hexfiles so that I could see where the conflict is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82629?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 00:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1adcd3ac-90ad-40e7-9ec3-7a8c0360dc75</guid><dc:creator>king001</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/s.png" alt="image description" /&gt;
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/e.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82628?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 00:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81501c4d-24f0-47d8-8e0a-c17ccbb5c88d</guid><dc:creator>king001</dc:creator><description>&lt;p&gt;noting at 0x3fc00.the last address is 1A090. you can see from the pic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82627?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 11:09:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfbb6656-88b2-44bf-a82c-54475b375b76</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;What about the application, does it have anything placed at 0x3FC00?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82626?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 10:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beb884c0-e493-4b61-9011-6b8cc39ad615</guid><dc:creator>king001</dc:creator><description>&lt;p&gt;the right windows at 0003fc00 ，all  are “-- -- --……” 。&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82625?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 10:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df8c131e-5d43-49d9-92f5-3b543713f2c6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The two memory windows does not show the same addresses, the right one does not show 0x3FC00.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82624?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 09:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ee5bd85-3e25-4752-9ea9-92181c449b84</guid><dc:creator>king001</dc:creator><description>&lt;p&gt;ok I  add a pic you can see .It address from 0003FC00 TO 00040000.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82623?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 09:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1161091-4635-4a0a-97c0-6a3e4295619f</guid><dc:creator>king001</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/QQ20170405171553.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82621?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 09:10:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14ff70fc-de0a-4726-894b-ff718397ee02</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;It could sound like you application places something at the same address, i.e. BOOTLOADER_SETTINGS_ADDRESS. Could you attach the application hex and the bootloader hex with BANK_VALID_APP set to the question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82622?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 09:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21473f0d-9582-4b53-8fa2-fe01c58c1ae9</guid><dc:creator>king001</dc:creator><description>&lt;p&gt;thx,now I know how to calculate the address.and I find when I change &amp;lt;
uint8_t  m_boot_settings[CODE_PAGE_SIZE] &lt;strong&gt;attribute&lt;/strong&gt;((at(BOOTLOADER_SETTINGS_ADDRESS))) &lt;strong&gt;attribute&lt;/strong&gt;((used)) &lt;strong&gt;&lt;em&gt;= {BANK_VALID_APP};&lt;/em&gt;&lt;/strong&gt;&amp;gt;
then I can&amp;#39;t combining this hex.NOT add &lt;strong&gt;&lt;em&gt;= {BANK_VALID_APP}&lt;/em&gt;&lt;/strong&gt; ,I can combining.
but if not add  &lt;strong&gt;&lt;em&gt;= {BANK_VALID_APP};&lt;/em&gt;&lt;/strong&gt;,when I use keil download application.hex ,dfu will not distinguish . and dfu must update once then can run application. what should i do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combining S110, bootloader and Application .hex</title><link>https://devzone.nordicsemi.com/thread/82620?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 06:48:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:467e0ecf-a121-46d4-ac4d-e703f84e51db</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If the bootloader has 0x3C800 as the start address, then you have to set the size of the application flash section so that it ends where the bootloader starts, i.e. Application IROM1 size = &lt;code&gt;BOOTLOADER_START_ADDRESS&lt;/code&gt; - &lt;code&gt;APPLICATION_START_ADDRESS&lt;/code&gt; = &lt;code&gt;0x3C800&lt;/code&gt;-&lt;code&gt;0x14000&lt;/code&gt; = &lt;code&gt;0x28800&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>