1 Reply Latest reply on Aug 9, 2017 3:14 PM by e.pratt_1639216

    Calculate CRC16CCITT

    rami.koubaa_2607231

      Hello

         

      I'm using actually PSOC4 CYBL10573.

         

      I have actually calculate crc16 and i have already save it in the last 2 Bytes of Flash. I need to make a check for the CRC in main loop. That's why i used the same code (already used to calculate the crc after compilation)

         

      The resulted CRC in main loop isn't the same with the precalculated .

         

      when i try to find the problem with debugging, the first 4 Bytes of flash are correctly copied but the 5 Byte will not correctly copied. That's why the CRC is not the same.

         

      Do you have any ideas about this case??