<?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>Hi DevZone,

I&amp;#39;m experimenting on the nrf52840 dev board with softdevice s140 (SDK v15.0.0) to enable DFU via BLE. To this end, I&amp;#39;m trying to flash the DFU secure bootloader, and have issues trying to enter DFU mode (LED 3 lit). Here are the steps</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34037/hi-devzone-i-m-experimenting-on-the-nrf52840-dev-board-with-softdevice-s140-sdk-v15-0-0-to-enable-dfu-via-ble-to-this-end-i-m-trying-to-flash-the-dfu-secure-bootloader-and-have-issues-trying-to-enter-dfu-mode-led-3-lit-here-a</link><description>Repetition of the steps followed here. 
 (1) Generated priv key, and public_key.c file using nrfutil, (2) generated the bootloader_settings file using nrfutil (3) Compiled the DFU secure bootloader example under .../examples/dfu/secure_bootloader/pca10056_ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 May 2018 09:26:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34037/hi-devzone-i-m-experimenting-on-the-nrf52840-dev-board-with-softdevice-s140-sdk-v15-0-0-to-enable-dfu-via-ble-to-this-end-i-m-trying-to-flash-the-dfu-secure-bootloader-and-have-issues-trying-to-enter-dfu-mode-led-3-lit-here-a" /><item><title>RE: Hi DevZone,

I'm experimenting on the nrf52840 dev board with softdevice s140 (SDK v15.0.0) to enable DFU via BLE. To this end, I'm trying to flash the DFU secure bootloader, and have issues trying to enter DFU mode (LED 3 lit). Here are the st</title><link>https://devzone.nordicsemi.com/thread/131831?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 09:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:260070ef-ac79-4a8d-86a6-c0ac00764347</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I have not seen this issue myself, but perhaps &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/31034/nrfutil-dfu-ble----failed-to-open-error-code-13"&gt;this thread&lt;/a&gt; is relevant. Which toolchain are you using to build the bootloader?&lt;/p&gt;
&lt;p&gt;And which version of nrfutil do you have (&amp;quot;&lt;code&gt;nrfutil version&lt;/code&gt;&amp;quot;)?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi DevZone,

I'm experimenting on the nrf52840 dev board with softdevice s140 (SDK v15.0.0) to enable DFU via BLE. To this end, I'm trying to flash the DFU secure bootloader, and have issues trying to enter DFU mode (LED 3 lit). Here are the st</title><link>https://devzone.nordicsemi.com/thread/131738?ContentTypeID=1</link><pubDate>Fri, 11 May 2018 17:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c2985a8-008c-4310-bc3e-06fa3eeb8a4a</guid><dc:creator>shubhangir</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the input. I was able to see the device advertising, with the following MAC ID: 0x&lt;span&gt;C0EA4548B4FA.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I attempted to flash a package I created using:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfutil pkg generate --application .../examples/ble_peripheral/ble_app_hrs/pca10056/s140/armgcc/_build/nrf52840_xxaa.hex --key-file .../priv.pem --hw-version 52 --sd-req &lt;strong&gt;0x8C&lt;/strong&gt; --application-version &lt;strong&gt;0xFF&lt;/strong&gt;&amp;nbsp; .../examples/ble_peripheral/ble_app_hrs/pca10056/s140/armgcc/_build/nrf52840_xxaa.zip&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;where 0x8C --&amp;gt; softdevice s140, 0xFF --&amp;gt; a random ID&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To flash this application over BLE:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;nrfutil dfu ble -ic NRF52 -pkg &lt;strong&gt;application.zip&amp;nbsp;&lt;/strong&gt;-p /dev/ttyACM0 -a C0EA4548B4FA&lt;/p&gt;
&lt;p&gt;where I tried 2 application zipped files:&amp;nbsp;.../examples/dfu/secure_dfu_test_images/ble/nrf52840/hrs_application_s140.zip and&amp;nbsp;&lt;span&gt;...&lt;/span&gt;&lt;span&gt;/examples/ble_peripheral/ble_app_hrs/pca10056/s140/armgcc/_build/nrf52840_xxaa.zip.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In both cases, I see the following failure.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;raise NordicSemiException(&amp;#39;Failed to {}. Error code: {}&amp;#39;.format(wrapped.__name__, err_code))&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13&lt;/p&gt;
&lt;p&gt;I tried the command with sudo, still see the same error. Could you help, please?&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Shubhangi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi DevZone,

I'm experimenting on the nrf52840 dev board with softdevice s140 (SDK v15.0.0) to enable DFU via BLE. To this end, I'm trying to flash the DFU secure bootloader, and have issues trying to enter DFU mode (LED 3 lit). Here are the st</title><link>https://devzone.nordicsemi.com/thread/130975?ContentTypeID=1</link><pubDate>Fri, 04 May 2018 09:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bd502ea-a25a-4f26-849e-216fa34b4038</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There seems to be a mistake&amp;nbsp;in the documentation. You can see from the line 106-113 in main.c from the secure_bootloader example that 1 and 2 (0 and 1 in code) is lit in several cases, including when DFU is initialized due to no valid application. You should see the device advertising in that state and be able to connect and perform an upgrade.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi DevZone,

I'm experimenting on the nrf52840 dev board with softdevice s140 (SDK v15.0.0) to enable DFU via BLE. To this end, I'm trying to flash the DFU secure bootloader, and have issues trying to enter DFU mode (LED 3 lit). Here are the st</title><link>https://devzone.nordicsemi.com/thread/130899?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 23:28:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95e82b7e-a0c9-4b3b-80f0-acd71239705d</guid><dc:creator>shubhangir</dc:creator><description>&lt;p&gt;Could you help me understand what I am missing?&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Shubhangi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>