This is a continuation of my thread from yesterday (//e2e.ti.com/support/embedded/tirtos/f/355/p/413808/1486169) which somehow had all the 21 replies removed except for the last one. So it is useless now. I'm converting my working DSP/BIOS v5.42 project to SYS/BIOS v6.41.02.41 using the xs tool and following syntax listed in TI app note: SPRAAS7G, titled "Migrating a DSP/BIOS 5 Application to SYS/BIOS 6", Page-6, Sec: 2.1, Conversion Tool Syntax. I first had trouble with an environment variable for Java, but that's fixed now and the Java being used is v7, located in: C:\ti\ccsv6\eclipse\jre. I get an error that I can't understand too well. Here is the command line text and the xs output:
C:\ti\xdctools_3_31_00_24_core>xs --xp "C:\ti\bios_6_41_02_41\packages" ti.bios.conversion -c SingenX05-3b_RTOS.cfg --pr C:\ti\xdctools_3_31_00_24_core\SingenX05 --pn SingenX05-3b_RTOS SingenX05-3b_RTOS.tcf
TypeError: Cannot call property oldLoadPlat in object [object Object]. It is not a function, it is "undefined".
js: "./packages/xdc/tools/Cmdr.xs", line 51: Error: ti.bios.conversion: ReferenceError: "prog" is not defined.
"C:/ti/bios_6_41_02_41/packages/ti/bios/conversion/Main.xs", line 91
"./packages/xdc/tools/ICmd.xs", line 50
"./packages/xdc/xs.js", line 188
Here is a more detailed output of xs, using the --d -dxdc.traceEnable="all" command, in case that helps"
C:\ti\xdctools_3_31_00_24_core>xs --d -Dxdc.traceEnable="all" --xp "C:\ti\bios_6_41_02_41\packages" ti.bi
os.conversion -c SingenX05-3b_RTOS.cfg --pn SingenX05-3b_RTOS SingenX05-3b_RTOS.tcf
TC - 0: TCF_create('', 0x18feb4, 0x18fefc)
TC - 0: getClassPath(0x18e950, 0x406010, 0x407d78)
TC - 0: findFile(js.jar, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\js.jar ...
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\js.jar ...
TC - 0: found C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\js.jar
TC - 0: findFile(config.jar, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\config.jar ...
TC - 0: found C:\ti\xdctools_3_31_00_24_core\config.jar
TC - 0: findFile(antlr.jar, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\antlr.jar ...
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\antlr.jar ...
TC - 0: found C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\antlr.jar
TC - 0: default class path = C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\js.jar;C:\ti\xdctools
_3_31_00_24_core\config.jar;C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\antlr.jar;
TC - 0: findFile(jre\bin\java.exe, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\jre\bin\java.exe ...
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\jre\bin\java.exe ...
TC - 0: file 'jre\bin\java.exe' not found.
TC - 0: findFile(jre\bin\java, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\jre\bin\java ...
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\jre\bin\java ...
TC - 0: file 'jre\bin\java' not found.
TC - 0: findFile(bin\java.exe, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\bin\java.exe ...
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\bin\java.exe ...
TC - 0: file 'bin\java.exe' not found.
TC - 0: findFile(bin\java, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\bin\java ...
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\bin\java ...
TC - 0: file 'bin\java' not found.
TC - 0: XDCTOOLS_JAVA_HOME = C:\ti\ccsv6\eclipse\jre
TC - 0: findFile(jre\bin\client\jvm.dll, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\jre\bin\client\jvm.dll ...
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\jre\bin\client\jvm.dll ...
TC - 0: file 'jre\bin\client\jvm.dll' not found.
TC - 0: testing C:\ti\ccsv6\eclipse\jre\jre\bin\client\jvm.dll ...
TC - 0: findFile(bin\client\jvm.dll, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\bin\client\jvm.dll ...
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\bin\client\jvm.dll ...
TC - 0: file 'bin\client\jvm.dll' not found.
TC - 0: testing C:\ti\ccsv6\eclipse\jre\bin\client\jvm.dll ...
TC - 0: found C:\ti\ccsv6\eclipse\jre\bin\client\jvm.dll
TC - 0: createVM(0x58394c, C:\ti\ccsv6\eclipse\jre\bin\client\jvm.dll, 0x18fc5c)
TC - 0: JVM option[0] = -Xverify:none
TC - 0: JVM option[1] = -Dxdc.traceEnable=all
TC - 0: JVM option[2] = -DXDCPATH=C:\ti\bios_6_41_02_41\packages
TC - 0: JVM option[3] = -Dxdc.root=C:\ti\xdctools_3_31_00_24_core
TC - 0: JVM option[4] = -Djava.class.path=C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\js.jar;C
:\ti\xdctools_3_31_00_24_core\config.jar;C:\ti\xdctools_3_31_00_24_core\packages\xdc\shelf\java\antlr.jar
;
TC - 0: JVM option[5] = -Dconfig.rootDir=C:\ti\xdctools_3_31_00_24_core
TC - 0: JVM option[6] = -Dconfig.gopts=
TC - 0: JVM option[7] = vfprintf
TC - 0: JVM option[8] = exit
TC - 0: JVM option[9] = abort
TC - 0: getVMCreateFxn(0x58394c, C:\ti\ccsv6\eclipse\jre\bin\client\jvm.dll)
GD - 0: GLD_create(C:\ti\ccsv6\eclipse\jre\bin\client\jvm.dll)
GD - 0: GLD_getFxn(0x61580000, JNI_CreateJavaVM)
TC - 0: TCF_run(0x58394c, 0x7, 0x5825b8)
TC - 0: runJS(0x58394c, 0x7, 0x5825b8): config/Shell
TC - 0: mkArgs(0x58394c, 7, 0x5825b8)
TC - 0: findFile(tconfini.tcf, 0x407d78)
TC - 0: testing C:\ti\xdctools_3_31_00_24_core\tconfini.tcf ...
TC - 0: found C:\ti\xdctools_3_31_00_24_core\tconfini.tcf
TC - 0: JVM arg[0] = -f
TC - 0: JVM arg[1] = C:\ti\xdctools_3_31_00_24_core\tconfini.tcf
TC - 0: JVM arg[2] = C:\ti\xdctools_3_31_00_24_core/packages/xdc/xs.js
TC - 0: JVM arg[3] = ti.bios.conversion
TC - 0: JVM arg[4] = -c
TC - 0: JVM arg[5] = SingenX05-3b_RTOS.cfg
TC - 0: JVM arg[6] = --pn
TC - 0: JVM arg[7] = SingenX05-3b_RTOS
TC - 0: JVM arg[8] = SingenX05-3b_RTOS.tcf
TIME=01:40:12.912 PM -- xdc: loadPackage: xdc shell --> xdc (no dependency) (packageLoad, all)
TIME=01:40:12.917 PM -- xdc: loadPackage: xdc shell --> ti.bios.conversion (packageLoad, all)
TIME=01:40:12.924 PM -- xdc: loadPackage: ti.bios.conversion loaded from C:/ti/bios_6_41_02_41/packages/
(packageLoad, all)
TIME=01:40:12.938 PM -- xdc: loadPackage: ti.bios.conversion --> xdc (packageLoad, all)
TIME=01:40:12.941 PM -- xdc: loadPackage: ti.bios.conversion --> xdc.corevers (packageLoad, all)
TIME=01:40:12.948 PM -- xdc: loadPackage: ti.bios.conversion --> xdc.tools (packageLoad, all)
TIME=01:40:12.957 PM -- xdc: loadPackage: xdc.tools loaded from C:/ti/xdctools_3_31_00_24_core/packages/
(packageLoad, all)
TIME=01:40:12.971 PM -- xdc: loadPackage: xdc.tools --> xdc (packageLoad, all)
TIME=01:40:12.977 PM -- xdc: loadPackage: xdc.tools --> xdc.corevers (packageLoad, all)
TIME=01:40:13.038 PM -- xdc: loadPackage: xdc shell --> xdc.tools (no dependency) (packageLoad, all)
TypeError: Cannot call property oldLoadPlat in object [object Object]. It is not a function, it is "undef
ined".
js: "./packages/xdc/tools/Cmdr.xs", line 51: Error: ti.bios.conversion: ReferenceError: "prog" is not def
ined.
"C:/ti/bios_6_41_02_41/packages/ti/bios/conversion/Main.xs", line 91
"./packages/xdc/tools/ICmd.xs", line 50
"./packages/xdc/xs.js", line 188
TC - 0: returned from config/Shell.main (status = 1)
C:\ti\xdctools_3_31_00_24_core\xs: exit status: 1
TC - 0: TCF_delete(0x58394c)
GD - 0: GLD_delete(0x61580000)
TC - 0: TCF_exit(): (init count = 1)
I've tried looking at the source files and line numbers that the error is mentioning, but they don't seem to match up. I don't see oldLoadPlat nor do I see an object called [object Object] as the error msg states. For example, Cmdr.xs", line 51, opened in the location shown in the error msg contains: throw new Error(this.$private.cmdname, and a text search for oldLoadPlat or for object comes up empty.
Any help would be appreciated. Thanks.