<?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>Image for DFU not page aligned</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35858/image-for-dfu-not-page-aligned</link><description>Hello, i&amp;#39;m currently doing my own DFU central for the BLE DFU on SDK 13, i followed all the steps on this link , i created the init and image files with nrfutil and now i want to send them for the DFU. I succede to send the init packet and the execture</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jun 2018 13:10:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35858/image-for-dfu-not-page-aligned" /><item><title>RE: Image for DFU not page aligned</title><link>https://devzone.nordicsemi.com/thread/138136?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 13:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07ac28f1-7b93-45b0-b365-206b77e7615f</guid><dc:creator>Albin</dc:creator><description>&lt;p&gt;Yes i manage to split my entire image into several objects, i didn&amp;#39;t use the BLE sniffer but i used the bootloader_secure_ble_debug with nrfConnect and it was enough to the DFU update, thanks for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Image for DFU not page aligned</title><link>https://devzone.nordicsemi.com/thread/138114?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 12:35:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbba521b-2f08-4e89-b40f-00cf7024280d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Albin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Yes you have to split you image into multiple objects.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently the max object size DATA_OBJECT_MAX_SIZE is equal to&amp;nbsp;CODE_PAGE_SIZE. Meaning basically all objects should be 1 page, except for the last one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you look at the code in&amp;nbsp;nrf_dfu_data_req() you can see the check inside case&amp;nbsp;NRF_DFU_OBJECT_OP_CREATE , if it&amp;#39;s not the last object it has to be page aligned.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To send the image in several object, you can just split them and send objects one by one, finish an object by execute command, and start the next object using Create command.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you to either use a logic analyzer to track Serial DFU update or use a &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;BLE sniffer&lt;/a&gt; to track a BLE DFU update , so you can have a reference to follow.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>