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.

"prog" is not defined error in the conversion of tcf to cfg.

Other Parts Discussed in Thread: SYSBIOS

Hi,

My command to conversion is as:

D:\Workspace\Conversion>xs --xp "C:\ti\bios_6_35_01_29\packages" ti.bios.conversion -c out.cfg --pr "d:\Workspace\Conversion" --pn myplatform test.tcf

But the error occurs:

js: "C:/ti/bios_6_35_01_29/packages/ti/bios/conversion/Main.xs", line 91: Error:
ti.bios.conversion: ReferenceError: "prog" is not defined.

Attached is the test.tcf file. 

Where is the problem? Thanks.

Allen

7506.test.txt

  • Allen,
    What is the version of xdctools you are using? XDCtools 3.25 does not contain any DSP/BIOS support, which is needed for the conversion tool. Also, you are trying to convert a C64 configuration to SYS/BIOS, and that architecture is not supported by SYS/BIOS. If you are planning to upgrade to C64P for example, you may want to upgrade while still using DSP/BIOS. Then, when everything is working, try to convert. If you have to keep building for C64, you'll have to stay with DSP/BIOS.

  • Hi Sasha,

    You are correct, i am using XDCtools 3.25. After returning to 3.23, the conversion is done. 

    The target C64 is just an example, the actual target i will use is C674 which is supported by SYSBIOS.

    Thanks.

    Allen