<?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>How can i get CRC value from flash after programming the chip?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6983/how-can-i-get-crc-value-from-flash-after-programming-the-chip</link><description>Hi,all.i want get CRC value from nRF51822 for producting test,how to do this?Thanks a lot!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 May 2015 11:12:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6983/how-can-i-get-crc-value-from-flash-after-programming-the-chip" /><item><title>RE: How can i get CRC value from flash after programming the chip?</title><link>https://devzone.nordicsemi.com/thread/24628?ContentTypeID=1</link><pubDate>Tue, 12 May 2015 11:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cce79097-2360-4a7f-8930-552c810cf5fe</guid><dc:creator>wuvo.leo</dc:creator><description>&lt;p&gt;Thanks a  lot, Aryan! It&amp;#39;s useful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get CRC value from flash after programming the chip?</title><link>https://devzone.nordicsemi.com/thread/24627?ContentTypeID=1</link><pubDate>Tue, 12 May 2015 08:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9dab921-89a0-4f25-8893-cdc9bfd18374</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;When you program the chip. Nordic tools will check the CRC before and after writing the hex file to it. If the CRC is not the same then the tools will report that the flash operation has failed.&lt;/p&gt;
&lt;p&gt;So, instead of calculating it from the flash, you can calculate it from the hex file you used to program the flash.
you use hex2bin.exe and crc.exe to calculate this and follow the procedure on page 2 in the below attached document.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7245.How-to-generate-the-INIT-file-for-DFU.pdf"&gt;How to generate the INIT file for DFU.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>