Exclude MSP430 INFO memory from checksum calculation

Technical Note 72878

Targets:
MSP430

Component:
General

Updated:
6/7/2007 9:11 AM

Introduction

The generic checksum calculation covers all used non-volatile memory. If the INFO memory in an MSP430 (address 0x1000 - 0x10FF) is used for variables, a checksum calculation will report an error as soon as a variable has changed in the INFO memory.

Solution

Change the checksum calculation to only cover CODE memory (i.e. from 0xFFFF and downwards).

See the example for for IAR Embedded Workbench for MSP430 in Technical Note 91733. It is written so that the INFO memory is not included in the checksum calculation.

 

All product names are trademarks or registered trademarks of their respective owners.

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.