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/CC3200: Device CC3200MOD

Part Number: CC3200


Tool/software: Code Composer Studio

Hi, 

I have installed the Code composer studio 


Version: 9.1.0.00010 but this is giving below compilation error while building after cleaning the project.

Finished building target: "electronicRegister.out"

"C:/ti/ccs910/ccs/utils/tiobj2bin/tiobj2bin" "electronicRegister.out" "electronicRegister.bin" "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armofd" "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armhex" "C:/ti/ccs910/ccs/utils/tiobj2bin/mkhex4bin"
C:/ti/ccs910/ccs/utils/tiobj2bin/mkhex4bin failure occurred. Giving up.

Attempt to reload DynaLoader.pm aborted.
Compilation failed in require at C:/Perl/lib/XSLoader.pm line 96.
Compilation failed in require at C:/Perl/lib/IO/Handle.pm line 269.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/Handle.pm line 269.
Compilation failed in require at C:/Perl/lib/IO/Seekable.pm line 101.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/Seekable.pm line 101.
Compilation failed in require at C:/Perl/lib/IO/File.pm line 133.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/File.pm line 133.
Compilation failed in require at -e line 150.



Please help in this regard, the same setup file is installing in the laptop is building correctly.

Thanks & Regards

Shailendra Sen.

  • I can only give a partial explanation about what happened.  So I don't have fix that I know works.  I'll make two suggestions for you to try.

    The purpose of the tiobj2bin step is to create a binary .bin file from an executable .out file.  This ...

    shailendra sen said:
    "C:/ti/ccs910/ccs/utils/tiobj2bin/tiobj2bin"

    ... is a Windows batch file.  The full name is tiobj2bin.bat.  You can view it with a text editor.  It makes use of several other utilities. One of them is ...

    shailendra sen said:
    C:/ti/ccs910/ccs/utils/tiobj2bin/mkhex4bin

    ... which is a Windows executable.  The full name is mkhex4bin.exe.  The failure is that mkhex4bin doesn't start up correctly.  I've never seen these diagnostics, and I don't know the cause.

    I failed to reproduce the problem.  

    Here are two suggestions for ways to avoid the problem.  Unfortunately, I cannot guarantee either suggestion will work.

    Suggestion #1: Both tiobj2bin.bat and mkhex4bin.exe come from the cg_xml package.  Install the latest version and use the files that come from it.  In the commands that follow, I write install_cg_xml to represent the directory where you installed cg_xml.

    Install the latest version of cg_xml.  Make a copy of this directory ...

    C:\ti\ccs910\ccs\utils\tiobj2bin.

    Then copy the new files in with these commands

    • copy install_cg_xml\ofd\tiobj2bin.bat C:\ti\ccs910\ccs\utils\tiobj2bin
    • copy install_cg_xml\bin\mkhex4bin.exe C:\ti\ccs910\ccs\utils\tiobj2bin

    Suggestion #2: The executable mkhex4bin.exe makes use of the Windows temporary directory, which is usually in a location similar to

    C:\Users\your_ user_name\AppData\Local\Temp

    Empty out this temporary directory.

    If neither suggestion works, then I need some further information.  What version of Windows do you run?  Please zip up the file electronicRegister.out and attach it to your next post.

    Thanks and regards,

    -George

  • Did either of my suggestions work?

    Thanks and regards,

    -George

  • Since it has been a while, I presume you have resolved your problem.  I'd appreciate hearing how you resolved it.

    Thanks and regards,

    -George