Tool/software:
Hi. In my code, I want to perform CRC calculation on FRAM section and then compare the calculated CRC value against a comparison CRC value, and perform further actions if the two values are same or not. I think, the problem I am having is, the comparison CRC value is stored in initialization values in FRAM segment. Therefore comparison value is included in the CRC calculation. I calculate CRC value and put it in. I calculate the CRC value again, it has changed. I put it in again. I calculate again, it changes again...
As a solution, I tried to create a separate memory segment sized 2 bytes to store the CRC comparison value but I have the same problem, because the initialization value for it, is still stored in FRAM. My question is, how can I seperate only that initialization value? But if you also have other suggestions, I am open for discussion.
Thanks.