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.

tcf to cfg

I got the following output when converting mailbox.tcf to cfg file (spraas7g mailbox example):

Platform: ti.platforms.evmDM6437
        params.clockRate:594
        params.catalogName:ti.catalog
        params.deviceName:DM6437
Target: ti.targets.C64P
Clock Rate: 594
Illegal filename: null
js: "./packages/xdc/tools/Cmdr.xs", l
r: Cannot call method "readLine" of n
    "C:/Program Files/Texas Instrumen
ion/Main.xs", line 91
    "./packages/xdc/tools/ICmd.xs", l
    "./packages/xdc/xs.js", line 173

Besides, mailboxcfg.h file is not created.

XDCTool version: 3_22_01_21; 3_23_04_60; 3_25_03_72

bios: 6_32_02_39; 6_33_06_50; 6_35_04_50

None of them work. But for bios 6_33_06_50; 6_35_04_50, I got different errors.

  • Hi Cindy,

    Can you please post the command you are running to run the conversion tool?

    Steve

  • copy of the cmd window:

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    C:\Users\work>xs --xp "C:/Program Files/Texas Instruments/bios_6_32_02_39/packag
    es" ti.bios.conversion --pr "C:\myRepository" --pn mbx_evmDm6437 -i "C:\Users\wo
    rk\Desktop\mailbox\mailbox.tcf"
    Platform: ti.platforms.evmDM6437
            params.clockRate:594
            params.catalogName:ti.catalog.c6000
            params.deviceName:DM6437
    Target: ti.targets.C64P
    Clock Rate: 594
    Illegal filename: null
    js: "C:/Program Files/Texas Instruments/bios_6_32_02_39/packages/ti/bios/convers
    ion/Main.xs", line 91: Error: ti.bios.conversion: TypeError: Cannot call method
    "readLine" of null

    C:\Users\work>cd C:\Program Files\Texas Instruments\xdctools_3_22_01_21

    C:\Program Files\Texas Instruments\xdctools_3_22_01_21>xs --xp "C:/Program Files
    /Texas Instruments/bios_6_32_02_39/packages" ti.bios.conversion --pr "C:\myRepos
    itory" --pn mbx_evmDm6437 -i "C:\Users\work\Desktop\mailbox\mailbox.tcf"
    Platform: ti.platforms.evmDM6437
            params.clockRate:594
            params.catalogName:ti.catalog.c6000
            params.deviceName:DM6437
    Target: ti.targets.C64P
    Clock Rate: 594
    Illegal filename: null
    js: "./packages/xdc/tools/Cmdr.xs", line 51: Error: ti.bios.conversion: TypeErro
    r: Cannot call method "readLine" of null
        "C:/Program Files/Texas Instruments/bios_6_32_02_39/packages/ti/bios/convers
    ion/Main.xs", line 91
        "./packages/xdc/tools/ICmd.xs", line 50
        "./packages/xdc/xs.js", line 173

    C:\Program Files\Texas Instruments\xdctools_3_22_01_21>

  • Hi Cindy,

    What files do you have in your folder "C:\Users\work\Desktop\mailbox"?

    I see from your command above that the mailbox.tcf file is in that folder.  But, did you also copy the following files into that same folder?

    • evmDM6437_common.tci
    • mailbox.tci
    • mailbox_evmDM6437_custom.tci

    If these files are not there, where are they located?

    If they are there, could you try running the command from that folder?

    cd C:\Users\work\Desktop\mailbox

    Then, run the command like this:

    C:\Users\work\Desktop\mailbox>"C:\Program Files\Texas Instruments\xdctools_3_22_01_21\xs.exe" --xp "C:/Program Files/Texas Instruments/bios_6_32_02_39/packages" ti.bios.conversion --pr "C:\myRepository" --pn mbx_evmDm6437 -i mailbox.tcf

    I am suspecting that the *.tci files are not being found, resulting in those errors you are seeing.

    Steve