<?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>How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35730/how-to-enter-dfu-mode-with-sr3v1-2</link><description>Hi, 
 I&amp;#39;m tring to enter DFU mode by combo keys by KEY_COMBO_TWO_KEY_REGISTER(). 
 
 In v1.1, I used m_pwr_mgmt_shutdown(M_PWR_MGMT_SHUTDOWN_TYPE_DFU) to enter DFU mode directly. 
 Now it is not work anymore, and I find that there is a function called</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Sep 2018 07:05:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35730/how-to-enter-dfu-mode-with-sr3v1-2" /><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/150164?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 07:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7f6156e-f391-4f32-a03a-0c0cdba9dd11</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Ralph0"]I think so,because as I change it back to 0x20031 in the config file, I can DFU the RCU.[/quote]
&lt;p&gt;I guess you then also change&amp;nbsp;&lt;span&gt;parameter --hw_version 0x20031 when you create the DFU packet? Have you tried not changing the config (set it to&amp;nbsp;0x20023), and then test with a DFU packet created with&amp;nbsp;--hw_version 0x20031. If it works, the bootloader have the wrong config.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you read the&amp;nbsp;&lt;a title="Working with Smart Remote 3 for nRF52810" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sr3nrf52.firmware/working_with_n_r_f52810.html?cp=9_3_1_1_2"&gt;Working with Smart Remote 3 for nRF52810&lt;/a&gt;&amp;nbsp;documentation? Due to the limited RAM and Flash sizes of nRF52810, the logger is disabled by default. Having both DFU bootloader and logging enabled at the same time might not work at all.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/150144?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 02:15:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13532f3b-dce9-49ef-ba3e-42c2dc4dfc7e</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;BTW, I can&amp;#39;t check the log,seems the size of FLASH and RAM in BT (52810)are too small for log module.&lt;/p&gt;
&lt;p&gt;I change the size of FLASH and decrease the size of buffers of log , but RAM keeps overflow.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only message I can see is the message from nRF connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/150143?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 02:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d92008bc-e557-4a2f-b6e2-8736653599f0</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;I think so,because as I change it back to 0x20031 in the config file, I can DFU the RCU.&lt;/p&gt;
&lt;p&gt;But I can try again, so&amp;nbsp;theoretically, the HW_VERSION may be changed in config.h as long as init packet has the same HW_VERSION, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/150057?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 12:40:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df509e64-473a-4c6b-b25b-f5e86d63efce</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you sure that&amp;nbsp;&lt;span&gt;sr3_config_nrf52810_pca20031.h is the config file included in your build? If you get this error, the HW_VERSION of bootloader and init packet does not match.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/149719?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 01:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6df0e047-f836-4f39-86e5-f33573bcc0e7</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;I set&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sr3nrf52.firmware/group__sr3__config__nrf52810__custom.html#gaaa33c99b31473f47059b20f80ee64aa5"&gt;CONFIG_DFU_HW_VERSION&lt;/a&gt;&amp;nbsp;to 0x20023 in sr3_config_nrf52810_pca20031.h and packaged the dfu zip file with parameter --hw_version 0x20023,too.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It said the HW version wrong by secure DFU service&amp;#39;s DFU Control Point in nRF connect .&lt;/p&gt;
&lt;p&gt;I think the code is at dfu_handle_prevalidate() in dfu_req_handling.c where checkc of init command HW version&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/149676?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 14:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98dc2935-0b92-4fa2-83ca-6f47ded3e989</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The bonds must be created in the main application, see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37845/does-nrf_dfu_ble_buttonless_supports_bonds-enforce-a-preexisting-bond-when-in-bootloader-mode/145872#145872"&gt;this answer&lt;/a&gt;. The FW have&amp;nbsp;&lt;span&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sr3nrf52.firmware/group__sr3__config__nrf52810__custom.html#gaaa33c99b31473f47059b20f80ee64aa5"&gt;CONFIG_DFU_HW_VERSION&lt;/a&gt;&amp;nbsp;set to &lt;/span&gt;&lt;span&gt;0x20031 for nRF52810. Where did you set the&amp;nbsp;HW_VERSION, and&amp;nbsp;how did it tell you that the HW version is wrong?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/149347?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 07:29:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8debbda6-dfaa-448e-8a33-fe09743578a0</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, Bjorn,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for my very late response,too. The notification didn&amp;#39;t show up and I also forgot to review this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Yes, setting&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS to 0 resolved the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Client did not have the Service Changed indication set to enabled. Error: 0x00000008&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;error in the bootloader.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1.So if I set&amp;nbsp;&amp;nbsp;&lt;span&gt;NRF_DFU_BLE_REQUIRES_BONDS to 1, the device have to bond with bootloader(DFU_Target)first, so the whole process of DFU can go down?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2.We recently change our chip from 52832 to 52810, and I find out even changing the HW_VERSION in 52810&amp;#39;s config from 0x20031 to 0x20023, Log in secure DFU Service still tells me the hw verson is wrong.&lt;/p&gt;
&lt;p&gt;Seems it has to be 0x20031 instead of other values? Isn&amp;#39;t hw version relating to the PCB of RCU likes pca63519 and pca20023 with same chip 52832?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/141190?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 14:45:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c288a6d2-5325-4fa0-b1ae-b6a390ef4cdb</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Ralph,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I apologize for the late reply. I&amp;#39;ve been out of office on vacation.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So setting&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS to 0 resolved the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Client did not have the Service Changed indication set to enabled. Error: 0x00000008&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;error in the bootloader?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Setting NRF_DFU_BLE_REQUIRES_BONDS to 0 means that unbonded devices are able to connect to the bootloade, however, as long as they do not have a signed DFU image to upload they will not be able to perform a DFU of the remote.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/140144?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 03:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c1890ce-4fcd-4a4f-a6be-29f9ab2e2a53</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, Bjorn&lt;/p&gt;
&lt;p&gt;I passed the issue that using combo key to enter DFU mode .&lt;/p&gt;
&lt;p&gt;In bootloader&amp;#39;s sdk_config.c ,there is a define called&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Its default value is 1, I clear it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Guess SR might only receive the DFU command from paired central if&amp;nbsp;&lt;span&gt;NRF_DFU_BLE_REQUIRES_BONDS&amp;nbsp; is set. If the command is sent from other paths, it omits the command.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope there is a better explanation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/139359?ContentTypeID=1</link><pubDate>Mon, 09 Jul 2018 06:08:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f06f5ac-0708-49c9-93e2-084a64c77ef3</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;0&amp;gt; &amp;lt;info&amp;gt; sr3_bootloader: In the bootloader=================&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: In nrf_bootloader_init&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: in weak nrf_dfu_init_user&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: In real nrf_dfu_init&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; nrf_dfu_settings: Enter nrf_dfu_settings_init&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; nrf_dfu_flash: Calling nrf_dfu_flash_init(false)...&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; dfu_utils: Enter nrf_dfu_continue&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; dfu_utils: Valid App&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: Application sent bootloader request&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; dfu_utils: App is valid&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: Running Service Changed config&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: Finished running Service Changed config&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: Enabling SoftDevice.&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: SoftDevice enabled.&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: Device address set&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: Regular adv name&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: ##### Setting adv with peer data ####&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: ##### IRK Found. Setting whitelist ####&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: Finished initializing BLE DFU transport&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: After nrf_dfu_transports_init&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; nrf_dfu_flash: Calling nrf_dfu_flash_init(true)...&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; nrf_dfu_flash: dfu_fstorage_evt_handler calls 0x00077025.&lt;br /&gt; 0&amp;gt; &amp;lt;info&amp;gt; app: ble_evt_handler m_conn_handle:0----------------------------------------------&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: == conn sec update request&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: Sending Service Changed indication&lt;br /&gt; 0&amp;gt; &amp;lt;info&amp;gt; app: service_changed_send M_CONN_HANDLE:0-------------------------------&lt;br /&gt; 0&amp;gt; &amp;lt;warning&amp;gt; app: Client did not have the Service Changed indication set to enabled. Error: 0x00000008&lt;br /&gt; 0&amp;gt; &amp;lt;debug&amp;gt; app: == We are finished handling conn sec update&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;These two values of m_conn_handle only show while establishing connection after entering DFU mode.&lt;/p&gt;
&lt;p&gt;And then the error : 0x00000008, not upload the zip file yet.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;About the sniffer, I can check that later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/139233?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 10:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bab84dd9-777f-4388-9593-1bb30a21b706</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, please to do that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That is interesting as the SR3 FW uses the S132 v5.1.0 SofDevice and we&amp;#39;ve not had a lot of compatibility issues with Android devices. Are you able to capture a sniffer trace of the communication between the phones and the SR3?&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/139221?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 09:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce0a1137-42b2-44b1-8337-7e5e4bf5c80a</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, Bjorn&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will check it next week.&lt;/p&gt;
&lt;p&gt;BTW, I also use the third smart phone to try it,and this one can&amp;#39;t even show all the GATT services but only the first two services&amp;nbsp;GENERIC Access &amp;amp; Generic Attribute.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Its spec is sony XA&amp;nbsp; Android 7.0 BT 4.1&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to know .&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Ralph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/139208?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 09:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39db1df0-304c-4180-8fbc-c7285e2757cd</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;OK, so the issue is only present on your phone i.e. Redmi 5, Android 7.1.2 supporting BT 4.2 and not your colleague&amp;#39;s&amp;nbsp;LG V10 , Android 5.1.1 supporting BT 4.1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you print the&amp;nbsp;m_conn_handle variable when you get the&amp;nbsp;BLE_GAP_EVT_CONNECTED in&amp;nbsp;ble_evt_handler() in nrf_ble_dfu.c after connecting with the Redmi phone and then print it again in&amp;nbsp;service_changed_send() prior to calling&amp;nbsp;sd_ble_gatts_service_changed?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to see it the connection handle is changed in between these two calls.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&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: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/139084?ContentTypeID=1</link><pubDate>Thu, 05 Jul 2018 10:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35326670-69f2-42cf-a766-0a1fb71818ab</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, Bjorn&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I borrow another Android smart phone from my colleague,and it works to upload my zip file.&lt;/p&gt;
&lt;p&gt;My Android smart phone&amp;#39;s specification:&lt;/p&gt;
&lt;p&gt;Redmi 5 , Android 7.1.2&amp;nbsp; BT 4.2&lt;/p&gt;
&lt;p&gt;My colleague&amp;#39;s specification:&lt;/p&gt;
&lt;p&gt;LG V10 , Android 5.1.1 BT 4.1&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nRF CONNECT versions I guess are the same, I downloaded it last week,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;he downloaded it today.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/138966?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 12:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77baccda-2b65-4014-bcb8-ead4c66a461f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I am not seeing any&amp;nbsp;&amp;quot;Client did not have the Service Changed indication set to enabled.ERROR: BLE_ERROR_INVALID_CONN_HANDLE&amp;quot; in service_changed_send() in nrf_ble_dfu.c.&amp;nbsp; error message when performing DFU with nRF Connect for Android and monitoring the RTT log output&lt;/p&gt;
&lt;p&gt;No, changing the memory layout should not affect the Service Changed indication. Nor should the nrfutil parameters.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which version of the nRF Connect app are you using? Could you try to use nRF Connect for Desktop as well and see if you get the same behaviour?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/138926?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 10:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d661f720-ab01-4483-9529-86aa9a064834</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, Bjorn&lt;/p&gt;
&lt;p&gt;I use both : my own modified project base on example and default example.&lt;/p&gt;
&lt;p&gt;nRF Connect would bond it automatically when the device is in application mode, after entering DFU mode,I have to reconnect it, otherwise the DFU icon on the right corner won&amp;#39;t show up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I use nRF Connect for Android cellphone, the error message doesn&amp;#39;t show up in nRF connect but does in RTT viewer.&lt;/p&gt;
&lt;p&gt;Will changing the sections&amp;#39; boundary of the memory(APP,BL) cause the problem?&lt;/p&gt;
&lt;p&gt;Or nrfutil&amp;#39;s parameters like bootloader version ,app version,etc ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/138912?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 09:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40eee11e-aab8-428c-b0c2-9f07f8611a28</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Ralph,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, the SR3 application FW was present when I performed the DFU. Are you using the&amp;nbsp;&amp;nbsp;SR3 application FW that you have modified or are you using the default example?&lt;/p&gt;
&lt;p&gt;The SR3 bootloader requires you to bond with the application in order to perform DFU, so make sure that you have done that prior to starting the DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did the error message show up in nRF Connect for Desktop /iOS/ Android? Or are you still using nRF Toolbox?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/138893?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 07:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5231904e-6e96-4fe0-8374-e30e0e39e0c3</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, Bjorn&lt;/p&gt;
&lt;p&gt;When you ran DFU test last time,was the app area empty or not?&lt;/p&gt;
&lt;p&gt;After testing, DFU can be done when the device only has softdevice and bootloader.&lt;/p&gt;
&lt;p&gt;But after that, I can&amp;#39;t run another DFU again with the same error message.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ralph&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/138220?ContentTypeID=1</link><pubDate>Fri, 29 Jun 2018 00:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1b25abb-ac25-4f2b-9354-2b42c891eae9</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Alright, I will check again where&amp;nbsp; I did wrong.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ralph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/138179?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 15:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd85215c-3d52-41b4-b625-c34420db1b41</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hmm, I did a quick test with a clean install of SR3 and i did not see any issues&lt;/p&gt;
&lt;p&gt;Generate a private key with nrfutil using&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;nrfutil keys generate private_key.pem&lt;/p&gt;
&lt;p&gt;and then generated the public key using&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;nrfutil keys display --key pk --format code --out_file bootloader_key_custom.c private_key.pem&lt;/p&gt;
&lt;p&gt;and then I generated a custom DFU image using&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;nrfutil pkg generate --application PCA20023-SR3_nRF52832_Product_Example.hex --application-version 1 --hw-version 0x20023 --sd-req 0xA5 --key-file private_key.pem sr3_dfu_pkg.zip&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I then perform the DFU with nRF Connect for Desktop according to the instructions in the SR3 documentation under Running DFU ( doc found under&amp;nbsp;C:\Nordic Semiconductor\nRFready Smart Remote 3 nRF52 v1.2.1alpha by clicking&amp;nbsp;Firmware Documentation shourtcut&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b70d4ee78bbc464b831c1f17f1a1bac0/pastedimage1530200218938v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/137994?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 03:04:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1079609-9a35-4125-adba-e89e070f3cfe</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi,Bjorn&lt;/p&gt;
&lt;p&gt;Same error message.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes , my hw version is PCA20023.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/137877?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 11:46:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b52ebba-1809-4093-b843-923345c6d334</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Ralph, I recommend using nRF Connect over nRF Toolbox as you get more extensive logs with the first.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When generating a DFU image for the SR3 v1.2 bootloader you need to set a specific hw version if you&amp;#39;re using the PCA20023 (Product Example remote), i.e.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --application &amp;lt;name of app hex&amp;gt;.hex&amp;nbsp;--application-version 0 --hw-version 0x20032 --sd-req 0xA5 --key-file &lt;span&gt;private&lt;/span&gt;-key.pem dfu_app.zip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/137865?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 11:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29d2a69d-33fb-4b8b-869a-576077b143a0</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi, Bjorn&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I omit the problem of combo key function first.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use the same method in sdk13 to package a DFU zip file.&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --sd-req 0xA5 --application-version 0x0000 --application my_app.hex --key-file my_key.pem my_zipfile.zip&lt;/p&gt;
&lt;p&gt;And then I click uplaod to update the app by nrf_toolbox.&lt;/p&gt;
&lt;p&gt;But there is a quick error comes out :&amp;nbsp;&amp;quot;Client did not have the Service Changed indication set to enabled.ERROR: BLE_ERROR_INVALID_CONN_HANDLE&amp;quot; in service_changed_send() in nrf_ble_dfu.c.&amp;nbsp; nrf_toolbox also shows the error message: invalid gatt service handle at the same time.&lt;/p&gt;
&lt;p&gt;Did I package the zip file wrong? But the error seems not even validate my package format.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/137783?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 06:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:655f7bc4-7c8b-4b77-b74a-93ae2fdcb175</guid><dc:creator>Ralph</dc:creator><description>&lt;p&gt;Hi Bjorn.&lt;/p&gt;
&lt;p&gt;I change the IROM as your suggestion(can see log in bootloader now),and I also use app: nRF connect to send 0x01 to SR3 to put it into DFU mode successfully.&lt;/p&gt;
&lt;p&gt;But still can&amp;#39;t put SR3 into DFU mode by a combo key function. I go back to check&amp;nbsp;m_coms_ble_dfu_fs_evt_handler(), nrf_atomic_flag_clear(&amp;amp;m_dfu_flash_busy) I didnt add it in my combo key function,should I add it ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ralph&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enter DFU mode with SR3v1.2</title><link>https://devzone.nordicsemi.com/thread/137659?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 11:24:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca0e4668-48c4-4ca3-9e7f-431c3e9694eb</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No, you will need to&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;decrease IROM start address&amp;nbsp;and increase the IROM size accordingly in the Keil memory or GCC linker script to fit the Logging module. You will also have to adjust the SR3 firmware so that it soes not overwrite the bootloader.&amp;nbsp; I think that setting the bootloader memory settings to IROM1 Start: 0x77000 Size: 0x7000 should do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>