Hi,
I am using CCSv4 for working with the EVM DM642.
I can successful run the provided .out example files, however I can't successfully build the examples provided. I have searched the forum and still can't get the examples to build.
Currently I've made a copy of vga.pjt to modded_vga.pjt, which was then imported into CCSv4.
I have added cslDM642.lib to the project directory and added it to video.cmd (i.e. -l cslDM642.lib), in addition to adding all the required include and file paths. I'm using sprc090 for CSL includes and CSL lib_3x.
I receive build errors relating to videocfg.cmd and undefined symbols as follows:
**** Build of configuration VGA_Loopback_1 for project vga_modded ****
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all
'Building target: vga_modded.out'
'Invoking: Linker'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6400 -g --define="_DEBUG" --define="CHIP_DM642" --define="_LOOPBACK" --define="_VGA" --define="_NTSC" --quiet --diag_warning=225 --abi=coffabi --obj_directory="C:/evmdm642/examples_RG/video/driver/VGA_LOOPBACK" -z -m"C:/evmdm642/examples_RG/video/driver/VGA_LOOPBACK/video_vga_loopback.map" --warn_sections -i"C:/evmdm642/C6000/bios/lib" -i"C:/evmdm642/C6xCSL/lib_3x" -i"C:/evmdm642/C6xCSL/include" -i"C:/evmdm642/C6000/rtdx/lib" -i"C:/evmdm642/C6000/rtdx/include" -i"C:/evmdm642/C6000/bios/include" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" -i"C:/evmdm642/examples_RG/video/driver/vga_modded" -i"C:/evmdm642/examples_RG/video/driver" -i"c:/CCSTUD~1.1/C6000/csl/lib" -i"C:/evmdm642/C6000/cgtools/lib" -i"C:/evmdm642/C6000/cgtools/include" -i"C:/evmdm642/evmdm642/lib" -i"C:/evmdm642/evmdm642/drivers/lib" --reread_libs --rom_model -o "vga_modded.out" "C:/evmdm642/examples_RG/video/driver/VGA_LOOPBACK/ycbcr422pl_to_rgb565_h.obj" "C:/evmdm642/examples_RG/video/driver/VGA_LOOPBACK/video_rgb.obj" "C:/evmdm642/examples_RG/video/driver/VGA_LOOPBACK/colorbarRGB.obj" "../cslDM642.lib" "C:/evmdm642/examples_RG/video/driver/video.cmd"
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 105: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 134: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 144: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 148: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 161: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 213: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 236: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 240: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 244: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 250: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 268: warning: no
matching section
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 278: warning: no
matching section
undefined first referenced
symbol in file
--------- ----------------
CLK_INTBIT C:/evmdm642/C6000/bios/lib/biosi.a64<clk.o64>
CLK_PRD C:/evmdm642/C6000/bios/lib/biosi.a64<clk.o64>
CLK_REGS C:/evmdm642/C6000/bios/lib/biosi.a64<clk.o64>
GBL_CACHE C:/evmdm642/C6000/bios/lib/biosi.a64<hwi.o64>
LOG_system C:/evmdm642/C6000/bios/lib/biosi.a64<biosdata.o64>
MEM_gNumHeap C:/evmdm642/C6000/bios/lib/biosi.a64<biosdata.o64>
PRD_SCALAR C:/evmdm642/C6000/bios/lib/biosi.a64<biosdata.o64>
PRD_SWIHANDLE C:/evmdm642/C6000/bios/lib/biosi.a64<biosdata.o64>
SYS$config C:/evmdm642/C6000/bios/lib/biosi.a64<biosdata.o64>
TRC_R_mask C:/evmdm642/C6000/bios/lib/biosi.a64<clk.o64>
TSK_idle$stkptr C:/evmdm642/C6000/bios/lib/biosi.a64<idl_stub_inst.o>
_BIOS_init C:/evmdm642/C6000/bios/lib/biosi.a64<autoinit.o64>
_BIOS_start C:/evmdm642/C6000/bios/lib/biosi.a64<boot.o64>
_EXTERNALHEAP C:/evmdm642/examples_RG/video/driver/VGA_LOOPBACK/video_rgb.obj
_MEM_memtab C:/evmdm642/C6000/bios/lib/biosi.a64<biosdata.o64>
_OBJ_table C:/evmdm642/C6000/bios/lib/biosi.a64<dev_matc_inst.o>
error: unresolved symbols remain
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 10: error: undefined
symbol "SDRAM" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 11: error: undefined
symbol "SDRAM" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 18: error: undefined
symbol "SDRAM" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 20: error: undefined
symbol "SDRAM" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 27: error: undefined
symbol "SDRAM" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 45: error: undefined
symbol "ISRAM" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 46: error: undefined
symbol "SDRAM" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 47: error: undefined
symbol "PRD_clock" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 48: error: undefined
symbol "RTA_fromHost" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 49: error: undefined
symbol "RTA_toHost" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 50: error: undefined
symbol "HWI_RESET" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 51: error: undefined
symbol "HWI_NMI" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 52: error: undefined
symbol "HWI_RESERVED0" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 53: error: undefined
symbol "HWI_RESERVED1" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 54: error: undefined
symbol "HWI_INT4" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 55: error: undefined
symbol "HWI_INT5" used in expression
>> Compilation failure
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 56: error: undefined
symbol "HWI_INT6" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 57: error: undefined
symbol "HWI_INT7" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 58: error: undefined
symbol "HWI_INT8" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 59: error: undefined
symbol "HWI_INT9" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 60: error: undefined
symbol "HWI_INT10" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 61: error: undefined
symbol "HWI_INT11" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 62: error: undefined
symbol "HWI_INT12" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 63: error: undefined
symbol "HWI_INT13" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 64: error: undefined
symbol "HWI_INT14" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 65: error: undefined
symbol "HWI_INT15" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 66: error: undefined
symbol "KNL_swi" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 67: error: undefined
symbol "tskLoopback" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 68: error: undefined
symbol "TSK_idle" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 69: error: undefined
symbol "RTA_dispatcher" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 70: error: undefined
symbol "IDL_cpuLoad" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 71: error: undefined
symbol "LNK_dataPump" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 72: error: undefined
symbol "LOG_system" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 73: error: undefined
symbol "trace" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 74: error: undefined
symbol "IDL_busyObj" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 91: error: undefined
symbol "GBL_CACHE" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 110: error: undefined
symbol "CLK_PRD" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 111: error: undefined
symbol "CLK_COUNTSPMS" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 112: error: undefined
symbol "CLK_REGS" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 113: error: undefined
symbol "CLK_USETIMER" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 114: error: undefined
symbol "CLK_TIMERNUM" used in expression
"C:/evmdm642/examples_RG/video/driver/videocfg.cmd", line 115: error: undefined
symbol "CLK_TDDR" used in expression
error: errors encountered during linking; "vga_modded.out" not built
gmake: *** [vga_modded.out] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project vga_modded
Any constructive input and help to solving this issue is welcome.