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.

CODECOMPOSER: ERROR: "mkhex4bin failure occurred. Giving up" when using tiobj2bin

Part Number: CODECOMPOSER


Tool/software:

C:\ti\ccs2020\ccs\utils\tiobj2bin\tiobj2bin "myfile.out" "myfile.bin" "C:/ti/ti-cgt-arm_20.2.7.LTS/bin/armofd" "C:/ti/ti-cgt-arm_20.2.7.LTS/bin/armhex" "C:/ti/ccs2020/ccs//utils/tiobj2bin/mkhex4bin"
C:/ti/ccs2020/ccs//utils/tiobj2bin/mkhex4bin failure occurred. Giving up.

If I break the batch file into its parts:

armofd works flawlessly and generates a valid XML file
C:/ti/ti-cgt-arm_20.2.7.LTS/bin/armofd -x --xml_indent=0 --obj_display=none,sections,header,segments "C:/Users/dant1/git/cmdl1-er-firmware/CMDL1-ER_TIRTOS/Debug/CMDL1-ER_TIRTOS.out" > tmp.xml

mkhex4bin fails silently when I run it standalone
C:\ti\ccs2020\ccs\utils\tiobj2bin\mkhex4bin.exe .\tmp.xml > hex.tmp