<?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>failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23878/failed-to-upload-ble_app_uart-with-dfu</link><description>Hi everybody. 
 I am making a firmware based on ble_app_uart example (PCA10028 NRF51422, Softdevice S110, NRF51 SDK9.0). In this firmware, I insert dfu part ( follow by this instruction ) to support upload firmware via OTA(by nrfConnect android app)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2017 13:12:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23878/failed-to-upload-ble_app_uart-with-dfu" /><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93949?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 13:12:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ccddc98-9ef2-4cc0-80b8-8d192e3083b2</guid><dc:creator>Minh</dc:creator><description>&lt;p&gt;I already tried it, and it is successful to upload manually.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93951?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 13:09:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4bd125c-90f1-4e6a-ac97-68b49cb4a0b5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t know, that what we need to find out.
If now you have the button please try with the button , just for testing.&lt;/p&gt;
&lt;p&gt;Same with putting the device into DFU via BLE manually. Please try and let me know the result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93950?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 12:52:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ba35f5c-93a6-4f80-ba00-3b704b444a15</guid><dc:creator>Minh</dc:creator><description>&lt;p&gt;You are right but I&amp;#39;d like to make ble app with no button. So that i cannot do dfu upload manually. Could you please help me to explain why the sample dfu works sucessfully ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93948?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 12:40:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ee4b88d-110a-4c86-af65-526d3ec3a164</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Minh: The interesting part is at step 2 when you jump from your application to the bootloader, the DFU master tried to connect to the bootloader but then got &amp;quot;disconnected&amp;quot; (09:49:01.345).
If you have a button, you can try to enter DFU bootloader manually (press and hold the button and reset the device), then try to update your same application. i would assume there won&amp;#39;t be any problem doing that. This will rule out any issue with the bootloader and pointing to how you implement the buttonless service to switch form application to bootloader.&lt;/p&gt;
&lt;p&gt;You then can try to put the application into bootloader mode via BLE manually. Simply enable notification and write 0x0104 to the DFU characteristic. Then verify if the bootloader is advertising and do DFU as in Step 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93945?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 15:11:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4809ac2-8d92-4de2-859a-1de77de4a60f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi, bạn upload trực tiếp lên phần câu hỏi (edit câu hỏi rồi attach ) ở đây mình ko truy cập đc Mediafire. Bạn có thể dùng dropbox hoặc google drive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93946?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 01:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59b3d75e-29fc-4d1b-b36b-4794b75505b6</guid><dc:creator>Minh</dc:creator><description>&lt;p&gt;Em xin lỗi vì mạch em để ở cty nên tuần trước em không trả lời ngay được, hôm nay em có làm lại theo kịch bản trước, dưới đây là các file log em có lưu lại ạ:&lt;/p&gt;
&lt;p&gt;B1: Ban đầu MCU chỉ có softdevice và bootloader, em upload app của em và thu dc file log &lt;a href="https://www.mediafire.com/?gdj5otty9wbr9bd"&gt;này ạ&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;B2. Sau khi hoàn thành B1, em kết nối với chương trình và upload lại lần 2, thu được file &lt;a href="https://www.mediafire.com/?q8c4dd8wteknf56"&gt;log này&lt;/a&gt; ạ&lt;/p&gt;
&lt;p&gt;B3. xóa toàn bộ code trong memory, upload sofdevice và bootloader, quay lại bước 1 nhưng upload file dfu mẫu (dfu_test_hrm_s110.zip) và thu được &lt;a href="https://www.mediafire.com/?uyqko53xd72un1d"&gt;file log&lt;/a&gt; này.&lt;/p&gt;
&lt;p&gt;B4. Kết nối và thực hiện upload file dfu_test_hrm_s110.zip lần 2 và thu dc &lt;a href="https://www.mediafire.com/?01v3iq2fxf9yl0x"&gt;file log&lt;/a&gt; này.&lt;/p&gt;
&lt;p&gt;Trong kịch bản trên thì thực hiện lần 2 với file dfu mẫu thành công nhưng với chương trình của em thì lỗi ạ.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93947?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 14:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d8390f0-fa1f-4959-ab01-31a45691e64f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Xin bạn up thêm 1 cái log nữa (tốt nhất là xuất ra file, chọn level DEBUG chứ ko chỉ INFO), như đã nói ở trên cái screenshot bên trên cho thấy quá trình DFU đã hoàn tất , đã activate và reset. Như vậy của bạn có chạy đến 100% trước khi bị lỗi không ?&lt;/p&gt;
&lt;p&gt;Nếu bạn có thể gửi về &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;sniffer trace&lt;/a&gt; của quá trình (lần thứ nhất thành công, lần thứ 2 bị lỗi) thì sẽ dễ để khảo sát hơn.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93944?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 14:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:811205be-c4d7-43eb-bee6-1a6fbabe6f4a</guid><dc:creator>Minh</dc:creator><description>&lt;p&gt;Dạ trường hợp trên là em thêm dfu service vào code của ble_app_uart(dựa vào code của ble_app_hrs) rồi sau đó test dfu bằng cách upload nhiều lần nhưng lỗi như trên lại xuất hiện.
Khi em test với chương trình có chứa dfu mẫu(ble_app_hrs) thì việc update nhiều lần không vấn đề gì.
Em thắc mắc ở chỗ đó vì khi dùng nrfconnect kết nối với code của em thì dfu_service có xuất cùng với nus_service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93943?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 13:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6528c694-64e2-4638-b10e-a083ee10b83e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Chào các bạn, mình cũng là người Việt Nam đây. Rất hân hạnh được giúp các bạn :)&lt;/p&gt;
&lt;p&gt;@Minh: có chắc cái này &amp;quot;However, when I upload again it is failed and the android app show a message: upload failed dfu service disconnected. &amp;quot; match với cái log trên hình không ? Vì cái trên hình là log đã update thành công và trigger activate and reset.&lt;/p&gt;
&lt;p&gt;Minh có thể test bằng example experimental_ble_app_buttonless_dfu để xem có thể update được nhiều lần không. Ngoài ra thử thêm bằng nRFToolbox.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: failed to upload ble_app_uart with dfu</title><link>https://devzone.nordicsemi.com/thread/93942?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 03:28:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30cb7e11-eb6a-4d6b-81e4-8cac58bb1311</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Bạn có phải người Việt Nam không Minh , tôi cũng đang tìm hiểu về BLE , tôi dùng NRF52832 . Chúng ta có thể giao lưu giúp đỡ nhau :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>