DSPRelated.com
Forums

Problem building CCS project using flash files.help needed

Started by ameesh July 1, 2008
I am currently working on burning my CCS program on to flash. According 
to Mr. Rulph Chassaing, this is done in the regular sequence( i.e. by
adding 
libraries,asm files, C files,linker file, and the header files).He then
says that 
we need to replace the  asm file and the command linker file with the
files    
   <vecs_int_flash.asm> and <c6713dsk_flash.cmd> respectively, after which

we are to build the project. It is at this point that i get the following
error 

in CCS:-------------->

[Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>

undefined                        first referenced
 symbol                              in file
---------                        ----------------
_c_int11                
E:\Matlab2006b\work\Distortion_c6000_rtw\obj\vecs_int_flash.obj
>> error: symbol referencing errors - 'Distortion.out' not built
>> Compilation failure
Build Complete, 2 Errors, 6 Warnings, 0 Remarks.\ If anyone knows what i can do about this eror and this _c_int11 variable, Pleeeeaaase help!! Any suggestions will be greatly appreciated!!!!!
On Jul 1, 12:31&#4294967295;pm, "ameesh" <ameer.ish...@gmail.com> wrote:
> I am currently working on burning my CCS program on to flash. According > to Mr. Rulph Chassaing, this is done in the regular sequence( i.e. by > adding > libraries,asm files, C files,linker file, and the header files).He then > says that > we need to replace the &#4294967295;asm file and the command linker file with the > files &#4294967295; &#4294967295; > &#4294967295; &#4294967295;<vecs_int_flash.asm> and <c6713dsk_flash.cmd> respectively, after which > > we are to build the project. It is at this point that i get the following > error > > in CCS:--------------> > > [Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf" > <Linking> > > undefined &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295;first referenced > &#4294967295;symbol &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295;in file > --------- &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295;---------------- > _c_int11 &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; > E:\Matlab2006b\work\Distortion_c6000_rtw\obj\vecs_int_flash.obj > > >> &#4294967295; error: symbol referencing errors - 'Distortion.out' not built > >> Compilation failure > > Build Complete, > &#4294967295; 2 Errors, 6 Warnings, 0 Remarks.\ > > If anyone knows what i can do about this eror and this &#4294967295;_c_int11 variable, > Pleeeeaaase help!! > &#4294967295; Any suggestions will be greatly appreciated!!!!!
Hello Ameesh, Are you using the first or the second edition of the book? In the second edition I've attempted to expand the explanation of how to put a program into flash memory. However, I think your problem is at an earlier stage - not specifically concerned with programming flash memory. You're encountering a problem compiling and linking the program that you intend to write to flash memory. _c_int11 is the name used throughout the book for an interrupt service routine function associated with interrupt INT11 and the codec via McBSP. It is 'hooked up' to INT11 in the vecs_int_flash.asm file. vecs_int_flash.asm essentially contains an interrupt vector table (here _c_int11 is given as the vector for INT11) and a short boot function. The function c_int11() should be defined in one of your source files. In the example given in the book it is defined in flash_sine.c. Are you trying the example as described in the book or have you written a different example in which you have not defined the function c_int11()? Hope this helps. Donald