<?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>SPI DFU Bootloader Protocol</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74179/spi-dfu-bootloader-protocol</link><description>Hi, 
 I am currently working on SDK 15.2.0 on my NRF52840 DK to program a bootloader that can do DFUs over SPI. I have been following the protocol found in this link . I have been able to get a DFU_Master to talk to the Slave_bootloader, however, when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Apr 2021 14:10:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74179/spi-dfu-bootloader-protocol" /><item><title>RE: SPI DFU Bootloader Protocol</title><link>https://devzone.nordicsemi.com/thread/305898?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 14:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09ec94d7-66e8-45c7-86d7-3c16b6294896</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Since we don&amp;#39;t support SPI bootloaders, I assume you have done some of this implementation yourself. You say that the error says:&amp;nbsp;&lt;span&gt;execute with faulty offset. What offset do you send from the SPI command, and what does it expect? Try setting a breakpoint in&amp;nbsp;nrf_dfu_validation_init_cmd_execute() and check what the&amp;nbsp;s_dfu_settings.progress.command_offset and&amp;nbsp;s_dfu_settings.progress.command_size is.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>