<?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>Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53575/problem-with-sdk-12-secure-bootloader</link><description>Hello, 
 im trying to use secure bootloader from SDK v 12.3. I have custom board with nrf51822 and one oscillator. I changed flags to custom board. I was able to compile the sources with armgcc and program SoftDevice (S130) and bootloader. Device is advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Nov 2019 18:52:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53575/problem-with-sdk-12-secure-bootloader" /><item><title>RE: Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/thread/220941?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 18:52:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95a48ed6-a613-4c5a-8fc7-7dd919d738be</guid><dc:creator>michael.czyz</dc:creator><description>&lt;p&gt;Sorry for late response, but you were right. Removing -flto flag solves the problem.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/thread/216813?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 11:38:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f046507-4a6c-427f-838b-0214c4ec4ea2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think it&amp;#39;s related to the bug reported here:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/31303/bootloader-that-makes-in-armgcc-doesn-t-work"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/31303/bootloader-that-makes-in-armgcc-doesn-t-work&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and here&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30312/bootloader-app_start_timer-cause-hardfault"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/30312/bootloader-app_start_timer-cause-hardfault&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So the solution is either to remove -flto in the makefile (I assume you are using gcc&amp;nbsp; ? ) or use gcc&amp;nbsp;v 4.9 2015q3 as recommended in the release note of SDK v12.3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/thread/216688?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 17:13:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:488bf525-99fd-437a-8174-f399a8e62ad1</guid><dc:creator>michael.czyz</dc:creator><description>&lt;p&gt;here is log from connection with uart example (same phone, same board).&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/uart_5F00_connnection_5F00_successful.pcapng.zip"&gt;devzone.nordicsemi.com/.../uart_5F00_connnection_5F00_successful.pcapng.zip&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/thread/216678?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 15:33:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d5a5b8-f008-4b9f-aa45-6edf490a715a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Thanks Michal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s quite strange. Could you capture a sniffer trace when you connect to ble_app_hrs or ble_app_uart ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hung&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/thread/216572?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 10:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc9ee3b4-faa7-4c53-804c-30d007edff92</guid><dc:creator>michael.czyz</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;thank you for you responses. I have my project based on the same SDK and SoftDevice and it works fine and other examples works too, so it looks like problem is only with that example. I tried bootloader example on 3 different phones: samsung galaxy s7, samsung a3 2017, huawei honor 10 and results are the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/thread/216563?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 10:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fed8de19-7c56-4720-80d1-dfe1df0574c6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the sniffer trace it seems that there was an issue with the service discovery process. The central disconnected after 30 seconds without receiving response from the softdevice. This is pretty strange. Do you have the same problem when testing with other example in our SDK ? Coul dyou try to test with the same Android phone to connect to ble_app_hrs for example ? Could you capture a sniffer trace of that connection ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/thread/216442?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2019 16:11:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26867e94-d328-4e75-be93-ccfbc37ae5fd</guid><dc:creator>michael.czyz</dc:creator><description>&lt;p&gt;here is the log from connecting.&amp;nbsp;After this, device (nrf51822 tag) is not advertising and only reconnecting power helps&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dfu_5F00_connecting_5F00_error2.pcapng.zip"&gt;devzone.nordicsemi.com/.../dfu_5F00_connecting_5F00_error2.pcapng.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with SDK 12 secure bootloader.</title><link>https://devzone.nordicsemi.com/thread/216413?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2019 14:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7a715fb-626c-4631-8e04-90c121c09d69</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just for clarification, the error 0x16&amp;nbsp; (BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION) is returned on the Disconnected event on the nRF51 ?&amp;nbsp;&lt;br /&gt;Could you capture &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer"&gt;a sniffer trace&lt;/a&gt; of what happening when you connect using Android ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>