<?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>nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90587/nrfutil-dfu-ble-failed-with-exception-connection-failure---device-not-found-on-windows-10</link><description>I use nRF Connect to scan BLE devices. nRF Connect can find ANCS2 device. But nrfutil dfu ble failed with Exception: Connection Failure - Device not found! And I can&amp;#39;t find any BLE_DFU_EVT_BOOTLOADER_xxx events in nRF52832 log messages. 
 D:\nrfdfu&amp;gt;nrfutil_pkg_generate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2022 01:43:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90587/nrfutil-dfu-ble-failed-with-exception-connection-failure---device-not-found-on-windows-10" /><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/380242?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 01:43:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8afa708-aa66-4ff4-855d-8bd50064222a</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply! I have fixed this issue&amp;nbsp; by adding code to toggle POWER_UP GPIO pin to logic high. Besides I have another question that is how can I know when bootloader enter or leaving DFU mode. I would like to&amp;nbsp; to toggle POWER_UP GPIO pin to logic high when enter DFU mode and toggle POWER_UP GPIO pin to logic low when leaving DFU mode.&lt;/p&gt;
&lt;p&gt;int main(void)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t ret_val;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_gpio_pin_set(POWER_UP);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_gpio_cfg_output(POWER_UP);&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/380111?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 11:59:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b050de1f-baf6-4546-a41a-4899d9f8a335</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please check if the device still advertises as &amp;quot;ANCS2&amp;quot; after the failed DFU attempt. This will indicate if the device failed to enter DFU mode or not after the &amp;quot;enter dfu mode&amp;quot; command (&lt;span&gt;&lt;a title="Message sequence charts" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/service_dfu.html?cp=8_1_3_3_5_5#secure_dfu_buttonless_msc"&gt;Message sequence charts&lt;/a&gt;&lt;/span&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/380016?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 04:07:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef06f2fa-2a2f-411d-a684-31cd6dfe38dd</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2210.ota.c"&gt;devzone.nordicsemi.com/.../2210.ota.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8156.advertising.c"&gt;devzone.nordicsemi.com/.../8156.advertising.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/380000?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 01:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c603d4c-9bac-4038-abfe-b2aa76162701</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/DFU_5F00_cannot_5F00_scan_5F00_device.PNG" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/379999?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 01:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e9c90b0-b1b8-49c2-a8b3-ecc880187cf6</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;The hex files I uploaded run on a nRF52832 customer board. I try to use iOS nRF Connect APP to perform DFU. But it failed with &amp;quot;scanning timeout returning no matching peripheral&amp;quot;. Why no bootloader log messages after BLE_DFU_EVT_BOOTLOADER_ENTER_PREPARE event?&lt;/p&gt;
&lt;p&gt;The following is log messages of nRF52832 device.&lt;/p&gt;
&lt;p&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Version 1.2.1&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: ========| flash info |========&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: erase unit:&amp;nbsp;&amp;nbsp; 4096 bytes&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: program unit: 4 bytes&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: end address: 0x72000&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: ==============================&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Setting vector table to bootloader: 0x00072000&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Setting vector table to main app: 0x00026000&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: bleDfuInit() return 0&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: NOR_DATA_PERIOD=819&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: NOR_RECORD_PERIOD=8192&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: bsp_button_longkey_handler 0.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;warning&amp;gt; app: Battery volage 0mV is too low&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;warning&amp;gt; app: Battery volage 3374mV is too low&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: POWER_ON.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: External devices initializing start&lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: External devices initializing finish&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: bsp_button_longkey_handler 1.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 185 bytes on connection 0x0.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: BLE_GAP_EVT_CONNECTED&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: state=1&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: BLE_GAP_EVT_PHY_UPDATE_REQUEST&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: Peer on connection 0x0 requested a data length of 251 bytes.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 27 on connection 0x0.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 27 on connection 0x0.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 27&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 27&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 2120&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 2120&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: ATT MTU updated to 185 bytes on connection 0x0 (response).&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: _securityRequestHandler&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: BLE_GAP_EVT_SEC_PARAMS_REQUEST&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: PM_EVT_CONN_SEC_SUCCEEDED&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Connection secured: role: 1, conn_handle: 0x0, procedure: 1.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: BLE_GAP_EVT_AUTH_STATUS&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: BLE_DFU_EVT_BOOTLOADER_ENTER_PREPARE&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/379712?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 12:12:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30c14bcc-2504-4c29-8247-9aafd0cb002f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are the hex files you uploaded supposed to run on a nRF52 DK board? I tried to program them to a 52 DK here, but it did not start to advertise.&lt;/p&gt;
&lt;p&gt;Also, have you tried performing DFU from the Bluetooth low energy app as well, and in that case, what error did you get?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/379603?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 03:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:857fde8b-0be5-4f73-a6e8-aa27091cef8a</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7802.ota.c"&gt;devzone.nordicsemi.com/.../7802.ota.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8463.ota.h"&gt;devzone.nordicsemi.com/.../8463.ota.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/379602?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 03:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a54b08-7036-49d7-af33-aa88010ad80f</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrfdfu.rar"&gt;devzone.nordicsemi.com/.../nrfdfu.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil dfu ble failed with Exception: Connection Failure - Device not found! on Windows 10</title><link>https://devzone.nordicsemi.com/thread/379601?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 02:59:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71f15491-2719-4fcf-bda2-80b764c6106b</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3750.ANCS2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>