<?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>Blinky does not work after OTA Firmware update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86730/blinky-does-not-work-after-ota-firmware-update</link><description>Hi, 
 I am following the step by step tutorial &amp;quot; Getting Started with Secure DFU Bootloader Step by Step guide &amp;quot; 
 Before following the above guide I compiled ble_app_blinky from the examples/ble_peripheral folder of NRF52 SDK Ver 17.0.2 
 The above example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Apr 2022 10:15:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86730/blinky-does-not-work-after-ota-firmware-update" /><item><title>RE: Blinky does not work after OTA Firmware update</title><link>https://devzone.nordicsemi.com/thread/362988?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 10:15:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b2b3991-71b4-4f7e-a32b-33f569625833</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Following the same guide and using ble_app_blinky application on nRF52840 (with SoftDevice s140), I was able to see the &amp;quot;Nordic_blinky&amp;quot; after DFU has finished successfully. For testing I used Bluetooth Low Energy desktop application v3.0.0.&lt;br /&gt;&lt;br /&gt;There are several things you could try in order to find the cause of the problem. &lt;br /&gt;Make sure that you are using the proper unchanged application from ble_app_blinky_sample.&lt;br /&gt;You could try inputting some print statements into your code and see in the terminal if you get anything. This could indicate some other problem with your application (excluding Bluetooth).&lt;br /&gt;Another thing to try would be to flash the same application to your board and check if it is advertising. This would show that Bluetooth part is working correctly.&lt;br /&gt;Are you sure that you have not missed any steps describe in the guide or used a changed version of the same application?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky does not work after OTA Firmware update</title><link>https://devzone.nordicsemi.com/thread/362943?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 05:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2de94f6d-1323-4389-a148-3db6c2481aba</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The DFU process works and there are no issues.&lt;/p&gt;
&lt;p&gt;It is after the DFU is completed successfully that I cannot see device name. In this case I am using the ble_blinky app.&lt;/p&gt;
&lt;p&gt;Note: I did not modify anything in the example ble_blinky app.&lt;/p&gt;
&lt;p&gt;I have tried the buttonless_dfu_without_bonds image provided in the SDK - DFU as well as being able to device name after DFU works well. No issues.&lt;/p&gt;
&lt;p&gt;I am really hard pressed for time. I am stuck at this last step. Grateful for any help. I am sure I am missing some step somewhere and not able to see it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky does not work after OTA Firmware update</title><link>https://devzone.nordicsemi.com/thread/362913?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 17:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c293abc4-e3d8-42be-a626-359d9eedb6ea</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Can you provide more information about the current issue?&lt;br /&gt;Are you having a problem with the DFU process or is the problem that after the DFU has finished you cannot see your device anymore?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky does not work after OTA Firmware update</title><link>https://devzone.nordicsemi.com/thread/362866?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 12:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8099e01-5361-41bd-9dfb-ea5a0d5b1113</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;Today I tested&amp;nbsp;&lt;span style="font-size:inherit;"&gt;&lt;strong&gt;Buttonless Secure DFU without bonds&amp;nbsp;&lt;/strong&gt;using the images that came with the SDK 17.0.2&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I was able to Test the whole process as given in the SDK documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;From this I conclude that the BLINKY fails on DFU OTA because I may be overwriting some code while flashing but I don&amp;#39;t know how to check that.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Grateful for a solution.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky does not work after OTA Firmware update</title><link>https://devzone.nordicsemi.com/thread/362700?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 06:38:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f35aea43-617e-4a5a-a72c-60f12b2e0e56</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;I restarted fresh as I had modified the code with some debug line in blink&amp;#39;s main.c and was not sure if did something wrong.&lt;/p&gt;
&lt;p&gt;Here is what I mean by restarted:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PART 1 - blinky app as is&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1. Downloaded NRF52 SDK 17.0.2&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Recompiled &lt;strong&gt;ble_app_blinky&lt;/strong&gt;&amp;nbsp; available in the &lt;strong&gt;examples/ble_peripheral&lt;/strong&gt; folder&lt;/p&gt;
&lt;p&gt;3. Tested the app on NRF52-DK using. both Android and iOS &lt;strong&gt;nrf blinky app.&amp;nbsp;&lt;/strong&gt;Everything worked consistently - i.e. LED on/of as well as BUTTON press/release.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PART 2 - blinky app - transferred using SECURE DFU&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Next step was to do the secure DFU OTA.&lt;/p&gt;
&lt;p&gt;1. Created the&amp;nbsp;secure bootloader hex file by following steps in the guide (Steps B1a,B2,B3)&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Generated DFU package (.zip file) as in step C of guide&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; nrfutil pkg generate --hw-version 52 --sd-req 0x0101 --application-version 0 --application ble_app_blinky_new.hex --key-file ../private.pem blinky_new.zip

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;3. Created Bootloader Settings file&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil settings generate --family NRF52 --application ble_app_blink_new.hex --application-version 0 --bootloader-version 0 --bl-settings-version 2 boot_loader_setting.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;4. Flashed SoftDevice and Secure Bootloader and Bootloader Settings file&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;## Flash SD
nrfjprog --family nRF52 --verify --program s132_nrf52_7.2.0_softdevice.hex --sectorerase
echo ... Softdevice flashed 
echo ----------------------
## Flash BOOTLOADER
nrfjprog --family nRF52 --verify --program secure_bootloader_ble_s132_pca10040_debug_mar22.hex --sectorerase
echo ... Secure Bootloader flashed
echo ----------------------
## Flast Settings
nrfjprog --family nRF52 --verify --program boot_loader_setting.hex --sectorerase&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;5. Restarted NRF52 DK (power off/on)&lt;/p&gt;
&lt;p&gt;6. Using iOS app &lt;strong&gt;nRF Connect&amp;nbsp;&lt;/strong&gt;connected to NRF52 DK&amp;nbsp; (device named&amp;nbsp; &amp;quot;&lt;strong&gt;DfuTarg&lt;/strong&gt;&amp;quot; ) and did DFU over the air using the package generated in&lt;strong&gt; step 2 of PART 2.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Logfile of secure DFU attached&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/text_2D00_E19AC31AA26A_2D00_1.txt"&gt;devzone.nordicsemi.com/.../text_2D00_E19AC31AA26A_2D00_1.txt&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;7. Powered off / on the NRF52 DK&amp;nbsp;&lt;/p&gt;
&lt;p&gt;8. Using nrf Connect app on iOS - Tried to look for &amp;quot;Nordic_Blinky&amp;quot; but did NOT see any. Tried this multiple time by restarting NRF52 board and checked with both iOS and Android phones - the result was same - cannot see the BLE device name. [This is way different from my observations in earlier post but this time I was careful of recording each step and have provided more details.&lt;/p&gt;
&lt;p&gt;After this weekend - I will try the same process with buttonless DFU IMAGEs provided in the SDK to check if that works.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do let me know if you need more details.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Murthy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky does not work after OTA Firmware update</title><link>https://devzone.nordicsemi.com/thread/362571?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 11:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbd0ba1d-a4c2-4113-8e2c-01f4a3339b1a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]STEP D4 (Testing the Application after DFU)&amp;nbsp; - failed - Most of the time I could not see the BLE Device name in NRF Blinky App. Once I did see the BLE Device name &amp;quot;Nordic_Blinky&amp;quot; but it would not connect. Once it did connect and I was even able to switch on the LED but after that it seemed the program froze - there were no responses to LED on/off on Blinky App nor was there any response to BUTTON press on the NRF52-DK.&amp;nbsp;[/quote]
&lt;p&gt;Could you please provide more information about these transitions (cannot see the device -&amp;gt; can see the device, cannot connect -&amp;gt; can connect)?&lt;br /&gt;When did they occur? Did you do anything to enable these transitions?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>