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.

C6Flo installed with CCS4 "unknown option: --generateOnly"

Other Parts Discussed in Thread: CCSTUDIO

I recently downloaded the C6Flo graphical development environment and Code Composer Studio v4. I installed both of them successfully. Code Composer Studio connected to my evaluation board, loaded the application and executed. I tried to build the C6747AudioFilter example. The following text is shown in the Output window of C6Flo (1.88 build 4). Thanks.

C:\Program Files\Texas Instruments\C6Flo_1.02\c6_app_writer.exe -ini="C:\Program Files\Texas Instruments\C6Flo_1.02\Temp\last_app.ini" -c6flo="C:\Program Files\Texas Instruments\C6Flo_1.02" -app="C:\CCStudio_v3.1\C6Flo_1.02\Examples\C6747AudioFilterV2" -xdc="C:/ccsv4/xdctools_3_16_02_32" -cgt="C:\Program Files\Texas Instruments" -v

[App Writer] (23:09:46.329): Writing codegen helpers...

[App Writer] (23:09:46.360): Using non-standard buffer alignment in thread0 due to block requirement(s).

[App Writer] (23:09:46.391): Generating CFG file...

[App Writer] (23:09:46.407): Running xdc.tools.configuro...

[App Writer] (23:09:46.423): C:/ccsv4/xdctools_3_16_02_32/xs xdc.tools.configuro -t ti.targets.C64P -c "C:/Program Files/Texas Instruments/" -x ".*" --generationOnly "./AppWriterTemp/c6747_audio_app.cfg"

[XDC Error] (23:09:48.001): xdc.tools.configuro: unknown option: --generationOnly

[XDC Error] (23:09:48.016): Usage: xs xdc.tools.configuro [--help]

[XDC Error] (23:09:48.016): [-v]

[XDC Error] (23:09:48.032): [-@ optionsfile]

[XDC Error] (23:09:48.032): [-o outdir]

[XDC Error] (23:09:48.048): [-b config_bld | -c codegen_dir | --cb]

[XDC Error] (23:09:48.048): [-t target] [-p platform[:instance]] [-r profile]

[XDC Error] (23:09:48.063): [-Dname=value]

[XDC Error] (23:09:48.063): [-w | -x regexp]

[XDC Error] (23:09:48.079): [--rtsName pkg_name]

[XDC Error] (23:09:48.079): [--cfgArgs args_string]

[XDC Error] (23:09:48.094): [--linkTemplate linker_template]

[XDC Error] (23:09:48.094): [--tcf] [--bios5] [--pkg]

[XDC Error] (23:09:48.094): [--compileOptions compile_options_string]

[XDC Error] (23:09:48.110): [--oc compiler.opt] [--ol linker.cmd]

[XDC Error] (23:09:48.110): infile.cfg

[App Writer] (23:09:48.126): Application write failed! Encountered exception:

XDC build error

[App Writer] (23:09:48.126): Closed after 1.83 seconds.

  • The file README.txt clearly states the prerequisites for C6Flo. I used the CCS v4 update tool and the code gen tools were updated to 6.1.6 but the XDC tools remained at version 3.16.2.32.

    The update to the XDC Tools 3.20 can be found at the TI link:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/index.html

    I selected XDCtools version 3.20 and then I used C6Flo to build the C6747AudioFilter example. The following text is shown in the Output window of C6Flo

    C:\Program Files\Texas Instruments\C6Flo_1.02\c6_app_writer.exe -ini="C:\Program Files\Texas Instruments\C6Flo_1.02\Temp\last_app.ini" -c6flo="C:\Program Files\Texas Instruments\C6Flo_1.02" -app="C:\CCStudio_v3.1\C6Flo_1.02\Examples\C6747AudioFilterV2" -xdc="C:/ccsv4/xdctools_3_20_01_51" -cgt="C:\ccsv4\ccsv4\tools\compiler\c6000\bin" -v

    [App Writer] (00:38:51.859): Writing codegen helpers...

    [App Writer] (00:38:51.906): Using non-standard buffer alignment in thread0 due to block requirement(s).

    [App Writer] (00:38:51.921): Generating CFG file...

    [App Writer] (00:38:51.953): Running xdc.tools.configuro...

    [App Writer] (00:38:51.953): C:/ccsv4/xdctools_3_20_01_51/xs xdc.tools.configuro -t ti.targets.C64P -c "C:/ccsv4/ccsv4/tools/compiler/c6000/bin/" -x ".*" --generationOnly "./AppWriterTemp/c6747_audio_app.cfg"

    [XDC Build] (00:38:54.625): configuring c6747_audio_app.x64P from package/cfg/c6747_audio_app_x64P.cfg ...

    [XDC Build] (00:38:58.593): Code generation complete! Wrote code to C:/CCStudio_v3.1/C6Flo_1.02/Examples/C6747AudioFilterV2/c6747_audio_app/

    [App Writer] (00:39:00.406): Copying resource files...

    [App Writer] (00:39:00.578): Writing linker command file...

    [App Writer] (00:39:00.593): Successfully wrote application to folder C:\CCStudio_v3.1\C6Flo_1.02\Examples\C6747AudioFilterV2.

    [App Writer] (00:39:00.593): Closed after 8.77 seconds.

     

  • Robert,

    My reply seems have disappeared, so I'll repost:

    That's correct; the --generationOnly option was added to the "configuro" tool in XDC Tools release 3.20.xx.  The issue you originally reported will appear if an older version is used.

    Thanks for pointing out that CCS4 auto update is not (or was not) yet pulling in the 3.20 release.