<?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>OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104484/ota-dfu-for-thread-product</link><description>Hi, 
 We are using nRF52840 and SDK for Thread and Zigbee v4.2.0 to develop a thread product with OTA DFU function. 
 Our thread subsystem requires the image to be a single image combining .dat and .bin files with a format predefined header, which means</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Oct 2023 06:16:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104484/ota-dfu-for-thread-product" /><item><title>RE: OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/thread/449698?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 06:16:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b54d3a2c-9c6c-4635-a982-58b4a020da2d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The bootloader will verify the version requirements and the integrity of the received FW (i.e., the .bin file). You can read more about this here:&amp;nbsp;&lt;a title="Validation" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader_dfu_validation.html?cp=9_1_3_5_1_1"&gt;Validation&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/thread/449687?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 03:17:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ced7f69a-8b5b-40c9-a702-c63e371cb59d</guid><dc:creator>xingjida</dc:creator><description>&lt;p&gt;Thanks. What&amp;nbsp;does&amp;nbsp;bootloader verify, before it copies the .bin file from bank 1 to bank 0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/thread/449512?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 10:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25fe6360-5d30-44e7-8b37-8b8119fc24db</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the clarification. A potential solution could be to modify the bootloader so that it only copies the .bin file from bank 1. It might&amp;nbsp;be sufficient&amp;nbsp;to&amp;nbsp;change the nrf_dfu_bank1_start_addr() implementation to return the address where the FW image begins, rather than the actual bank 1 address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/thread/449485?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 08:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19dd2ef3-bda9-4e97-be00-90699396f5d3</guid><dc:creator>xingjida</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;For our situation,&amp;nbsp;any suggestions about how to implement? Thank.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/thread/449472?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 07:54:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:586e247c-c85b-4775-a992-07cbaa0dfeac</guid><dc:creator>xingjida</dc:creator><description>&lt;p&gt;Thanks for the explanation. Currently the bin file only has header + .dat + .bin(firmware). In the future, another image for another MCU may be added to the file, but the image will send to the other MCU through UART for firmware update, so it will not really affect the OTA firmware update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/thread/449462?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 07:32:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5c28326-cb08-4153-9113-f48f556bb697</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. The bootloader will always copy the image from the bank1 address which is found with the&amp;nbsp;nrf_dfu_bank1_start_addr() function.&lt;/p&gt;
&lt;p&gt;2. This is not something that is supported in our implementation, so it will require changes to the application/bootloader to make it work.&amp;nbsp;What is supposed to happen with the other image that is not part of the new application?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/thread/449452?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 07:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89ef6cb2-6d7c-4791-9be0-17e5d09929c7</guid><dc:creator>xingjida</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;1. How do bootloader decide where&amp;nbsp;is the new firmware to copy to bank 0? Is it based on the information of image type such as &amp;quot;type: application&amp;quot; and &amp;quot;hw_version&amp;nbsp;0x00000034 (52)&amp;quot;?&lt;/p&gt;
&lt;p&gt;2. Yes, I have header information about where the real firmware is in my combined image. I wonder whether there is a way that I can set the&amp;nbsp;&lt;span&gt;real starting address of the firmware to be updated in the applicating&amp;nbsp;firmware.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Is there any example that I can refer to for our thread product development?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU for thread product</title><link>https://devzone.nordicsemi.com/thread/449348?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2023 11:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c015f9ae-0d2d-4af0-a1e7-0f91bfbbd462</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Unfortunately, the destination to which the bootloader copies the FW image is determined solely by the image type specified in the init command. The init command does not contain address information for the bootloader to use.&lt;/p&gt;
&lt;p&gt;Are you uploading multiple FW images to bank 1? If so, you might be able to parse the received image in your application to determine where the second image starts by searching for a&amp;nbsp;known&amp;nbsp;pattern, such as the vector table.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>