I am using msp430c1121 and I need to generate *.bin from *.out,
I set the post-build step as:
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd430.exe" "${CG_TOOL_ROOT}/bin/hex430.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"
However, it gives me error that:
'Finished building target: memtest_ccs2.out'
' '
C:/ti/ccsv5/utils/bin/gmake --no-print-directory post-build
"C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin.bat" "memtest_ccs2.out" "memtest_ccs2.bin" "C:/ti/ccsv5/tools/compiler/msp430_4.1.2/bin/ofd430.exe" "C:/ti/ccsv5/tools/compiler/msp430_4.1.2/bin/hex430.exe" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin.exe"
Unexpected target: unknown at script/mkhex4bin.pl line 261.
error: -image requires ROMS directive
I have check the mkhex4bin.pl line 261
it is:
sub get_target_props
{
my $cpu = ofd_machine_name($xml_data);
print $xml_data;
if (!exists($target_table{$cpu}))
{ die "Unexpected target: $cpu"; }
$target = $target_table{$cpu};
}
Does anyone know what is wrong here?
Thank you
' '