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.

Error 'no schema file was found' when converting Tconf script to RTSC configuration script file

I have BIOS configuration file (.tcf) that created on BIOS v5.x. I want to convert this to RTSC file using XDC tool, so that I can use BIOS v6 and project that uses RTSC configuration file. I have CCS 4.2.3.00004. But I got error while running xs comand that says 'no schema file was found. I have .tcf and .tci file in the same folder and running xs command from DOS command window from the directory where .tcf and .tci files are exist. Following is the command used,

xs --xp= "%XDCROOT%" ti.bios.conversion -c hdrConfig.cfg --pr `C:/Temp/Myrepository' hdrbios.tcf

Please help me if anyone knows how to fix this problem. Thanks.

 

  • Sivakumar,
    the space between --xp= and %XDCROOT% is the most likely cause of the problem. Please remove it and let me know if that doesn't fix the problem.

  • No. It requires space according to document Bios_Legacy_App_Note.pdf(SPRAAS7E). Anyway I tried without space, it gives error that can't locate the package 'ti.bios.conversion' along the path 'C:\Program Files\Texas Instruments\xdctools_3_20_08_88;C:\Program Files\Texas Instruments\xdctools_3_20_08_88\packages;'. Ensure that package path is set correctly.

  • The package 'ti.bios.conversion' is found in a SYS/BIOS installation. Therefore, you have to add a path to SYS/BIOS packages to the package path defined in --xp option.
    Your command line should be:

    xs --xp="C:/Program Files/Texas Instruments/bios_6_31_04_27/packages" ti.bios.conversion ...

    No need to add XDCROOT to your package path because these packages are added automatically. The space between --xp and the path is needed if you don't have '='. You can't have both.

  • After I changing the command as you suggested and also added BIOS 5 path, I got RTSC configuration file. Now, I created new proejct (empty RTSC project) and used generated RTSC configuration file, compiled it and got following error,

    ==============================================================

    *** Build of configuration Debug for project hdr_system ****

     

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all 

    'Building file: ../Source/hdrConfig.cfg'

    'Invoking: XDCtools'

    "C:/Program Files/Texas Instruments/xdctools_3_20_08_88/xs" --xdcpath="C:/Program Files/Texas Instruments/ipc_1_22_03_23/packages;C:/Program Files/Texas Instruments/pspdrivers_02_00_01/packages;C:/Program Files/Texas Instruments/bios_6_31_04_27/packages;C:/Program Files/Texas Instruments/xdais_7_10_00_06/packages;C:/Program Files/Texas Instruments/xdais_7_10_00_06/examples;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C64P -p ti.platforms.evmDRA416 -r whole_program -c "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.2.2" "../Source/hdrConfig.cfg"

    configuring hdrConfig.pe64P from package/cfg/hdrConfig_pe64P.cfg ...

    js: "C:/Program Files/Texas Instruments/bios_6_31_04_27/packages/ti/bios/CLK.xs", line 86: TypeError: Cannot call method "lastIndexOf" of null

        "M:/DRA-4xx/J2/CCS_v4_2/DRH-416-V012-HDR-E-0.2.06/Obfs_Project/hdr_system/Source/hdrConfig.cfg", line 1

        "./package/cfg/hdrConfig_pe64P.cfg", line 754

        "./package/cfg/hdrConfig_pe64P.cfg", line 809

        "./package/cfg/hdrConfig_pe64P.cfg", line 741

    xdctools_3_20_08_88\gmake.exe: *** [package/cfg/hdrConfig_pe64P.xdl] Error 1

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

    gmake: *** [configPkg/compiler.opt] Error 1

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

    Build complete for project hdr_system

    ======================================================================================
    I don't know if I miss anything else.