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.

tiobj2bin is missing

Expert 2280 points
Other Parts Discussed in Thread: AM1808

I'm using CCS with StarterWare on Windows, and projects building fails to create .bin files from .out ELF files because tiobj2bin is missing, both in CCSv5 and StarterWare 2.0.0.5 installation folders.

I've noticed this note in Getting Started page, "Windows TI TMS470 tool chain CCSv5:  1. Ensure that for converting the elf binaries to raw binary format, PATH environment variable is properly updated. Ex: C:\Program Files\Texas Instruments\ccsv5\utils\tiobj2bin", but I did not find this folder anywhere.

I've installed both in C:\ti but in C:\ti\ccsv5\utils\ I have only sub-folders bin and and cygwin.

The build command is looking for C:\ti\ccsv5\utils\tiobj2bin\tiobj2bin.bat and C:\ti\ccsv5\utils\tiobj2bin\mkhex4bin.exe, and of course do not find them.

Where I can get them?

In the meantime I've tried to build bin files with Linux. Bin are built easily with command "arm-none-eabi-objcopy -O binary file.out file.bin", but .out files I obtain with Windows are different from those obtained with Linux, and when I run objcopy on them the results are .bin files really bigger than Linux ones (megabytes vs kilobytes). How can it be?

I would like to use a single development platform, and I really really would prefer to use Linux one, but at the moment Starterware package is missing CCSv5 projects to build and debug examples under Linux/GCC environment. And they are really useful. Do you plan to release those projects for Linux/GCC env in the future?

Thanks. Best regards,

Max

  • Hi Max,

    What version of CCSv5 are you using? Are you using CCSv5.0.x instead of v5.1.x?

    Thanks

    ki

  • Hi Ki,

    No, I am using version 5.1.0.09000. I know that is not the version in Sitara development tools page (CCS-5.1.0.08031-Sitara). Is this the point?

    I've also an older CCSv4 installed and there there is the tiobj2bin folder with the two files.

    Let me know, please. Thanks. Regards,

    Max

  • i installed 5.1.0.09000, but  could see the toibj2bin file. But i too saw some posts where the user is not able to find some of the tools. Seems there is some inconsistent behavior.

  • What do you suggest? Re-run CCS 5.1.0.09000 installer? Remove 5.1.0.09000 and try to re-install? Remove it and install 5.1.0.08031?

    Regards,

    Max

  • Max - I assume you did a custom install. i wonder if you only get the utility if you pick certain components. Do you remember what options you chose for your install (device family, etc)?

    Thanks

    ki

  • Unfortunately I do not remember. I think I've followed CCSv5 Installation wiki page: I'm using it with AM1808 and AM335x (ARM9 and Cortex-A families), and USB XDS100v2 Emulator. Host PC is Windows 7.

    Looking at that page I see "For performance improvement, it is advisable to install only the device families needed. If needed, additional families can be installed later by re-running the installer". So, could I re-run the installer? Which is the package I need to select to add tiobj2bin?

    Thanks, regards

    Max

  • Nobody at TI knows which is the package?

    Hope this can help other customers with same problem: I have re-run CCS 5.1.0.09000 installer, adding "Stellaris Cortex M MCU". Not sure this detail is relevant. Of course I do not use Stellaris products. When the installer has finished, the tiobj2bin folder was magically there with its binaries inside.

    Regards, Max

  • I had the same issue with this  file missing.  I am also using Code Composer v5.1.0.0900 as well.

  • Andrew, did you try to re-run the installer as suggested in my previous post? Also try to add "Stellaris Cortex M MCU" support option when re-run it. For me that fixed the issue.

    Regards, Max

  • That problem was on my laptop.  My main desktop computer was fine due to my jump past that revision number.  I fixed the missing file problem on my laptop by installing the latest version of code composer over top of the existing install.   Everything is fine now.

  • Hi Max

    Your information was good.  I had the same problem with version 5.1.1.00031.

    I re-installed with the addition of the Stellaris option - it all magically appeared.

    Regards

    Chris

  • Hello

    I work with CCS 5.2.1.00018 and still ran into this issue. Thank you for finding this out. I had the installer open to look for packages like "Additional Tools" that I might try to install, but the idea of installing "Stellaris CPU" would not have crossed my mind so early I guess. Thanks again.

    -Albrecht