Part Number: TMS320F28374S
Hi BU Team,
My customer Haier is using our F28374S for their EI projects.
They met a issue that previous they can use tiobj2bin(code shown as below) in post build up steps to generate .bin but now they cannot.
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd2000" "${CG_TOOL_ROOT}/bin/hex2000" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin" & "${CG_TOOL_HEX}" -i "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.hex" -order MS -romwidth 32 & "${CG_TOOL_HEX}" --ti_txt "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.txt" -order MS -romwidth 32
The console output is shown as below, showing that eabi are not supported

And there is no .bin generated in the project.
Then they tried to generate .bin by enabling C2000 HEX utility and choosing the output format to .bin could generate a wrong .bin(the device function did not same with the code they write)
Now I let them using hex2000 command in post build up shown as below:
"${CG_TOOL_ROOT}/bin/hex2000" -q -b -image -o "${BuildArtifactFileBaseName}.bin" "${BuildArtifactFileBaseName}.txt" "${BuildArtifactFileBaseName}.out"
And they need to make a roms.txt by themself, shown as below:
ROMS {
all_mem: o = 0x108000, l = 0x74000,fill=0xffff
}
This way the can generate the .bin successfully but the .bin is bigger than their code really are, their code is 120~130k but the .bin is 474k with lots of FFFFF in the end of .bin.
Could you help check with this issue and give a solution to my customer?
Thanks for your help!!
B.R.
Jackey