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.

converting .out to .bin with hex470.exe results in serious ERROR

Dear all :

when i used hex470.exe to convert ubl.out to a .bin file with CCS3.3 , some error occured , the following is the print log :

hex470.exe D:\UBL\UBL2BIN.cmd -o=D:\UBL\UBL_DM368_NAND_IPNC.bin D:UBL\NAND\UBL_DM36x_NAND_IPNC.out
>> WARNING: invalid option:
            -o=D:\UBL\UBL_DM368_NAND_IPNC.bin
"D:\UBL\NAND\UBL_DM36x_NAND_IPNC.out", line 1:   ERROR:
         illegal input character: 0x7F
"D:UBL\NAND\UBL_DM36x_NAND_IPNC.out", line 1: WARNING:
         nested command file: ELF.out ignored
"D:\UBL\NAND\UBL_DM36x_NAND_IPNC.out", line 1:   ERROR:
         illegal input character: 0x01
"D:\UBL\NAND\UBL_DM36x_NAND_IPNC.out", line 1:   ERROR:
         illegal input character: 0x01
"D:\UBL\NAND\UBL_DM36x_NAND_IPNC.out", line 1:   ERROR:
         illegal input character: 0x01
>> FATAL ERROR: no input files (aborting)

 

 

can someone help me????????

  • After installing CG Tools v4.5.2,  we had to change the build options to compile and link in ELF format(Build Option --Compiler tab -> ABI(--abi)= ELF (abi). (See attached .jpg file for details).
    So I think the hex470.exe is not the latest one (from CG Tools v4.5.2)  and hence it does not recognize the .out in the ELF format.
    Therefore it gives the error saying unable to decode ELF header (0x7fELF0x01..) 
  • To built the UBL project with CCS v3.3, we use the Code Generation Tools version 4.5.2.
    To generate ARM executable .out file cl470.exe is used and to convert .out to .bin hex470.exe.
    The hex470.exe  comes with the CG Tools version 3.3.
    After installing CG Tools v4.5.2,  we had to change the build options to compile and link in ELF format(Build Option --Compiler tab -> ABI(--abi)= ELF (abi). (See attached .jpg file for details).
    So I think the hex470.exe is not the latest one (from CG Tools v4.5.2)  and hence it does not recognize the .out in the ELF format.
    Therefore it gives the error saying unable to decode ELF header (0x7fELF0x01..)