<?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>NRF51802 DFU is not broadcasting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96131/nrf51802-dfu-is-not-broadcasting</link><description>Hi, 
 My nRF51802QFAA Module without an external 32khz oszillator. 
 I use SDK 12.3.0 with keil,the ble_app_uart template works well the configs as below. 
 #define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC, \ .rc_ctiv = 16, \ .rc_temp_ctiv =</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Feb 2023 08:25:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96131/nrf51802-dfu-is-not-broadcasting" /><item><title>RE: NRF51802 DFU is not broadcasting</title><link>https://devzone.nordicsemi.com/thread/408189?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 08:25:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03ac7b00-5b86-49ac-bded-3f9aeb550d84</guid><dc:creator>boysplay</dc:creator><description>&lt;p&gt;The app runs good with the setting,I just share the info with other developers,thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51802 DFU is not broadcasting</title><link>https://devzone.nordicsemi.com/thread/408187?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 08:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e70996c-d967-47e6-bc2f-fc5b6cd94d6f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Is the application not booting? Have you programmed the Bootloader settings page?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h61sjziauupw1j397q9s9ldr01q4j6d5"&gt;https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h61sjziauupw1j397q9s9ldr01q4j6d5&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51802 DFU is not broadcasting</title><link>https://devzone.nordicsemi.com/thread/408159?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 02:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e528e84-e18f-41c0-aeed-4a60e810c83a</guid><dc:creator>boysplay</dc:creator><description>&lt;p&gt;For app project setting.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;define&amp;nbsp;&amp;nbsp;NRF_DFU_SETTINGS_VERSION=1&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5734.app.png" /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;p_ble_enable_params-&amp;gt;common_enable_params.vs_uuid_count   = 2;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;when download bootloader with keil,setting as below:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/bt.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51802 DFU is not broadcasting</title><link>https://devzone.nordicsemi.com/thread/407227?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 08:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dd40429-697d-495d-80d3-41c30b20385c</guid><dc:creator>boysplay</dc:creator><description>&lt;p&gt;bootloader setting as below,&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0714.a.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC, \
														 .rc_ctiv = 16, \
														 .rc_temp_ctiv = 2, \
														 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;//    if (nrf_gpio_pin_read(BOOTLOADER_BUTTON) == 0)
//    {
//        return true;
//    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;without an external 32khz oszillator successfully for Dfutarg,share with you,thanks a lot.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51802 DFU is not broadcasting</title><link>https://devzone.nordicsemi.com/thread/407216?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 07:36:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ff43377-1287-4db5-8f80-7f0214947fbc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The IROM/IRAM settings look correct. Did you change anything else like changing the device type from 51422_XXAC to 51802?&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;div&gt;boysplay said:&lt;/div&gt;
&lt;div&gt;when download&amp;nbsp;flash_s130_nrf51_2.0.1_softdevice and dfu\bootloader_secure\pca10028_debug\,there is nothing run,no log info output.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;Could you start execution, then pause it&amp;nbsp;and take a screenshot of the CPU register view?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51802 DFU is not broadcasting</title><link>https://devzone.nordicsemi.com/thread/407204?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 01:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b63f16c-4769-4278-9e55-3c610b8d00c5</guid><dc:creator>boysplay</dc:creator><description>&lt;p&gt;Thanks for replying,Sorry,I&amp;#39;ve made a mistake in this ticket,&amp;nbsp;in fact I build bootloader_secure and according to experimental_ble_app_buttonless_dfu/pca10028,and I also set it in pca10028.h in&amp;nbsp;&amp;nbsp;&lt;span&gt;bootloader_secure&amp;nbsp;project,and download the&amp;nbsp;flash_s130_nrf51_2.0.1_softdevice.hex &amp;amp; bootloader.hex but it still dose not work,please help me check the IROM IRAM setting for&amp;nbsp;nRF51802QFAA bootloader,thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC, \
 .rc_ctiv = 16, \
 .rc_temp_ctiv = 2, \
 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51802 DFU is not broadcasting</title><link>https://devzone.nordicsemi.com/thread/407124?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 13:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8f5d75a-aba4-4534-9712-6e170cdf9053</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="123126" url="~/f/nordic-q-a/96131/nrf51802-dfu-is-not-broadcasting"]&lt;p&gt;&lt;span&gt;#define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC, \&lt;br /&gt;&amp;nbsp;.rc_ctiv = 16, \&lt;br /&gt;&amp;nbsp;.rc_temp_ctiv = 2, \&lt;br /&gt;&amp;nbsp;.xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Did you remember to apply this configuration in your bootloader project too? If so, can you try to debug the bootloader via Keil to see where the program hangs?&lt;/p&gt;
[quote userid="123126" url="~/f/nordic-q-a/96131/nrf51802-dfu-is-not-broadcasting"]I&amp;nbsp;bulid it according to your&amp;nbsp;&lt;span&gt;experimental_ant_bootloader&amp;nbsp;&lt;/span&gt; template,It also has a DFU service successful,However, Dfutarg broadcast cannot into.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This bootloader is for ANT only, but it seems like you are&amp;nbsp;planning&amp;nbsp;to use BLE?&lt;/p&gt;
[quote userid="123126" url="~/f/nordic-q-a/96131/nrf51802-dfu-is-not-broadcasting"]&lt;p&gt;nrfutil settings generate --no-backup --family NRF51 --application app.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 settings.hex&lt;/p&gt;
&lt;p&gt;mergehex --merge bootloader.hex settings.hex --output bl_temp.hex&lt;br /&gt;mergehex --merge bl_temp.hex app.hex s130_nrf51_2.0.1_softdevice.hex --output BLE_Latest.hex&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --sd-req 0x87 --application-version 1 --application app.hex&amp;nbsp; --key-file private.pem BLE_ota.zip&lt;/p&gt;[/quote]
&lt;p&gt;Yes, except the --hw-version should be set to &amp;#39;51&amp;#39; and &amp;#39;52&amp;#39; if you use the default bootloader configuration.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>