This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can i get CRC value from flash after programming the chip?

Hi,all.i want get CRC value from nRF51822 for producting test,how to do this?Thanks a lot!

Parents
  • 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.

    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.

    How to generate the INIT file for DFU.pdf

Reply
  • 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.

    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.

    How to generate the INIT file for DFU.pdf

Children
Related