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.
Hi
I'm using the Starterware examples. Importing the CCS project from the examples builds OK and runs on the AM335x EVM - no problem.
I've created a new project with the source files for the specific project (compiles and links) - all is OK until the make. I have post build command set - the issue I have is with the last item - to run tiimage.exe (everything before to this is OK).
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd470.exe" "${CG_TOOL_ROOT}/bin/hex470.exe" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe" "${STARTERWARE_TOOLS}/ti_image/tiimage.exe" "0x80000000" "NONE" "${BuildArtifactFileBaseName}.bin" "${BuildArtifactFileBaseName}_ti.bin"
STARTERWARE_TOOLS is defined as C:\ti\AM335X_StarterWare_02_00_00_06\tools
but the build does not complete. I notice in the make file has the following line whcih appears not to get the path correct and then is unable to run the .exe; Have I missed something?
-"C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin.bat" "audiobuzzer.out" "audiobuzzer.bin" "C:/ti/ccsv5/tools/compiler/tms470/bin/ofd470.exe" "C:/ti/ccsv5/tools/compiler/tms470/bin/hex470.exe" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin.exe" "/ti_image/tiimage.exe" "0x80000000" "NONE" "audiobuzzer.bin" "audiobuzzer_ti.bin"
Regards
Chris
Chris,
It looks like the path to tiimage.exe is not resolving correctly, as you noticed. You said " STARTERWARE_TOOLS is defined as C:\ti\AM335X_StarterWare_02_00_00_06\tools". Where is this defined? It should be defined as a "build variable" and not a "linked resource path variable". Go into Project Properties->Build->Variables tab and check if you see it defined there. If it is set at a workspace level, you would need to check the box "Show system variables" to see it. If it is not defined here, you need to add it as a new variable here first and then use it in the post build step.