Hi,
I am migrating a C6746 DSP/BIOS project from DSP/BIOS 5.3x to SYS/BIOS. The first step is to migrate to legacy BIOS. I am working according to migration guide spraas7h and I get error running configuro command. The problem is duplicate either from CCS6.1 or by command line.
The packages which I use are:
ccsv6/tools/compiler/c6000_7.4.8
bios_6_34_05_24
ipc_1_25_03_15
xdais_7_21_01_07
uia_1_03_00_02
The steps I follow:
1. I convert the BIOS tcf to cfg file from command line:
> C:\ti\xdctools_3_24_07_73\xs.exe --xp "c:\ti\bios_6_34_05_24\packages" ti.bios.conversion --pr ".\myRepository" --pn project6746_legacy -i project6746_legacy.tcf
2. I try to run the configuro command and I get the following error:
>>c:\ti\xdctools_3_24_07_73\xs.exe --xdcpath="c:/ti/xdctools_3_24_07_73/packages;c:/ti/bios_6_34_05_24/packages;c:/ti/ipc_1_25_03_15/packages;c:/ti/uia_1_03_00_02/packages;c:/ti/xdais_7_21_01_07/packages;C:/ti/bios_6_34_05_24/packages/ti/bios/include;./myRepository" xdc.tools.configuro -t ti.targets.C64P -p project6746_legacy -c "c:\ti\ccsv6\tools\compiler\c6000_7.4.8" project6746_legacy.cfg
making package.mak (because of package.bld) ...
configuring project6746_legacy.x64P from package/cfg/project6746_legacy_p64P.cfg ...
js: "C:/ti/bios_6_34_05_24/packages/ti/bios/tconf/package.xs", line 53: TypeError: Cannot set property "SYS" of undefined to "xdc.services.intern.xsr.Value$Obj@7109c4::ti.bios.SYS"
"D:/programs/CCS61_projects/udp6746_2/project6746_legacy.cfg", line 47
"./package/cfg/project6746_legacy_p64P.cfg", line 189
"./package/cfg/project6746_legacy_p64P.cfg", line 268
"./package/cfg/project6746_legacy_p64P.cfg", line 176
gmake.exe: *** [package/cfg/project6746_legacy_p64P.xdl] Error 1
js: "C:/ti/xdctools_3_24_07_73/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
The first lines from the project6746_legacy.cfg file are:
/*
........
*/
var mem_ext = [];
mem_ext[0] = {
comment: "64Mbytes of the DSP's off-chip memory",
name: "SDRAM",
base: 0xC0000000,
len: 0x04000000,
space: "code/data"
};
// Specify the L2 memory setting
var device_regs = {
l1PMode: "32k",
l1DMode: "16k",
l2Mode: "256k"
};
var params = {
clockRate: 300,
catalogName: "ti.catalog.c6000",
deviceName: "6746",
regs: device_regs,
// mem: mem_ext
};
//Customize generic platform with parameters specified above.
xdc.loadPackage('ti.bios.tconf');
//utils.loadPlatform("ti.platforms.evmOMAPL138");
// Now, we have BIOS loaded with everything switched off...
bios.enableFullBios( prog ); // switches on full BIOS, e.g. TSK manager etc.
// from now on, all BIOS objects are available in the java script context under the same name
utils.getProgObjs( prog ); //line 47
// GBL
bios.GBL.C64PLUSL2CFG = "256k";
bios.GBL.C64PLUSMAR128to159 = 0x00000000;
bios.GBL.C64PLUSMAR160to191 = 0x00000000;
bios.GBL.C64PLUSMAR192to223 = 0x000000FF;
bios.GBL.C64PLUSMAR224to255 = 0x00000000;
.....
The error is identical either running from command line or by running from CCS6.1 creating an rtsc project
Also, with the command with parameter -t ti.targets.C64P or -t ti.targets.C674