Hello ,
I was trying to execute the program provided in the TMS320C66x Literature Number: SPRUGY8 November 2010 DSP Cache.
page number 50 , Example 2-5 Changing L2 Cache Size Code. The CCS version is Version: 5.1.1.00031. The hardware used is TMDXEVM6678LE Rev 1.0
I created an empty project and just complied an hello world program .( in debug mode) It complied perfectly and then i copied the above mentioned program and just replaced the already existing code with the provided example.
I copied the linker command provided in the example and replaced the existing linker command file. Since the cmd file is derived , should i make these changes in the CFG file.
I have lot of complie errors.
I need to know what are the header files to be included.
there are certain #defines provided, like DAT_XFRID_WAITNONE, DAT_CHAANY, DAT_PRI_HIGH
what kind of header file i should use to enable these lines? DAT_open(DAT_CHAANY, DAT_PRI_HIGH,0);
#pragma DATA_SECTION(buffer_A, ”.external”). The compiler provides an error stated as below
#7 unrecognized token main.c /cache_test line 12 C/C++ Problem, #821 badly formed pragma main.c /cache_test line 12 C/C++ Problem
Also the identifiers like "ext_data_B", "local_var_A","N_DATA_B","N_STATE_A","state_A","Uint32" are not defined. Should we define this ourselves and if so what is the type qualifier we have to use?
My installation path is in C:\ti\.... and C:\Program Files\Texas Instruments.
Kindly guide me whether any inclusion of header files will solve all the above problems or should i do anything else, like setting some path in the CCS.
Thanks in advance.