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/PROCESSOR-SDK-AM335X: Updating to CCS 10

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hello,

I am investigating updating to CCS 10.

As typical, everything I try fails.  And every time someone tells me "You're using old stuff, you need to update it..."  I have to bite my tongue.

Before taking on a massive project with an install base of hundreds of thousands of devices, and thousands of source code files, I tried a small sample project which is build with:

  • TI Compiler 17.3
  • XDC 3.2.25
  • SYSBIOS 6.46.5.55

I had to re-discover the packages when I installed CCS 10.  But it builds...

Next, try to update them.

First I updated to XDC 3.61.2.27 and it complained:

xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. 
Please either use XDCtools compatible with that package, or update 
the product containing that package, or rebuild the package with XDCtools 3.50 or later.

HUH??   Last time I checked 3.61 is greater than 3.2.25.

Anyway, I then went on a hunt to download the newest SYSBIOS. 

I tried loading it via the "products" pages in CCS, but all it wants to do is sell me new stuff.  Or give me TIVA packages, or AM335x PDK...  Nothing about installing a news SYSBIOS.  So I just had to go do a web search.   (Which was well hidden...  every link took me to the Processor PDK  NOT THE SAME THING)

I downloaded and installed that, make sure CCS saw it, and changed the project settings to 

  • TI Compiler 17.3
  • XDC 3.61.2.27
  • SYSBIOS 6.83.0.18

Now it tells me:

js: "./config.bld", line 10: Error: Can't find the target named 'ti.targets.arm.elf.A8Fnv' along the path 
'C:/ti/bios_6_83_00_18/packages;C:/ti/ccs1011/ccs/ccs_base;
 C:/ti/ccs1011/xdctools_3_61_02_27_core/packages;..;': 
please check the spelling of the target's name and that it exists along this path.

Well, that's the same "target name" I've been using before.

So why is this so difficult???

What's it take to make this work?

  • And...

    I attempted to just create an empty new project. Maybe, just maybe, I can figure out what the "wizard" does behind my back and be able to mimic it...

    It won't let me, until I select a "Platform".

    And the dropdown of platforms is empty.

    So it's broken...  and I can't find anything on it.  Where exactly is any of this documented?  

    Because all those "examples" I'm told to use just pull in someone else's code, and if your lucky it instructs you how to an API call.

    So what are these "platforms"  (yes, I know they are supposed to represent the silicon), why is this empty, and how do I install these mystery files that will allow this to work??

  • Hi Chris,

    Christopher Weber said:
    Well, that's the same "target name" I've been using before.

    Please see this e2e post on this topic: https://e2e.ti.com/support/processors/f/791/p/887584/3283197#3283197

    To use the GCC target, set "XDCtools settings", Target to gnu.targets.arm.A8F.

    Christopher Weber said:
    What's it take to make this work?

    I suggest using the software versions packaged with a PRSDK release since these versions have been tested together.

    The software versions in a PRSDK release can be obtained from the release manifest, e.g. https://software-dl.ti.com/processor-sdk-rtos/esd/AM335X/06_03_00_106/exports/Processor-SDK_RTOS_AM335X_Manifest.html

    SYSBIOS dependencies are also mentioned in the SYSBIOS release notes, please see the "Dependencies" section of the release notes in the installation root folder.

    Regards,
    Frank

  • HI Chris,

    Christopher Weber said:

    It won't let me, until I select a "Platform".

    And the dropdown of platforms is empty.

    So it's broken...  and I can't find anything on it.  Where exactly is any of this documented?  

    Platforms are discussed in the SYSBIOS User's Guide. Please see the following sections in <BIOS>\bios_6_76_03_01\docs\Bios_User_Guide.pdf

    • 7.2.1 Choosing an Available Platform
    • 7.2.2 Creating a Custom Platform

    Christopher Weber said:

    So what are these "platforms"  (yes, I know they are supposed to represent the silicon), why is this empty, and how do I install these mystery files that will allow this to work??

    I was able to get the dropdown list to populate by the hard-coded drive path for <BIOS>\packages to the "XDCpath Package Repositories"

    • Click Add
    • Select "Specify a repository"
    • Add path to entry field, e.g. R:\bios_6_76_03_01\packages

    This is described in Section 7.2.1 Choosing an Available Platform:

    Select the packages repository in your SYS/BIOS installation (that is, your <bios_install_dir>\packages directory)

    The platform packages are contained in sub-folders in <BIOS>\packages\ti\platforms.

    I hope this helps.

    Regards,
    Frank

  • Frank Livingston said:

    The software versions in a PRSDK release can be obtained from the release manifest, e.g. https://software-dl.ti.com/processor-sdk-rtos/esd/AM335X/06_03_00_106/exports/Processor-SDK_RTOS_AM335X_Manifest.html

    SYSBIOS dependencies are also mentioned in the SYSBIOS release notes, please see the "Dependencies" section of the release notes in the installation root folder.

    Regards,
    Frank

    So you are telling me NOT to get the latest version from any of these download sites?  Because information is so spread around and inconsistent that one is left with the idea that you can only go search for the latest and grab it.  (There are 3 XDC tool versions that are newer than what the manifest has, and I can't even retrace my search steps to find the SYSBIOS list where I download the newest one)

    The "Manifest" doesn't have links, so someone is left with having to just go searching for those versions.

    I have 5 different XDC tools installed, none of which I installed on my own. They came with other installs, over the past 3+ years, I couldn't even tell you which "installer" injected some version on my machine.

    This link:

    www.ti.com/.../SYSBIOS

    Contains a link to "To download TI RTOS for Sitara(TM) Processors and DSP"

    Which is a list of "Processor SDK..." versions...  No hint that it installs more than just the PDK.  It takes downloading the 3/4 GIG package to see that is contains 11 new versions of stuff (because that manifest isn't linked to from that page where to download the installer)

    I've been chewed out on this forum for now trying to find stuff myself.  Then chewed out for finding the wrong stuff.

    To download TI RTOS for Sitara(TM) Processors and DSP

  • Hi Chris,

    Christopher Weber said:
    So you are telling me NOT to get the latest version from any of these download sites?

    Yes, I think it's best to use the versions in the PRSDK release. 

    Christopher Weber said:
    Because information is so spread around and inconsistent that one is left with the idea that you can only go search for the latest and grab it.

    Understood, that's why I suggest using the versions mentioned in the PRSDK release, even if you only plan on using CCS, SYSBIOS, XDCTools, and the GCC compiler.

    Christopher Weber said:
    I've been chewed out on this forum for now trying to find stuff myself.  Then chewed out for finding the wrong stuff.

    I understand your frustration, and thanks much for the feedback.

    I suggest searching for "ti am335x processor sdk". Hopefully this will provide this as the top search result: https://www.ti.com/tool/PROCESSOR-SDK-AM335X

    You can also get to this as follows:

    • www.ti.com
    • Click on "Design Resources"
    • Click on "Embedded software (SDKs)
    • Under "What SDKs do I need?", click on "Browse platforms"
    • Under "Processor SDKs", click on "Sitara processors"
    • In the table, click on "AM335x" in the "Processor SDK by family" column
    • In the table, click on "Get software" in the "Buy from Texas Instruments or Third Party" column for the "PROCESSOR-SDK-RTOS-AM335X" row.

    Regards,
    Frank

  • Frank Livingston said:

    Platforms are discussed in the SYSBIOS User's Guide. Please see the following sections in <BIOS>\bios_6_76_03_01\docs\Bios_User_Guide.pdf

    • 7.2.1 Choosing an Available Platform
    • 7.2.2 Creating a Custom Platform

    ...and it doesn't work...

    I'm still just trying to educate myself in the 1000's of pages of doc  (this one is over 250), in the hopes of decrypting this stuff.  I end up spending more time asking what's wrong than actually learning stuff.

    Like this, right out of chapter 7.1/7.2

    So given that there is no "tools" menu, I did manage to find this dialog box.  Naturally it was empty, so I selected a "Platform Package Repository" in the same way I pick one for a project (IOW: select the folder of the BIOS)

    It's still blank.

    So... now what?

  • Nevermind...  Now it appeared after a few attempts.

  • Hi Chris,

    I'm glad to hear it's working. Like I said before, I'm only able to get it to work with an absolute, hard-coded path. I don't recall if I had to try more than once.

    Regards,
    Frank