Tool/software: Code Composer Studio
I am using following commands in CCS 5.5 IDE post build
Right click the project -> Show Build Settings -> Build -> Steps. the in the box for Post-build steps (in one line)
tiobj2bin and mkhex4bin files are in respective path.
To Generate .HEX file following command is working :
"${CG_TOOL_HEX}" -order MS --memwidth=8 --romwidth=8 --intel -o "${ProjName}.hex" "${ProjName}.out"
I am using following command To Generate .BIN that is not working , it is not generating .bin file.
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd" "${CG_TOOL_ROOT}/bin/armhex" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"
Error displayed after clicking cancel is as follows :
'Finished building target: SIL2PSP_Extension_TMS570LS3137.out'
' '
'"" -order MS --memwidth=8 --romwidth=8 --intel -o ".hex" ".out"'
"C:/ti/ccsv5\utils\tiobj2bin\tiobj2bin" "SIL2PSP_Extension_TMS570LS3137.out" "SIL2PSP_Extension_TMS570LS3137.bin" "C:/ti/ccsv5/tools/compiler/arm_5.1.5\bin\armofd" "C:/ti/ccsv5/tools/compiler/arm_5.1.5\bin\armhex" "C:/ti/ccsv5\utils\tiobj2bin\mkhex4bin"
INTERNAL ERROR: C:/ti/ccsv5/tools/compiler/arm_5.1.5\bin\armhex experienced a fatal internal fault
This is a serious problem. Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.
gmake: *** Deleting file `SIL2PSP_Extension_TMS570LS3137.out'
gmake: unlink: SIL2PSP_Extension_TMS570LS3137.out: Permission denied
Terminate batch job (Y/N)?
gmake: *** [SIL2PSP_Extension_TMS570LS3137.out] Error 130
**** Build of configuration Debug for project SIL2PSP_Extension_TMS570LS3137 ****
I want to include the entire command in one step in post build box.
Do we have common Post build command that can generate both .BIN and .HEX file for TI TMS570LS3137 in one step