<?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>Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are &amp;quot;Starting DFU ...&amp;quot; then  &amp;quot;Disconnecting&amp;quot; then &amp;quot;Upload Failed: GATT ERROR&amp;quot;.

Is th</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42424/updating-firmware-application-from-nrf-toolbox-for-ios-works-fine-hex-file-trying-to-do-it-from-an-android-phone-does-not-the-messages-are-starting-dfu-then-disconnecting-then-upload-failed-gatt-error-is-th</link><description>Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. 
 The messages are &amp;quot;Starting DFU ...&amp;quot; then &amp;quot;Disconnecting&amp;quot; then &amp;quot;Upload Failed: GATT ERROR&amp;quot;. 
 I tried different settings with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Jan 2019 13:56:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42424/updating-firmware-application-from-nrf-toolbox-for-ios-works-fine-hex-file-trying-to-do-it-from-an-android-phone-does-not-the-messages-are-starting-dfu-then-disconnecting-then-upload-failed-gatt-error-is-th" /><item><title>RE: Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are "Starting DFU ..." then  "Disconnecting" then "Upload Failed: GATT ERROR".

I</title><link>https://devzone.nordicsemi.com/thread/167126?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 13:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a31b4dc4-1d58-4043-a960-e048f6609d36</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you sure you captured the correct trace&amp;nbsp; ? In the trace for iOS you sent, I also don&amp;#39;t see any DFU update. The nRF52 crashed right after the write command from the phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please clearly state the steps you took to test DFU buttonless. (for example 1. flash softdevice, 2. flash bootloader etc)&lt;/p&gt;
&lt;p&gt;Please try to find the error on the nRF52 not the error on the phone. It&amp;#39;s more clear to me that there was an assertion on the nRF52 when receiving the write command.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to test with the &lt;span&gt;unmodified DFU buttonless and stock DFU bootloader.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are "Starting DFU ..." then  "Disconnecting" then "Upload Failed: GATT ERROR".

I</title><link>https://devzone.nordicsemi.com/thread/166946?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 16:08:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bd27257-3dd6-4d64-ae15-0da82b9c0f8e</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;The bootloader is not modified.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll attach a IOS trace.&lt;br /&gt;&lt;br /&gt;The only error I could find in the android traces was crc errors. &amp;quot;nrf connect&amp;quot; actually says CRC error when trying that instead of &amp;quot;nrf toolbox&amp;quot;. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ios_5F00_dfu.pcap.pcapng"&gt;devzone.nordicsemi.com/.../ios_5F00_dfu.pcap.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are "Starting DFU ..." then  "Disconnecting" then "Upload Failed: GATT ERROR".

I</title><link>https://devzone.nordicsemi.com/thread/166908?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 15:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7296f48-1ad5-418a-9e14-8c106f65c033</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the sniffer trace. What I can find from the trace is that the nRF52 in both case crashed (reset) after receiving the BLE write command to switch to bootloader. (Master kept sendding BLE packet but slave didn&amp;#39;t respond)&amp;nbsp;&lt;br /&gt;I&amp;#39;m not sure why it worked when testing on iOS but doesn&amp;#39;t work on Android (please take a sniffer trace with iOS DFU for comparison)&lt;/p&gt;
&lt;p&gt;Could you check if the device&amp;nbsp;get an assert and reset or not when you start the DFU ? You may need to follow&lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt; this guide.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it doesn&amp;#39;t reset or get an assertion, could you check the disconnect reason when the device get DISCONNECTED event ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try testing with unmodified DFU buttonless and stock DFU bootloader ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are "Starting DFU ..." then  "Disconnecting" then "Upload Failed: GATT ERROR".

I</title><link>https://devzone.nordicsemi.com/thread/166625?ContentTypeID=1</link><pubDate>Sat, 19 Jan 2019 06:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c908132d-3590-4786-8432-61fdb2e62661</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;I got the dongle now and captured tries to dfu using android&lt;/p&gt;
&lt;p&gt;Capture #1 &amp;quot;android_dfu_looping_no_settings.pcapng&amp;quot;&amp;nbsp;&lt;br /&gt;Here I did not change any settings, nothing is enabled in settings.&lt;br /&gt;This scenario loops the dfu process and firmware is not uploaded.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/android_5F00_dfu_5F00_looping_5F00_no_5F00_settings.pcapng.zip"&gt;devzone.nordicsemi.com/.../android_5F00_dfu_5F00_looping_5F00_no_5F00_settings.pcapng.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Capture #2 &amp;quot;android_dfu_external_mcu_dfu_on_gatt_error.pcapng&amp;quot;&lt;br /&gt;In this scenario, I enabled External MCU DFU in the settings and&lt;br /&gt;got a GATT Error.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/android_5F00_dfu_5F00_external_5F00_mcu_5F00_dfu_5F00_on_5F00_gatt_5F00_error.pcapng.zip"&gt;devzone.nordicsemi.com/.../android_5F00_dfu_5F00_external_5F00_mcu_5F00_dfu_5F00_on_5F00_gatt_5F00_error.pcapng.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are "Starting DFU ..." then  "Disconnecting" then "Upload Failed: GATT ERROR".

I</title><link>https://devzone.nordicsemi.com/thread/165761?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 13:45:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b226d826-e6ee-4ac2-95d5-82a9e39baa2e</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;I ordered a nRF Dongle to capture a sniffer trace.&lt;br /&gt;&lt;br /&gt;&lt;img alt="Screenshot of nRF Toolbox DFU Settings" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_2822.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are "Starting DFU ..." then  "Disconnecting" then "Upload Failed: GATT ERROR".

I</title><link>https://devzone.nordicsemi.com/thread/165723?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 12:18:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f005baba-3a87-4f11-bfe4-6f5452e1fbaf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a pretty old softdevice and SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you can capture a&lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt; sniffer trace &lt;/a&gt;when the issue appear it would be nice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have seen this issue on older Android model, and there wasn&amp;#39;t a clear solution for it. Please search for GATT Error 133. We actually see less of this issue on more modern phone. Please try to test on other phone if possible.&lt;/p&gt;
&lt;p&gt;When testing, please make sure you erase bonding on the phone, and try turn off and on Bluetooth before the test.&amp;nbsp;&lt;br /&gt;Where did you find that option :&amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;quot;External MCU DFU&amp;quot; ? Could you take a screenshot&amp;nbsp; ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are "Starting DFU ..." then  "Disconnecting" then "Upload Failed: GATT ERROR".

I</title><link>https://devzone.nordicsemi.com/thread/165449?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 12:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22bf511e-cfd4-41a6-aaaa-f5db9293cfbf</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;Samsung Galaxy A5 and Samsung Galaxy Tab S2&lt;/p&gt;
&lt;p&gt;Softdevice S130 V1.0&lt;br /&gt;&lt;br /&gt;I guess the SDK&amp;nbsp;the bootloader is from february 2017 ... I can attach&amp;nbsp;the bootloader.hex file&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3323.bootloader.hex"&gt;devzone.nordicsemi.com/.../3323.bootloader.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware (application) from nrf Toolbox for iOS works fine (hex file), trying to do it from an Android phone does not. The messages are "Starting DFU ..." then  "Disconnecting" then "Upload Failed: GATT ERROR".

I</title><link>https://devzone.nordicsemi.com/thread/165432?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 12:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fb5fbed-5908-48d2-bb84-dedbbb42a7e4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please tell which phone did you test with ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which SDK your bootloader based on and which Softdevice&amp;nbsp; ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>