This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ccs linking error as an undefined symbol related to SAA7115 decoder using DM642 EVM

Other Parts Discussed in Thread: CCSTUDIO

Hi all,
I am using a DM642 EVM board via XDS USB emulator for image capturing and the software is used by Simulink. When compiling for the TI board by CCS, there is a linking error as an undefined symbol related to the decoder SAA7115 which is shown as
--------------------------------------------------------------------------------------------------------------------

[Linking...] "C:\ccstudio\C6000\cgtools\bin\cl6x" -@"CustomMW.lkf"

<Linking>

 undefined  symbol                        first referenced in file

_SAA7115_Fxns                    C:\\Program Files\\MATLAB\\R2008a\\work\\All2010asvprogram\\ImageCapturing\\Buoy_simpleDetection_ccslink\\CustomMW\\dm642_video_globals.obj

>>   error: symbol referencing errors - 'Buoy_simpleDetection.out' not built

>> Compilation failure
--------------------------------------------------------------------------------------------------------------------
 
Actually, there was no file for saa7115.h/a then I added it in C:/ccstudio/boards/evmdm642/include
but the error has kept and I don't know where the error comes.
Before putting the file, the error was "identifier "SAA7115_Fxns" is undefined"
Hardware connection and recognition are ok, although I am not sure that software are all equipped
How can I find the file where the symbol is? I need your help to fix this. Thank you very much for your help.
 
Don
  • Don,

    The error you described means that the function/variable SAA7115_Fxns is not being found by the linker. This must be in either a source file or a library that is missing from your project. Unfortunately I don't know the code generated by the Simulink in detail, but it seems the source file <evmdm642_vcapparamsNTSC_EMBEDDED.asm> contains a definition for this symbol.

    This file is included in the installation directory of the DM642 software, typically located at:

    C:\CCStudio_v3.3\boards\evmdm642\examples\video\scaling

    Hope this helps,

    Rafael