<?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>Debugging DFU (&amp;quot;Remote DFU operation failed&amp;quot;)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9835/debugging-dfu-remote-dfu-operation-failed</link><description>I&amp;#39;m using SDK 8.1.0 (SoftDevice 7). I built a version of dual_bank_ble_s110. Installed both on a freshly erased pca10028. It comes up fine and sets the LED on. It&amp;#39;s advertising as &amp;quot;DfuTarg&amp;quot;. 
 I packaged my application into a ZIP file using pc-nrfutils</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jul 2016 08:36:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9835/debugging-dfu-remote-dfu-operation-failed" /><item><title>RE: Debugging DFU ("Remote DFU operation failed")</title><link>https://devzone.nordicsemi.com/thread/36511?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2016 08:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab361521-4dff-4a3e-a5ec-a2b49f22d1e0</guid><dc:creator>Hauser</dc:creator><description>&lt;p&gt;Hey together,
the UICR_CUSTOMER_DEVICE_INFO_OFFSET has to be modified as it is described &lt;a href="https://devzone.nordicsemi.com/question/33483/dfu-ota-firmware-image-for-production/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Otherwise the bootloader check conflicts with your custom content in the UICR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU ("Remote DFU operation failed")</title><link>https://devzone.nordicsemi.com/thread/36510?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 19:46:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f943e703-2869-4d1f-a5a1-cc2eee79c214</guid><dc:creator>testy</dc:creator><description>&lt;p&gt;Really &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00099.html#dfu_init_dev_rev_sec"&gt;never&lt;/a&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU ("Remote DFU operation failed")</title><link>https://devzone.nordicsemi.com/thread/36509?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 01:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d10c0a05-99a4-42cc-9500-07261d1f2fec</guid><dc:creator>meadocean</dc:creator><description>&lt;p&gt;Haha... I&amp;#39;ve suffered the same pain. And I found that the 0x10001080 address started 4 bytes are used by nordic dfu for device type and revision check, please refer to following code:
// First check to verify the image to be transfered matches the device type.
// If no Device type is present in DFU_DEVICE_INFO then any image will be accepted.
if ((DFU_DEVICE_INFO-&amp;gt;device_type != DFU_DEVICE_TYPE_EMPTY) &amp;amp;&amp;amp;
(p_init_packet-&amp;gt;device_type != DFU_DEVICE_INFO-&amp;gt;device_type))
{
return NRF_ERROR_INVALID_DATA;
}&lt;/p&gt;
&lt;p&gt;// Second check to verify the image to be transfered matches the device revision.
// If no Device revision is present in DFU_DEVICE_INFO then any image will be accepted.
if ((DFU_DEVICE_INFO-&amp;gt;device_rev != DFU_DEVICE_REVISION_EMPTY) &amp;amp;&amp;amp;
(p_init_packet-&amp;gt;device_rev != DFU_DEVICE_INFO-&amp;gt;device_rev))
{
return NRF_ERROR_INVALID_DATA;
}&lt;/p&gt;
&lt;p&gt;I think its a reserved bytes for dfu device type and revision check, but never mentioned any documention...&lt;/p&gt;
&lt;p&gt;The UICR customer reserved area after address 0x10001084 shoule be ok for real customer purpose using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU ("Remote DFU operation failed")</title><link>https://devzone.nordicsemi.com/thread/36508?ContentTypeID=1</link><pubDate>Sat, 09 Jan 2016 03:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe1370ef-e8ed-4977-a04d-9b5d85456505</guid><dc:creator>Bruce</dc:creator><description>&lt;p&gt;We ran into the same DFU problem if we program 0x10001080 (using nrfjprog.exe, not compiled in any image) with some value.  Anyone knows the root cause of this error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU ("Remote DFU operation failed")</title><link>https://devzone.nordicsemi.com/thread/36507?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2015 08:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57270817-b2b8-4b42-b992-12ddef8e4c6d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It shouldn&amp;#39;t be a problem to use the UICR registers as long as you don&amp;#39;t include it in the DFU image. However, if you do the image will be much too big because of byte padding (0x18000 - 0x10001000 ~ 256MB .bin), maybe the cause of the error you got(?) The UICR registers are also best suited for data that won&amp;#39;t change for the lifetime of the device (serial number, revison, etc)  since a complete chip erase (NVMC.ERASEALL) is needed to update an existing value. The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/bledfu_memory_banks.html?cp=4_1_0_4_3_3_1"&gt;app data&lt;/a&gt; region should be used for storing of configurable data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU ("Remote DFU operation failed")</title><link>https://devzone.nordicsemi.com/thread/36506?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2015 21:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac7dbc19-6bcc-4620-9565-4aa90f2e3516</guid><dc:creator>Lee Daniel Crocker</dc:creator><description>&lt;p&gt;Aha...found the problem. I was using UICR address 0x10001080 for a serial number in my app. When I left that unprogrammed, all is well. When I filled it in, DFU fails (presumably it&amp;#39;s doing some sort of checksum of memory).&lt;/p&gt;
&lt;p&gt;Isn&amp;#39;t the UICR range 0x10001080...FF supposed to be mine, to use for my app? If so, why is Nordic software messing with it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU ("Remote DFU operation failed")</title><link>https://devzone.nordicsemi.com/thread/36505?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2015 15:38:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:815862b6-dea0-4eeb-bd5f-92624e8af591</guid><dc:creator>Lee Daniel Crocker</dc:creator><description>&lt;p&gt;Thanks. Same failure, so it&amp;#39;s probably not the packet format. I&amp;#39;ll try to compile the original loader out of the box.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU ("Remote DFU operation failed")</title><link>https://devzone.nordicsemi.com/thread/36504?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2015 14:12:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c049d556-5db3-4cca-b41c-8e4f960a3e6a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, I would suggest to try with the dfu_test_app_hrm_s110.zip located here :\nRF51_SDK_8.1.0\examples\dfu\ble_dfu_send_hex\test_images_update\dfu_test_app_hrm_s110.zip&amp;quot; and see if you get the same result. Then try with the unmodified bootloader in the SDK and do DFU with the file above if it doesn&amp;#39;t work. With this I guess you can narrow down the issue to the bootloader itself, or something with the central.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>