<?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>DFU controller firmware data object CRC computation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81999/dfu-controller-firmware-data-object-crc-computation</link><description>Hi, 
 I&amp;#39;m trying to create a DFU controller on a secondary board, and have been referencing the info center and nrf toolbox android app to get started. I&amp;#39;ve run into an issue where the dfu controller does not compute the same CRC as the app/dfu target</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Nov 2021 16:37:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81999/dfu-controller-firmware-data-object-crc-computation" /><item><title>RE: DFU controller firmware data object CRC computation</title><link>https://devzone.nordicsemi.com/thread/340415?ContentTypeID=1</link><pubDate>Tue, 23 Nov 2021 16:37:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4836a9f5-3567-499b-aa5c-36f53599f9c0</guid><dc:creator>kurtovic</dc:creator><description>&lt;p&gt;All right that solved it, I overlooked that bit with the third parameter thinking it was a polynomial. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller firmware data object CRC computation</title><link>https://devzone.nordicsemi.com/thread/340360?ContentTypeID=1</link><pubDate>Tue, 23 Nov 2021 13:50:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8a1efa6-ff17-4259-b5b3-3e2f1a24f0b5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The CRC is always computed from offset 0 (i.e. first data object). You&amp;nbsp;must include the previous CRC when computing the next. The function&amp;nbsp;&lt;a title="Software Development Kit" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__crc32.html?resultof=%22%63%72%63%33%32%5f%63%6f%6d%70%75%74%65%22%20"&gt;CRC32 compute&lt;/a&gt;()&amp;nbsp;is the API we use in our SDK. Notice we have a third optional input parameter that lets you continue CRC computation from a previous checksum.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amadna&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>