This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F2619S-HT: Automatic loading of program and symbols from different files after post-build step for CRC calcualtion.

Part Number: MSP430F2619S-HT

Hi Everyone,

I'm trying to find a way to add a simple CRC16  to my program. The linker doesn't seem to offer the right options (it only provides CRC tables that add too much junk into the output file - every byte counts here), so I have gone down the post-build route where I calculate the CRC by a third-party tool and inject it into a HEX file. (I'm using Intel HEX.) This is all working OK, although an option to tell the linker that I really just want the CRC and nothing else would be much easier (the required CRC would end up in the executable without the need to generate the HEX at all).

The issue is that I haven't found a way to automagically load the program from the updated HEX file and only use symbols from the OUT executable when trying to debug the program. It all works fine when I load things manually, but having to press one button makes a bit more sense than having to go through drop-downs and look for files, etc. Also rebuilding the program from source during a debug session should ideally reload everything too.

I'm using CCS 12.4 with most of the defaults for the MCU.

Thanks.

Michal

**Attention** This is a public forum