<?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>NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29452/nrf52832-sdk-13-0-bootloader-example-not-running</link><description>Hi, 
 I&amp;#39;m using the example dfu/bootloader_secure_ble for NRF52832 (PCA10040 board) in nRF SDK 13.0.0 version and on my mobile the &amp;quot;nRF Connect&amp;quot; application. 
 If I use Keil uVision to compile the bootloader I can see and connect to it before perform</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jan 2018 15:27:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29452/nrf52832-sdk-13-0-bootloader-example-not-running" /><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117104?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 15:27:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:179a872a-d6c1-4a7d-9879-ab229b834cbb</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;The GCC compiler version was my problem. Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117115?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 15:27:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f7d2895-c6da-4d12-853a-1f850488ef75</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;There are 2 problems:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;first use the GCC toolchain version 4.9 2015q3 instead of 7 2017-q4-major (if someone knows this reason please to explain me it)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;in the file {NRF52 SDK 13.0.0}/libraries/bootloader/ble_dfu/nrf_ble_dfu.c in the function advertising_stop(): replace &amp;quot;m_flags |= DFU_BLE_FLAG_IS_ADVERTISING;&amp;quot; by &amp;quot;m_flags &amp;amp;= ~DFU_BLE_FLAG_IS_ADVERTISING;&amp;quot;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117114?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 10:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d6337eb-9295-4215-a426-98f558bcec3d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Could you use the sniffer and check what happens when you click connect on the phone ?&lt;/p&gt;
&lt;p&gt;On the nRF52832, could you debug and check if there is a BLE_GAP_EVT_CONNECTED event ? And then if there is, if the DISCONNECTED event comes after and with which disconnect reason ?&lt;/p&gt;
&lt;p&gt;Also, when you use gcc, please make sure you use the suggested gcc version . Have  a look here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/187160/sdk142-secure-dfu-timers/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117113?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 17:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee171216-95a2-4a7f-8041-d5620f112859</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;But my problem as specified in my question still present (error on bin file generated by GCC through its makefile whereas Keil is OK)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117112?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 16:37:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0fbf125-a601-474c-b05c-9ff26d74a313</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;I run nrf sniffer and I resolve one problem: into the stop_advertising function a data is not correctly cleared.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117111?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 16:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd451152-8ad3-4b67-982f-d23557e11046</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please make sure you use Jlink v16.6C. You may need to replace the firmware on the board with that version. To downgrade, you can Jlink Configurator, right click on the board and select replace firmware.&lt;/p&gt;
&lt;p&gt;If the issue remains, please take a screenshot and update the question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117110?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 16:21:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88e1a8df-4dd3-407e-afcb-d61ecc51f6e3</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;The device is not in the list.
For the nrf sniffer I work on Wireshark v2.4.4. I see my nrf Sniffer but impossible to view any packet on the BLE. Can you help me please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117108?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 15:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:768e9a57-5034-4b0d-acc4-1c32a8142a37</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You read the manual. There is &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/65244/1/56836091/136165"&gt;a documentation&lt;/a&gt; for the sniffer v2.&lt;/p&gt;
&lt;p&gt;If you see the device in the list of Bluetooth device in Bluetooth setting, then they are bonded. You can remove bond information and click the device and select &amp;quot;Forget this device&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117109?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 15:36:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26a549c2-268f-45a5-8923-6162adc62d1d</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;I don&amp;#39;t know if I use bonding between my phone and the device (I use just as default parameter). How do you do to use nRF Sniffer when the v1 has the executable and the v2 update files to use PCA10040?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117107?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 14:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37e56ba3-4dbc-445c-8e80-5f79e07f1fe0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Do you use bonding between the phone and the device ?
Make sure you delete bonding on the phone before you test.&lt;/p&gt;
&lt;p&gt;What do you mean by you can&amp;#39;t use nRFSniffer ? If you have one extra PCA10040 you can use it as the sniffer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117106?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 13:37:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb58249a-7b12-47d5-b078-7e3eab0a8ee0</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t use nRF Sniffer.&lt;/p&gt;
&lt;p&gt;My problem is that when the application received on ble_dfu service the case BLE_DFU_EVT_ENTERING_BOOTLOADER I disable current connection (sd_ble_gap_disconnect then ble_conn_params_stop then pm_peers_delete) then the target enters in bootloader mode.
But in bootloader mode the connection failed with the mobile which tries to send new application and the target re-enters in old application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 sdk 13.0 Bootloader example not running</title><link>https://devzone.nordicsemi.com/thread/117105?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 12:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b55b79d-f15f-49b9-b34b-e4916a5bc7b6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are telling that you can see the advertising packet, but you can&amp;#39;t connect. What exactly happened when you tried to connect ? Do you have any log from nRFConnect ? Please make sure you erase bond information on the phone.&lt;/p&gt;
&lt;p&gt;I would suggest to use &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;our sniffer&lt;/a&gt; and capture a sniffer trace.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>