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.

CCS/TMS320F28069: Convert .out file to .hex and .bin in CCS 8.2.0 Mac version

Part Number: TMS320F28069


Tool/software: Code Composer Studio

Hello, all:

I usually run the F28069 project under windows os environment on desktop.

And generate .hex and .bin with 'AppCode_COFF2BIN_F28069.bat' file.

The command in the batch file is as shown below:


------------------------------------------------------------------------------------------

" hex2000.exe AppCode_hex_F28069.cmd

FileIOShell.exe -i abc_F28069.hex -o abc_F28069.bin "

------------------------------------------------------------------------------------------

The command in AppCode_hex_F28069.cmd is as shown below:

------------------------------------------------------------------------------------------

"abc_F28069.out

-map abc_F28069_hex.map
-o abc_F28069.hex
-m
-memwidth 16
-image

ROMS
{
FLASH28069: origin = 0x3D8000, len = 0x1C000, romwidth = 16, fill = 0xFFFF
} "

------------------------------------------------------------------------------------------

For those required files (hex2000.exe / FileIOShell.exe / AppCode_hex_F28069.cmd / abc_F28069.out) are all located in Debug document inside project.

It works normally on CCS V6.1.3 (windows version) and can generate .hex and .bin successfully.

It also can work on CCS V6.2.0 (Mac version) originally.

But currently when I run the same project on the same MacBook and CCS environment, it can not generate .hex and .bin file.

Even after updating to CCS V8.2.0 (Mac version), it still doesn't work.

The error message is as shown below:

~/AppCode_COFF2BIN_F28069.bat"
makefile:284: recipe for target 'post-build' failed
~/AppCode_COFF2BIN_F28069.bat: line 1: hex2000.exe: command not found
~/AppCode_COFF2BIN_F28069.bat: line 2: 
: command not found
~/AppCode_COFF2BIN_F28069.bat: line 3: FileIOShell.exe: command not found
~/AppCode_COFF2BIN_F28069.bat: line 4:
: command not found
~/AppCode_COFF2BIN_F28069.bat: line 5: 
: command not found
gmake[1]: [post-build] Error 127 (ignored)

This problem got my stumped for few days.

Would you please help me to solve it?

Thanks~!