When compiling flash_utils I get the following error message:
'hex470.exe' is not recognized as an internal or external command, operable program or batch file.
Where can I define the path to this file?
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.
When compiling flash_utils I get the following error message:
'hex470.exe' is not recognized as an internal or external command, operable program or batch file.
Where can I define the path to this file?
What are you compiling? Where did you get the code? What device is this for? How are you compiling said code? Please provide all of the details in order for someone to try to help you.
Hi Genadiy,
I don't have CCS4. I am using CCS3 but the directory structure should be similar. In my case the file "hex470.exe" is under the c:\CCStudio_v3.3\tms470\cgtools\bin.
Hope this helps.
Thanks,
Tai
I found the exe file. I would like to setup the environment so the the compiler (or whatever) would be able to find it. Under Windows->Preferences->C++->Managed Build, I edited the PATH variable to included that location which is C:\Texas Instruments\ccsv4\tools\compiler\TMS470 Code Generation Tools 4.6.4\bin.
It worked after that. However I have another problem now. I get an error message:
"../ubl2bin.cmd", line 3: error: invalid option: -zero
"../ubl2bin.cmd", line 4: error: expecting filename, option, MEMORY, or
SECTIONS instead of "8"
error: cannot find file "inkerfill"
ERROR: argument to option -f ("value") is out of range
I think I got it working.
1. I removed the ubl2bin.cmd from project tree (don't know how it got there :) as recommended here: http://e2e.ti.com/support/development_tools/compiler/f/343/t/65795.aspx
2. Had more errors: could not find the output .out file. So, I changed the output path in the project preferences to match the path in postBuildStep_DM355_216MHz.bat:
Project->Properties->C/C++ Build->Tool Settings (tab)->TMS470 Linker->Basic Options: Output file name was set to %PROJECT_ROOT%\UBL_DM355_NAND_216.out
In postBuild___.bat file, changed path to the output files as follows:
echo hex470.exe -o=%PROJECT_ROOT%\UBL_DM355_NAND_216.bin %PROJECT_ROOT%\UBL_DM355_NAND_216.out >> temp_postBuildStep_DM355_216MHz.bat