<?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 DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20779/problem-with-dfu-bootloader-sdk-11-when-discover-services-in-bootloader-mode-device-resets</link><description>Hello! 
 I have problem with DFU bootloader on nRF51822-xxAA. 
 For first, I made all steps for upload bootloader(erase chip, upload SD s130, upload bootloader).
I used example dual_bank_ble_s130 with small changes for my custom board (My board haven</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Mar 2017 07:55:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20779/problem-with-dfu-bootloader-sdk-11-when-discover-services-in-bootloader-mode-device-resets" /><item><title>RE: Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/thread/81163?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 07:55:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c40bb614-30e2-4271-b4f9-e124e8a20c1e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you don&amp;#39;t set to enable service changed, the characteristic will not be available. And if in your application you decide to send a service changed indication, you will get an error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/thread/81161?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 19:06:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e9cd41-dd16-4a0d-9d53-4f4881d2cbdd</guid><dc:creator>Sonr09</dc:creator><description>&lt;p&gt;I guess I find the problem. I had miss code string &lt;code&gt;ble_enable_params.gatts_enable_params.service_changed = 1;&lt;/code&gt; When add DFU to my app.
Now all works fine, but I don&amp;#39;t understand why It works now. Go to read SDK description.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/thread/81160?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 15:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c667b53c-fa75-46ca-a229-9bf4cf7cf989</guid><dc:creator>Sonr09</dc:creator><description>&lt;p&gt;WTD - no. I use SPI, app timers.
Yes, I have try use other examples application. And all app examples are work and bootloader works fine too&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/thread/81156?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 14:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9c54f0-a3ec-4107-85ee-c09207fefc70</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Do you have anything special in your application ? Such as WDT ?&lt;/p&gt;
&lt;p&gt;What are the peripheral used in your application ?&lt;/p&gt;
&lt;p&gt;Have you tried to DFU other example beside the HRM example ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/thread/81157?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 12:39:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61288584-6e78-46da-88fd-a3a2874bf2e3</guid><dc:creator>Sonr09</dc:creator><description>&lt;p&gt;Log from MCP&lt;/p&gt;
&lt;p&gt;[15:36:19.2] GetDeviceInfo()&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Discovering all attribute UUIDs&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0001, UUID: 0x2800&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Service group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0002, UUID: 0x2803&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0003, UUID: 0x2A00&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0004, UUID: 0x2803&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0005, UUID: 0x2A01&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0006, UUID: 0x2803&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0007, UUID: 0x2A04&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0008, UUID: 0x2800&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Service group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0009, UUID: 0x2803&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x000A, UUID: 0x2A05&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x000B, UUID: 0x2902&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x000C, UUID: 0x2800&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Service group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x000D, UUID: 0x2803&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x000E, UUID: 0x15321212EFDE1523785FEABCD123&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x000F, UUID: 0x2803&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0010, UUID: 0x15311212EFDE1523785FEABCD123&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0011, UUID: 0x2902&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0012, UUID: 0x2803&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group UUID&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Handle: 0x0013, UUID: 0x15341212EFDE1523785FEABCD123&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received a Characteristic Group group attribute&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Discovering all attribute values&lt;/p&gt;
&lt;p&gt;[15:36:19.6] Received Read Response, handle: 0x0001, value (0x): 00-18&lt;/p&gt;
&lt;p&gt;[15:36:19.7] Received Read Response, handle: 0x0002, value (0x): 0A-03-00-00-2A&lt;/p&gt;
&lt;p&gt;[15:36:19.7] Received Read Response, handle: 0x0003, value (0x): 44-66-75-54-61-72-67&lt;/p&gt;
&lt;p&gt;[15:36:19.7] Received Read Response, handle: 0x0004, value (0x): 02-05-00-01-2A&lt;/p&gt;
&lt;p&gt;[15:36:19.8] Received Read Response, handle: 0x0005, value (0x): 00-00&lt;/p&gt;
&lt;p&gt;[15:36:19.8] Received Read Response, handle: 0x0006, value (0x): 02-07-00-04-2A&lt;/p&gt;
&lt;p&gt;[15:36:19.9] Received Read Response, handle: 0x0007, value (0x): 0C-00-18-00-00-00-90-01&lt;/p&gt;
&lt;p&gt;[15:36:19.9] Received Read Response, handle: 0x0008, value (0x): 01-18&lt;/p&gt;
&lt;p&gt;[15:36:19.9] Received Read Response, handle: 0x0009, value (0x): 20-0A-00-05-2A&lt;/p&gt;
&lt;p&gt;[15:36:20.0] Received Error Response: READ_NOT_PERMITTED, handle: 0x000A&lt;/p&gt;
&lt;p&gt;[15:36:23.0] Lost connection to device. Reason: BTLE_CONNECTION_TIMEOUT&lt;/p&gt;
&lt;p&gt;[15:36:23.0] SERVER: Received packet &amp;lt;HciEvent: eventCode=0x0A&amp;gt; - &amp;lt;HciEvent: eventCode=0x0A&amp;gt;&lt;/p&gt;
&lt;p&gt;[15:36:23.0] SERVER: Received Link Loss&lt;/p&gt;
&lt;p&gt;[15:36:23.1] No response received for ReadRequest on handle 0x000B. Disconnecting..&lt;/p&gt;
&lt;p&gt;[15:36:23.1] Service discovery aborted, connection terminated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/thread/81158?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 12:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c55877-f017-4ef8-b38f-4d03ad012183</guid><dc:creator>Sonr09</dc:creator><description>&lt;p&gt;The main problem is restart bootloader when connect to device in bootloader and discover services.
It happens when my application code uploaded in device. Before It bootloader works fine with example files like file dfu_test_app_hrm_s130_w_dfu.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/thread/81159?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2017 16:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a6ddc35-e910-4613-8d21-3b16de6a1c5c</guid><dc:creator>Sonr09</dc:creator><description>&lt;p&gt;@Hung Bui, I can&amp;#39;t upload via OTA ble_app_hrs with dfu, becouse &amp;quot;Data Size Exceeds Limit&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with DFU bootloader SDK 11: when discover services in bootloader mode device resets</title><link>https://devzone.nordicsemi.com/thread/81162?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2017 09:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26a85000-bb77-40a1-aba5-5c10fe985a53</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Sonr09: Could you try to test with the ble_app_hrs with dfu example in the SDK ?
I suspect that there could be something running in your application caused the issue.&lt;/p&gt;
&lt;p&gt;A log+ sniffer trace would be useful to know why the bootloader reset when you connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>