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.

problem converting tcf to cfg while migrating from dsp/bios to sys/bios

Other Parts Discussed in Thread: SYSBIOS

I am using a C6748 processor and running dsp/bios version 5.42.1.09 (I am using CCS 5.5.0.00077).  I am trying to migrate from DSP/bios to sys/bios.  I read the SPRAAS7g document on how to convert the tcf to cfg.  I get errors when I run the xs conversion tool.  I use the following command and I get the following error:

  • What error are you getting ?
    Can you please post it ?
  • I'm sorry, my attachment did not work. The text is below:
    C:\Data\Code\SourceSafe\ASP\DSP_Code\ASP_DSP_CCS_V5_no_evm_sysbios>c:\ti\xdctool
    s_3_25_03_72\xs --xp "C:\ti\bios_6_35_04_50\packages" ti.bios.conversion Conf
    iguration_6748.tcf
    TypeError: Cannot call property oldLoadPlat in object [object Object]. It is not
    a function, it is "undefined".
    js: "C:/ti/bios_6_35_04_50/packages/ti/bios/conversion/Main.xs", line 91: Error:
    ti.bios.conversion: ReferenceError: "prog" is not defined.

    my .tcf is below:
    utils.loadPlatform("ti.platforms.evm6748");

    /* The following DSP/BIOS Features are enabled. */
    bios.enableRealTimeAnalysis(prog);
    bios.enableRtdx(prog);
    bios.enableTskManager(prog);

    bios.MEM.STACKSIZE = 0x1000;
    bios.MEM.STACKSIZE = 0x8000;
    bios.MEM.STACKSIZE = 0xc000;
    bios.MEM.STACKSIZE = 0xa000;
    bios.MEM.STACKSIZE = 0x9000;
    bios.MEM.STACKSIZE = 0x8000;
    bios.MEM.NOMEMORYHEAPS = 0;
    bios.MEM.instance("CACHE_L1D").space = "data";
    bios.MEM.instance("CACHE_L1D").createHeap = 1;
    bios.MEM.NOMEMORYHEAPS = 1;
    bios.MEM.STACKSIZE = 0xa000;
    bios.MEM.NOMEMORYHEAPS = 0;
    bios.MEM.instance("IRAM").createHeap = 1;
    bios.MEM.NOMEMORYHEAPS = 1;
    bios.MEM.STACKSIZE = 0xf000;
    bios.MEM.STACKSIZE = 0x8000;
    bios.MEM.STACKSIZE = 0x7000;
    bios.ECM.ENABLE = 1;
    bios.ECM.instance("EVENT65").fxn = prog.extern("DDCISR");
    bios.ECM.instance("EVENT61").fxn = prog.extern("UTL_halt");
    bios.ECM.instance("EVENT69").fxn = prog.extern("UTL_halt");
    bios.ECM.ENABLE = 0;
    bios.HWI.instance("HWI_INT8").interruptSelectNumber = 75;
    bios.HWI.instance("HWI_INT8").fxn = prog.extern("errorISR");
    bios.HWI.instance("HWI_INT8").useDispatcher = 1;
    bios.HWI.instance("HWI_INT4").interruptSelectNumber = 94;
    bios.HWI.instance("HWI_INT4").fxn = prog.extern("UPP_ISR");
    bios.HWI.instance("HWI_INT4").useDispatcher = 1;
    bios.HWI.instance("HWI_INT5").fxn = prog.extern("DDC_ISR");
    bios.HWI.instance("HWI_INT5").interruptSelectNumber = 65;
    bios.HWI.instance("HWI_INT5").useDispatcher = 1;
    bios.MBX.create("DT_MBX");
    bios.MBX.instance("DT_MBX").length = 10;
    bios.MBX.instance("DT_MBX").comment = "Used to inform data transfer of a uPP interrupt";
    // !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!

    prog.gen();