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.

AM335x StarterWare build using CCSv5

Hello,

I am trying to develop some bringup code specific to my board using StaterWare for AM335x and CCSv5(installed in linux) . I am able to build the CCS projects inside Starterware and even debug using JTAG on the AM335x EVM.

The build using CCSv5 creates only one .out file. It is not creating the .bin and   *_ti.bin files which can be put in MMC card and loaded by the bootloader inside the StarterWare.

The build of CCS says :

/bin/sh: /opt/ti/ccsv5/utils/tiobj2bin/tiobj2bin.bat: No such file or directory
/bin/sh: ../../../../../../../tools/ti_image/tiimage.exe: Permission denied


The /opt/ti/ccsv5/utils folder does not contain tiobj2bin folder. Where can I get the tiobj2bin.bat file ?

Did something go wrong in CCSv5 installation ??

I have installed CCSv5 only for Sitara line of processors.

How do I prepare the .bin from .out ..... so that I do not require the JTAG to run the code.

Regards

Radhika

  • Radhika,

    In my windows install, I had to fix the CCS_UTIL_DIR path in the properties -> C/C== Build -> Environment to point to the CCS utild directory where the tiobj2bin directory was.

    On windows, the bin file generator used in the script has a problem with spaces in pathnames, so I had to modify the script to make it work.

    Hope this helps.

    Gerry B.

  • Hello Gerard,

                           Thanks for the reply.

    The CCSv5 which is installed in my Linux does not have tiobj2bin utility at all.

    /opt/ti/ccsv5/  does not have tiobj2bin.

    Where can I find this utility  ?

    Regards

    Radhika

  • Hey,

    to generate a *.bin you should use the post_build- script. if you use the ind_sdk it is in the tools- folder. maybee you must edit the path for the temporaryfile (with windows you must, don`t know how it is with linux)

    tiobj2bin is under windows in this path C:\ti\ccsv5\utils\tiobj2bin

  • 1. You should have installed "Stellaris Cortex ....." thing as one of target architecture to be equipped with tiobj2bin tool. 2. In the project properties dialog window, select Build then click Steps tab. See if the string in "Command:" has any of '.bat' or '.exe'. If so, remove those strings if you use Linux. (You should not remove it in Windows of course.)