Part Number: CC2652R
Hello Guys,
Good day.
Our customer built ble5_host_test_cc26x2r1lp_ticlang_app.out from the BLE5 host test demo application for CC2652R. This is RTOS.
What are the steps to convert this into .bin file?
He changed this line:
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.
Part Number: CC2652R
Hello Guys,
Good day.
Our customer built ble5_host_test_cc26x2r1lp_ticlang_app.out from the BLE5 host test demo application for CC2652R. This is RTOS.
What are the steps to convert this into .bin file?
He changed this line:
<GCC_TOOLCHAIN_PATH>/bin/arm-none-eabi-objcopy -O binary <application>.out <application>.bin
to
${CCS_UTILS_DIR}/bin/gnake -o binary ${ProjName}.out ${ProjName}.bin
but is unsuccessful.
Thanks and regards,
Art
Hi Art,
Please have them refer to the following E2E post or ask the Code Composer Studio Forum if they continue to encounter difficulties.
Regards,
Ryan
Hello Ryan,
Good day.
The customer used this "${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.bin ${CG_TOOL_ROOT}/bin/armofd.exe ${CG_TOOL_ROOT}/bin/armhex.exe ${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"
and got this error messages.
​/utils/tiobj2bin/tiobj2bin.bat ​ ​.bin ​/bin/armofd.exe ​/bin/armhex.exe ​/utils/tiobj2bin/mkhex4bin.exe
makefile:221: recipe for target 'post-build' failed
process_begin: CreateProcess(NULL, ​/utils/tiobj2bin/tiobj2bin.bat ​ ​.bin ​/bin/armofd.exe ​/bin/armhex.exe ​/utils/tiobj2bin/mkhex4bin.exe, ...) failed.
Thanks and regards,
Art
The post-build command needs quotation marks surrounding each parameter. Here is a somewhat similar E2E post. I was able to generate a binary image in the output folder by using the following on the CCS compiler:
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd.exe" "${CG_TOOL_ROOT}/bin/armhex.exe" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"
Unfortunately, I expect issues will be encountered using Tiobj2bin with TI-CLANG.
Regards,
Ryan