<?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>bootloader not showing advertising data on custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9162/bootloader-not-showing-advertising-data-on-custom-board</link><description>Hi 
 I used the boot loader example successfully on the nrf51DK board.
Now I want to use it on my custom board. So I recompiled the boot loader code, with 1 difference: routed the UPDATE_IN_PROGRESS_LED and BOOTLOADER_BUTTON to a different IO. For the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Sep 2015 14:53:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9162/bootloader-not-showing-advertising-data-on-custom-board" /><item><title>RE: bootloader not showing advertising data on custom board</title><link>https://devzone.nordicsemi.com/thread/33769?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2015 14:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdeac28f-ffbd-40d2-ac1c-4a656a9f7b2f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi wim,
Please have a look at &lt;a href="https://devzone.nordicsemi.com/question/46842/how-to-modify-ld-to-support-16kb-ram-from-32kb/"&gt;this case&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bootloader not showing advertising data on custom board</title><link>https://devzone.nordicsemi.com/thread/33768?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2015 13:00:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6227c945-5162-48b6-b47b-70d8cb79a0e4</guid><dc:creator>wim</dc:creator><description>&lt;p&gt;&lt;em&gt;Make sure you have configured the IROM1, IRAM1, IRAM2 in the project setting correctly. Secondly, make sure dfu_ble_svc.c file is configure so that it has &amp;quot;Memory Assignment&amp;quot; of Zero Initialized Data at IRAM2.&lt;/em&gt;
How do I do that?
in my project IROM1 is set to start 0x3C00 and size 0x3C00, IRAM1 is set to 0x20002C00 and size 0x5380, and IRAM2 is set to start 0x20007F80 and size 0x80. Furthermore, on  IROM1, IRAM1 and IRAM2 the &amp;#39;default&amp;#39; checkbox is checked, and on IRAM2, the NoInit checkbock is checked.
Or in other words: I kept the defaults of the (Keil) project.
Do I have to set different values for these fields?
And how do I do &lt;em&gt;memory assignment of zero initialized data at IRAM2&lt;/em&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bootloader not showing advertising data on custom board</title><link>https://devzone.nordicsemi.com/thread/33767?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2015 12:42:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8e312b3-bbd5-4bcb-8087-df5cf4729636</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@wim: You need to reconfigure the bootloader to make it debug-able. You can have a look here on how to do it, at section F.
dfu_ble_get_peer_data() shouldn&amp;#39;t cause any trouble, what it does it to check if you have peer data in IRAM2 to re-encrypt the link. In your case you would not have anything there and the function return NRF_ERROR_INVALID_DATA. This is normal.&lt;/p&gt;
&lt;p&gt;Make sure you have configured the IROM1, IRAM1, IRAM2 in the project setting correctly. Secondly, make sure dfu_ble_svc.c file is configure so that it has &amp;quot;Memory Assignment&amp;quot; of Zero Initialized Data at IRAM2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>