SLAA600E June 2013 – January 2024
The CCS projects can be setup to generate outputs in MSP430 .txt format or Intel .hex format by following Project Properties → MSP430 Hex Utility for more information. Neither file includes a CRC, but one can either be calculated by the host processor or needs to be added manually to the generated file. Regardless of how the CRC is calculated, the application image must be converted to a format useable by the host processor. To make this easier, the software package includes image2C, a Perl script used to convert an MSP430 .txt file or Intel .hex file to a C array.
Location: MSPBoot\Utilities\430 Image Converter\image2C.pl
Syntax:
[] denotes an optional field
image2C.pl
[-help]
-src <src_file>
-dest <dest_file>
-struct <array_name>
[-20_bit]
A Perl interpreter is required to run this script. Visit https://www.perl.org/ to download an interpreter if needed.