Hi Aditya,
The error is caused by the missing of linker cmd file.
I attach a simple cmd file here and copy it to your project directory and rebuild again.
BTW, you said you have used the "IBL NAND boot on image 0" mode, which is not the suitable mode if you aim to develop and debug by the means of XDS560 emulatior. Refer the EVM hardward guide you mentioned and switch the EVM to NO BOOT mode.
Allen
6278.linker.rar
Please press the "Verify Answer" button if you think the post is helpful to your question.Thanks.
hello
Can i use this cmd file for EVMc6670L ?
Regards;
Hi Allen,
Thanks a lot for the reply. Used the linker file and switched to No boot mode (as mentioned on http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup) ...however, I was now getting a new error :
C66xx_0:File Loader : Data verification failed at address 0x81000000 Please verify target memory and memory map.
C66xx_0:GEL:File:D:\Documents and Settings\...\workspace\hello_world\Debug\hello_world.out : a data verification error occurred, file load failed.
Interestingly, when I switched back to "IBL NAND boot on image 0" and power-cycled the board .... the debug session worked fine and I got the "hello world" output !! (only glitch was a message saying : Can't find a source file at "/sim/sds12/scratch/tsuch_rtsbuild_dflcmp2507.dal.design.ti.com_23248_linux/c60_rts/./exit.c" Locate the file or edit the source lookup path to include its location." , which according to http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/101743.aspx can be ignored).
What am I missing here?
Thanks,
Aditya
In NO BOOT mode, you should specify the GEL file for the Target Configuration. Refer the following screenshot and add the GEL for every core.
The original GEL file is located in C:\Texas Instruments\ccsv5\ccs_base_5.0.3.00023\emulation\boards\evmc6678l\gel.
The GEL is focus on system initialization, including the DDR3 configuration, so if you didn't include it in the Target Configuration, the DDR3 will be inavailable. And in IBL boot mode, these works will be done by the bootloader, so you can use the DDR3 directly.
The message can be ignored since it means the program has reach the exit point normally.
Thanks a lot again for the detailed explanation and the screenshot !! Worked perfectly :)