<?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>52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27185/52810-how-to-use-dfu</link><description>Hello, guys,
I develop 52810 with sdk 14.1.0, i need the OTA features,
but i couldn&amp;#39;t find the dfu demo( ble secure dfu bootloader and
 buttonless dfu template app , pca10040e ), what can i do ? 
 Do you give the dfu demo for 52810 later?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Aug 2018 06:56:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27185/52810-how-to-use-dfu" /><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/145813?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 06:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:400718bd-8e06-4626-a488-c2867d7988de</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/cray"&gt;Cray&lt;/a&gt;: We just released SDK v15.1.0 which includes nRF52810 projects(pca100040e) for both the ble_app_buttonless_dfu application and the Secure DFU bootloader. I recommend using these as they have been through our production test suite.&lt;/p&gt;
&lt;p&gt;You can download the latest SDK here:&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/"&gt;http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/145730?ContentTypeID=1</link><pubDate>Fri, 24 Aug 2018 20:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e603fcc-e07a-491f-8fb0-04cd76570ca1</guid><dc:creator>Cray</dc:creator><description>&lt;p&gt;@Hung Bui&amp;nbsp;What version of the SDK is this built with? In nRF_SDK_15.0.0 I am having many issues trying to get this to compile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/137866?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 11:14:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65f29bbe-4ca1-4c7a-98c3-ef3dc0582ccb</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Where did you extract the zip? You have to make sure that the path is not long so I recommend extracting it directly on your C drive or similar so to avoid any path issues with windows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/137861?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 11:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73a6a960-5f16-4435-8a61-47ebd7691469</guid><dc:creator>alan11</dc:creator><description>&lt;p&gt;in the Attachments,On the right, Can You &amp;nbsp;use it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/137374?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 06:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f32b5fdf-28d9-4b40-9153-ea329965592b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/alanwu"&gt;alan11&lt;/a&gt;: You are referring to ble_app_buttonless_dfu.zip from Hung Bui&amp;#39;s comment? Where did you extract the zip?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/137193?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 04:29:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5df4e8d-c0f2-4ced-8798-a56f750bfa6c</guid><dc:creator>alan11</dc:creator><description>&lt;p&gt;your project has error，&lt;/p&gt;
&lt;p&gt;&amp;quot;no source&amp;quot;: Error: #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\util\sdk_mapped_flags.c&amp;quot;: No such file or directory&lt;br /&gt;..\..\..\..\..\..\components\libraries\util\sdk_mapped_flags.c: 0 warnings, 1 error&lt;br /&gt;compiling nrf_log_backend_serial.c...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/130255?ContentTypeID=1</link><pubDate>Mon, 30 Apr 2018 10:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60d4ad40-a487-4969-8ffa-9ec467fc3627</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Attached here is the DFU buttonless project for nRF52810 that can be used with the bootloader v1.1 by Bj&amp;oslash;rn.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_buttonless_5F00_dfu.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_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: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/127802?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 10:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e33e7683-0c6f-47e7-9c7d-5656a48599d3</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/fiannce314159"&gt;F Iannce&lt;/a&gt;: You are correct, I will correct the project files so that it points to the correct micro_ecc_nrf52.lib file.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/127637?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 13:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72eb9b7b-a50c-4091-893d-1d33d7609093</guid><dc:creator>Spirit</dc:creator><description>&lt;p&gt;Guys, do we have anything similar also for SDK15.0 and SD 6.0?&lt;br /&gt;&lt;br /&gt;Secure DFU was completely rewritten in SDK15.0 and nRF52810 support was not added &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/127275?ContentTypeID=1</link><pubDate>Fri, 06 Apr 2018 22:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7332d312-6f79-4b37-b220-51ef099c71b4</guid><dc:creator>F Iannce</dc:creator><description>&lt;p&gt;In case anyone else finds this and has an issue with compilation failing due to invalid options (using hardware floating point with the 52810):&lt;/p&gt;
&lt;p&gt;The options for &amp;quot;micro_ecc_lib_nrf52.lib&amp;quot; included in the project file&amp;nbsp;has a path using the nrf52hf_keil directory in the micro-ecc directory.&amp;nbsp; Since the NRF52810 does not have hardware floating point capability it will fail to compile (linker error about invalid options).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I spent a lot of time thinking I&amp;#39;d built the wrong version of the micro-ecc library, but it turns out to be an incorrect setting in the project file.&amp;nbsp; TO use the non-hardware floating point version, right click on the &amp;quot;micro_ecc_lib_nrf52.lib&amp;quot; file in the Project listing (it&amp;#39;ll be inside the nRF_micro-ecc folder).&amp;nbsp; Select the &amp;quot;Options for File&amp;quot; contextual menu item.&amp;nbsp; In the &amp;quot;Path&amp;quot; variable, change the &amp;quot;nrf52hf_keil&amp;quot; to &amp;quot;nrf52nf_keil&amp;quot;.&lt;/p&gt;
&lt;p&gt;This should get rid of the linker error assuming micro-ecc was compiled correctly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-F&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107112?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 06:45:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2674d98-3369-4d0c-a3d9-c077cbe1621e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The changes proposed by @maksym has been added to the attached files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107114?ContentTypeID=1</link><pubDate>Sat, 25 Nov 2017 02:15:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac9deafb-6609-4bcc-8b09-0493d292e410</guid><dc:creator>Blue</dc:creator><description>&lt;p&gt;Thank you very much!
Recently I changed nrf52832 because RAM and ROM,  thank you very much too!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107115?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 15:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d821916-11d0-4a52-b2c3-b7a9f5190bea</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@maksym: Great catch! Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107113?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 14:38:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d686d24-f99c-4400-aebe-8b8d75e17632</guid><dc:creator>Max_Hrytsak</dc:creator><description>&lt;p&gt;Hello!Some about DFU example migrated to nRF52810.&lt;/p&gt;
&lt;p&gt;1.Modify nrf_ble_dfu_s112.c by this code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;	#if (NRF_SD_BLE_API_VERSION &amp;gt;= 3)// &amp;amp;&amp;amp; !S112)
				case BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST:
				{
						err_code = sd_ble_gatts_exchange_mtu_reply(p_ble_evt-&amp;gt;evt.gatts_evt.conn_handle,
																											 NRF_SDH_BLE_GATT_MAX_MTU_SIZE);
						APP_ERROR_CHECK(err_code);
				} break; // BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST
#if (!S112)
				case BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST:
				{
						ble_gap_data_length_params_t const dlp =
						{
								.max_rx_octets = BLE_GAP_DATA_LENGTH_AUTO,
								.max_tx_octets = BLE_GAP_DATA_LENGTH_AUTO,
						};

						err_code = sd_ble_gap_data_length_update(p_ble_evt-&amp;gt;evt.gatts_evt.conn_handle,
																										 &amp;amp;dlp, NULL);
						APP_ERROR_CHECK(err_code);
				} break; // BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST
#endif
#endif
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start="2"&gt;
&lt;li&gt;Firmware id for s112 is 0xA6 (--sd-req 0xA6). It used for generate dfu image.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107110?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2017 12:13:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71338e21-f559-4c88-8e3e-b250d98e0174</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The RAM settings were incorrect. I have corrected this in my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107109?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2017 11:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07113a48-018a-4359-b12e-d4ff17fe057a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The FWID for  s112_nrf52810_5.1.0-2.alpha is &lt;code&gt;0xFFFE&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107108?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2017 02:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2091111-dfe1-4938-af2a-6402129b0250</guid><dc:creator>Blue</dc:creator><description>&lt;p&gt;Hi, Bjørn Spockeli,&lt;/p&gt;
&lt;p&gt;There is no FWID (sd-req) for s112_nrf52810_5.1.0-2.alpha, does it matter ?
I will try later, the new version of the nrfutil download failed several times Because the network is not work well.....  Speechless..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107111?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2017 00:52:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bb38496-d386-41f0-a7e3-1fd30d8fde20</guid><dc:creator>Blue</dc:creator><description>&lt;p&gt;OK, I will tyr it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52810， how to use dfu？</title><link>https://devzone.nordicsemi.com/thread/107107?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 13:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45b959ea-8643-49d1-bbb4-9c4c33897ff5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;strong&gt;Update 13.03.18:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Attached is a modified SDK v14.2.0 that contains nRF52810 project files for GCC, Keil and SES.&lt;br /&gt;Version v1.0:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SDK_5F00_14.2.0_5F00_nRF52810_5F00_Secure_5F00_BL.zip"&gt;devzone.nordicsemi.com/.../SDK_5F00_14.2.0_5F00_nRF52810_5F00_Secure_5F00_BL.zip&lt;/a&gt;&lt;br /&gt;Version v1.1: Contains fix for the micro-ecc lib issue in the Keil project&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e1f5ec7ba71e470b873bcc0e13bc06b0/SDK_5F00_14.2.0_5F00_nRF52810_5F00_Secure_5F00_BL_5F00_v1.1.zip"&gt;devzone.nordicsemi.com/.../SDK_5F00_14.2.0_5F00_nRF52810_5F00_Secure_5F00_BL_5F00_v1.1.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi Blue,&lt;/p&gt;
&lt;p&gt;we will add support for the nRF52810 in the bootloader examples in a future release, but for now you can modify the existing pca10040 project by doing the following modifications&lt;/p&gt;
&lt;p&gt;Change the device under &amp;quot;Options for Target&amp;quot; --&amp;gt; Device to nRF52810_XXAA&lt;/p&gt;
&lt;p&gt;Modify the ROM/RAM settings under Options for Target --&amp;gt; Target to the following&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IROM1 Start: 0x28000 Size: 0x6000
IRAM1 Start: 0x20001C08 Size: 0x43F8
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then you will have to set the following defines under Preprocessor Symbols under Options for Target --&amp;gt; C/C++&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;BLE_STACK_SUPPORT_REQD BOARD_PCA10040 CONFIG_GPIO_AS_PINRESET NRF52_SERIES NRF52810_XXAA NRF52_PAN_74 NRF_DFU_SETTINGS_VERSION=1 NRF_DFU_SVCI_ENABLED NRF_SD_BLE_API_VERSION=5 S112 SOFTDEVICE_PRESENT SVC_INTERFACE_CALL_AS_NORMAL_FUNCTION SWI_DISABLE0 __HEAP_SIZE=0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and replace the include path to the S132 header files with the headers of the S112 under Include Paths, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;..\..\..\..\..\components\softdevice\s112\headers
..\..\..\..\..\components\softdevice\s112\headers\nrf52
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Lastly you need to replace &lt;code&gt;nrf_sdh_ble.c&lt;/code&gt;,&lt;code&gt;nrf_ble_dfu.c&lt;/code&gt; and &lt;code&gt;nrf_dfu_types_s112.h&lt;/code&gt; with the attached files.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Attachments:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/attachment/319f9c3802d08304cd67a7692ddbda6f"&gt;nrf_dfu_types_s112.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/attachment/aca36704f605b1543f32b352012e3f72"&gt;nrf_ble_dfu_s112.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_5F00_sdh_5F00_ble_5F00_s112.c"&gt;nrf_sdh_ble_s112.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>