Hi, 

In my TCF file, default cach size is 32k, like:

prog.module("GBL").C64PLUSCONFIGURE = true ;
prog.module("GBL").C64PLUSL2CFG = "32k" ;
prog.module("GBL").C64PLUSL1DCFG = "32k" ;
prog.module("GBL").C64PLUSL1PCFG = "32k";
prog.module("GBL").C64PLUSMAR128to159 = 0xF8000000 ;

var IRAM = prog.module("MEM").instance("IRAM");
IRAM.len = IRAM.len - 0x08000;

But, when I want to changed L2 cache to be 16k, like:

prog.module("GBL").C64PLUSCONFIGURE = true ;
prog.module("GBL").C64PLUSL2CFG = "16k" ;
prog.module("GBL").C64PLUSL1DCFG = "32k" ;
prog.module("GBL").C64PLUSL1PCFG = "32k";
prog.module("GBL").C64PLUSMAR128to159 = 0xF8000000 ;

var IRAM = prog.module("MEM").instance("IRAM");
IRAM.len = IRAM.len - 0x04000;

The compiling is failed. It is said: 

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake -k all
'Building file: ../wmb_phy_dsp.tcf'
'Invoking: TConf Script Compiler'
"C:/Program Files (x86)/Texas Instruments/xdctools_3_22_01_21/tconf" -b -Dconfig.importPath="C:/Program Files (x86)/Texas Instruments/bios_5_41_10_36/packages;" "../wmb_phy_dsp.tcf"
("Error: ", self.name, $1)
==> "Unknown cache size"
js: Unknown cache size
gmake: *** [wmb_phy_dspcfg.cmd] Error 1

How to solve it?

The TCF I used is mainly copied from: dsplink-omap3530-base.tci

which is like: http://pastebin.com/ZwA1kQwY

Thanks  a lot!

Jianbin