I need to save the memory from the MSP430 into a .hex file. This is easy in CCS3.3 on the 2812. When I save memory, there are no options for standard programmer formats, Intel hex, S-rec, whatever. There is only .dat with some variability on the formatting or .out.
So, I went to the compiler directory and copied hex430 to the directory where I saved (dumped) memory to a .out format (as well as several .dat formats). I ran it with no options, which defaults it TI-hex. This produced two files with the extensions .x0 & .x1.
Then I ran the hex430 utility with the -i option for Intel hex. This produced two files with the extensions .i0 and .i1. These files do not match when compared. They each have lines at the same address with different data.
Really, this should be simple. Just save to .hex. The compiler allows a post-build step to .hex as a preconfigured step so this is obviously a common format. Why can't that be a preconfigured file type for saving memory? Maybe it is and I missed it. That is very plausible, believe me ;-)
Basically, I have a boot loader. Then I download the application. The boot loader protects the vectors from being overwritten by the application. Also, some revision information gets put into some far off flash segments away from real code. So, I program the boot, download the app using our field tool via serial port (as a field person would do), then dump the flash and give the file to manufacturing so they have a single step programming process.
have done this for years with different products, parts and tools. But, I cannot see how to do this with the MSP430 & CCS 5.5.
Regards,
Jim