Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22171

MSP430FR5969: How to modify linker so one initialization value could be placed separately?

$
0
0
Part Number: MSP430FR5969

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.


Viewing all articles
Browse latest Browse all 22171

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>