Other Parts Discussed in Thread: SYSBIOS
Hi all,
I was using CCS 4.0 with C6472 EVM and using DSP/Bios 5.41.03.17 for accessing cache api's (BCACHE_setSize, BCACHE_wbInvAll, BCACHE_setMar) in and my binary was in Coff format.
Recently I migrated to CCS V4.2.0.09000 with cgtools 7.2.0B2 and sysbios 6.3.04.27 for generating binary in ELF format also.I understand from the bios user guide and getting started guide that i need to use rtsc package to access cache api's in elf/coff mode.
I managed to build binary in coff mode using config file created by rtsc wizard.
I changed build setting from legacy coff to eabi(elf)
When i tried to build my binary,i am getting error "error: --abi=eabi not supported when producing TI-COFF output files
fatal error: cannot continue with specified options; aborting"
But I couldn't figure out how to use the same config file for building my binary in elf. Below I've pasted the config file i am using
--------------------------------------------------------------------------------------------------------------------------
/*
* ======== Binary.cfg ========
*
*/
/*var System = xdc.useModule('xdc.runtime.System');*/
/*var SysStd = xdc.useModule('xdc.runtime.SysStd');*/
/* Configure SysStd to send System_printfs to standard out */
/*System.SupportProxy = SysStd;*/
/*var BIOS = xdc.useModule('ti.sysbios.BIOS');*/
/*var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');*/
/*var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');*/
/*
* The BIOS module will create the default heap for the system.
* Specify the size of this default heap.
*/
/*BIOS.heapSize = 0x2000;*/
/*var Task = xdc.useModule ("ti.sysbios.knl.Task");*/
var Cache = xdc.useModule('ti.sysbios.family.c64p.Cache');
Cache.initSize.l2Size = Cache.L2Size_64K;
-------------------------------------------------------------------------------------------------------------------------
Any help in building my binary would be appreciated.
Regards,
Swami