2. Search in TI's installation directory: D:\TI\ccsv5\tools\compiler\msp430_4.1.2\bin\hex430.exe Open it with command prompt to obtain the command parameters: General Options: --byte,-byte Output as bytes rather than target addressing --exclude,-exclude=section Exclude section from hex conversion --fill,-fill=val Specify fill value --help,-options,-h Display help --image,-image Select image mode --linkerfill,-linkerfill Include linker fill sections in images --map,-map=file Specify map file name --memwidth,-memwidth=width Specify memory width --olength,-olength=num Number of data items per line of hex output --order,-order=LS,MS Specify data ordering (endianness) --outfile,-o=file Specify output file names --quiet,-quiet,-q Quiet Operation --romwidth,-romwidth=width Specify rom width --zero,-zero,-z Zero based addressing Diagnostics Options: --diag_error=id Treat diagnostic as error
--diag_remark=id Treat diagnostic as remark
--diag_suppress=id Suppress diagnostic
--diag_warning=id Treat diagnostic as warning
--diag_wrap[=on,off] Wrap diagnostic messages (argument optional,
defaults to: on)
--display_error_number Emit diagnostic identifier numbers
--emit_warnings_as_errors,-pdew
Treat warnings as errors
--issue_remarks Issue remarks
--no_warnings Suppress warnings
--set_error_limit=count Set error limit to
Output Format Options:
--ascii,-a Output ASCII hex format
--intel,-i Output Intel hex format
--motorola,-m[=1,2,3] Output Motorola S hex format
--tektronix,-x Output Extended Tektronix hex format
--ti_tagged,-t Output TI-Tagged hex format
--ti_txt Output TI-TXT hex format
Load Image Options:
--load_image Output Load Image Object format
--section_name_prefix=string Prefix for load image object sections
复制代码