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.

HEX430 output line length

Hello,

I'm using CCS4 Version: 4.2.3.00004  to make a hex file from my project.

In project properties, C/C++ build/build steps/Post-build step I have set up a command:

"${CG_TOOL_ROOT}/bin/hex${CG_TOOL_SUFFIX}.exe" -i "${BuildArtifactFileName}" -o="${BuildArtifactFileBaseName}.hex" -olength=16 -order MS -romwidth 16

 This does what I want by invoking HEX430.EXE, but the output is 32 bytes per line (75 character), and I need to have shorter lines with 16 bytes per line (43 characters). 

Do I have the -olength flag on HEX430 .EXE messed up?

 I couldn't find anything in the forums except a reference to srec_cat, which does work as a separate manual post-operation.  If I can use HEX430.EXE, I would rather do that.

 Thanks for any insight you may have.

 Bob