<?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>Bootloader nRF52832 using SDK 15.3.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101401/bootloader-nrf52832-using-sdk-15-3-0</link><description>I&amp;#39;ve modified the ble_uart files and are able to download new package using nRFUTIL app. 
 The problem is that it will not start after download. I get no warnings or errors during update, but application or DFU announcement will not start. I wounder if</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Jul 2023 13:32:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101401/bootloader-nrf52832-using-sdk-15-3-0" /><item><title>RE: Bootloader nRF52832 using SDK 15.3.0</title><link>https://devzone.nordicsemi.com/thread/435007?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 13:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:814e016a-55a1-497a-ae76-6aba62f8fc81</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi gmwold,&lt;/p&gt;
&lt;p&gt;First of all, I would like to inform you that we don&amp;#39;t recommend the nRF5 SDK for new design. &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;This SDK has been in maintenance mode&lt;/a&gt;&amp;nbsp;and will not receive new feature update. Our currently actively developed SDK is the nRF Connect SDK. On the nRF Connect SDK, you can also find a sample with the Nordic UART Service, as well as &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrf/working_with_nrf/nrf52/developing.html#fota-updates"&gt;guides to add DFU to your project&lt;/a&gt;.&lt;/p&gt;
[quote user="gmwold"]&lt;p&gt;but DfuTarg is no longer announced when running the ble_uart application&lt;/p&gt;
&lt;p&gt;The code is running and advertising. To be able to compile, I had to change BLE_ADV_SOC_OBSERVER_PRIO to BE_ADV_BLE_OBSEREVER_PRIO in ble_advertising.h, do not know if this has something to say. The code is using SDK version 15.3.0&lt;/p&gt;[/quote]
&lt;p&gt;The device temporarily advertises as &amp;quot;DfuTarg&amp;quot; during&amp;nbsp;the DFU process. In that stage, it is actually the bootloader that is running. After the device is successfully updated,&amp;nbsp;the application will run, and the device will only advertise as the application is programmed to.&lt;/p&gt;
[quote user="gmwold"]I&amp;#39;ve tried to disable all uart0, in case this is making problems for the DFU. This did not help anything. The code below is with the uart.[/quote]
&lt;p&gt;UART0 should not be a problem with DFU. I have used UART0 for logging in both DFU application and the bootloader. What is your concern with UART0 here?&lt;/p&gt;
[quote user="gmwold"]is there a good example / description using buttonless dfu for the ble_app_uart?[/quote]
&lt;p&gt;Our recommended way is for you to actually start from ble_app_buttonless_dfu and then add the Nordic UART Service. It tends to be simpler.&lt;br /&gt;There is a guide for getting start with it from my colleague Hung:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;Getting started with Nordic&amp;#39;s Secure DFU bootloader, a step by step guide&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is one alternative, which we do not often recommend because it is from a third party, and we cannot verify it officially.&amp;nbsp;However, NovelBits has&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://novelbits.io/nrf52-ota-dfu-ble-part-4/"&gt;a guide on adding BLE Buttonless DFU to an application&lt;/a&gt;. It is with this guide that I once added DFU to ble_app_blinky.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader nRF52832 using SDK 15.0.3</title><link>https://devzone.nordicsemi.com/thread/434521?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 15:45:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2edf123e-c36c-4605-a088-109e2808818b</guid><dc:creator>gmwold</dc:creator><description>&lt;p&gt;I managed to find a link&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80396/nrf52-dk-failed-to-add-ble-ota-dfu-to-the-example-project-ble_app_uart/333881#333881"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/80396/nrf52-dk-failed-to-add-ble-ota-dfu-to-the-example-project-ble_app_uart/333881#333881&lt;/a&gt;&amp;nbsp;with code for ble_uart with dfu. The code is now working, I can update using the app once, but DfuTarg is no longer announced when running the ble_uart application&lt;/p&gt;
&lt;p&gt;The code is running and advertising. To be able to compile, I had to change BLE_ADV_SOC_OBSERVER_PRIO to BE_ADV_BLE_OBSEREVER_PRIO in ble_advertising.h, do not know if this has something to say. The code is using SDK version 15.3.0&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to disable all uart0, in case this is making problems for the DFU. This did not help anything. The code below is with the uart.&lt;/p&gt;
&lt;p&gt;Hope you are able to help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5415.ble_5F00_app_5F00_uart_5F00_buttonless_5F00_dfu.zip"&gt;devzone.nordicsemi.com/.../5415.ble_5F00_app_5F00_uart_5F00_buttonless_5F00_dfu.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader nRF52832 using SDK 15.0.3</title><link>https://devzone.nordicsemi.com/thread/434307?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 20:36:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaff0e1b-fe56-49a3-855f-3a8e02735ecc</guid><dc:creator>gmwold</dc:creator><description>&lt;p&gt;Sorry for not specifying so great. The merged file is correct. After updating using the app, readback from device has ff&amp;rsquo;s from address 00000ff8 to 00000fff.&amp;nbsp;&lt;br /&gt;is there a good example / description using buttonless dfu for the ble_app_uart? There seems to be something wrong with vectors or over writing essential data.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader nRF52832 using SDK 15.0.3</title><link>https://devzone.nordicsemi.com/thread/434301?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 18:50:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d8063ac-dcac-4d31-9b28-d73993caeb08</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Seems like something is wrong with the merged hex. In SDKv15.x, the value returned from 0XFF8 should not have been FFFFFFFFF&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>