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.

TI-Clang & CC2652P generate binary output

Other Parts Discussed in Thread: CC2652P, UNIFLASH, SIMPLELINK-CC13XX-CC26XX-SDK

Using CCS compiler (TI v20.2.5 LTS) adding CCS Build -> Post-build step(below) generates a .bin file.
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd.exe" "${CG_TOOL_ROOT}/bin/armhex.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

How do i go about getting TI-Clang to generate the same binary?

Need a .bin since we are using a modified version of sblAppEx.exe to program the CC2652P (device built in serial bootloader).

As UniFlash doesn't seem to have any support to programming the CC2652P using Serial/Bootloader,.only On-Chip/Debug probe.
(we use UniFlash to program the CC32xx(Serial/Bootloader)

  • Hi Johan,

    The following are used to generate hex and bin images from a TI-CLANG project in SIMPLELINK-CC13XX-CC26XX-SDK v6.20:

    ${CG_TOOL_HEX} -order MS --memwidth=8 --romwidth=8 --intel -o ${ProjName}.hex ${ProjName}
    ${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.bin ${CG_TOOL_ROOT}/bin/tiarmofd ${CG_TOOL_ROOT}/bin/tiarmhex ${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin

    Please let me know whether the same works for your build. 

    Regards,
    Ryan