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.

System Analyser tutorial 1 does not build

Other Parts Discussed in Thread: SYSBIOS

Hi

I have a recent installation of CCS v6.0.1 with RTOS 2.0.1 and System Analyzer 1.3.1.08.

When I try to follow System Analyzer tutorial 1 I can't build it for the EVM C6748. I've tried importing example code, and creating a new CCS Project, but either way I get this error:

**** Build of configuration Debug for project uiaTutorial_1_EVMC6748 ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all

'Building file: ../systemAnalyzerTutorial1.cfg'

'Invoking: XDCtools'

"c:/ti/xdctools_3_30_03_47_core/xs" --xdcpath="c:/ti/uia_1_03_01_08/packages;c:/ti/bios_6_35_04_50/packages;c:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p xdc.platform.generic -r release -c "c:/ti/ccsv6/tools/compiler/c6000_7.4.11" --compileOptions "-g --optimize_with_debug" "../systemAnalyzerTutorial1.cfg"

making package.mak (because of package.bld) ...

js: "./config.bld", line 10: Error: Can't find the target named 'ti.targets.elf.C674' along the path 'C:/ti/uia_1_03_01_08/packages;C:/ti/bios_6_35_04_50/packages;C:/ti/ccsv6/ccs_base;c:/ti/xdctools_3_30_03_47_core/packages;..;': please check the spelling of the target's name and that it exists along this path.

xdctools_3_30_03_47_core\gmake.exe: *** No rule to make target `.configuro'. Stop.

js: "C:/ti/xdctools_3_30_03_47_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

gmake: *** [configPkg/linker.cmd] Error 1

gmake: Target `all' not remade because of errors.

I am following the instructions at http://processors.wiki.ti.com/index.php/System_Analyzer_Tutorials_(CCSv6), and also the instructions that come with the example project. It's very disappointing that something so simple doesn't just work right away. Especially disappointing as I recently had to get help to run the helloWorld example! (The fix there was to change the output format from COFF to ELF, but that doesn't work here.)

Please can you help me figure out what's gone wrong?

Thanks

Roy

  • Hi Roy,

    The problem is that you are using xdctools core, which has no targets, with an older version of BIOS.  You should use a newer version of BIOS, eg, 6.40, which has the ti.targets.elf.C674 target, with the version of xdctools_3_30_03_47_core.

    Best regards,

        Janet

  • I think there's a problem with the example template.  It mistakenly selects the latest version of BIOS which on your machine is 6.35.0x.   TI-RTOS internally includes SYS/BIOS support.   You should uncheck the BIOS box in your properties page.   See the yellow in this screen grab:

  • Thanks folks. You've probably noticed that this initial problem is duplicated here http://e2e.ti.com/support/embedded/tirtos/f/355/p/373426/1314407.aspx#1314407

    Karl,

    Yes, I've unchecked the sys/bios and that helped me move forward, thanks.

    Janet,

    I have two versions of xdc tools installed, the other being 3.25.03.72, which I'm not using. Maybe the confusion is arising because I have CCS 5.1 and 5.5 still installed. The only reason for keeping previous versions is that I have a feasibility program that I wrote still running in v5.5 and I wanted to be able to refer back to it while I'm starting work on a new project in v6. However, I don't have any previous released projects that need to be supported so I want to begin my first real project with all the latest tools.

    So I have bios 6.35.04.50 installed from earlier, but since I upgraded to CCS v 6 I also have tirtos_c6000 2.0.1.23, which contains bios 6.4.1.15 in a sub-folder. What do I need to do to ensure the project is using bios 6.4.1? Is it enough to do what Karl says and uncheck the earlier bios?

    Here's my RTSC properties :

    This gets rid of the original error, but still produces those timestamp warnings.

    Many thanks for your help.

    Roy

  • Hi Roy,

    To get rid of the Timestamp warnings, add this to your .cfg file:

    xdc.useModule('ti.sysbios.BIOS');

    Best regards,

        Janet

  • Yeah, I noticed that line is in the Hello World example, but not the tutorial1. So I've been using

    var BIOS = xdc.useModule('ti.sysbios.BIOS');

    Good to know. Thanks.

    Roy