I'm having trouble building a project included in Chassaing's book. This project implements a BPSK modulator on the DSK, but when loading the program to the DSK
I have found there is no output, so I have tried to modifiy the code to include these lines:
#define DSK6713_AIC23_INPUT_MIC 0x0015
#define DSK6713_AIC23_INPUT_LINE 0x0011
Uint16 inputsource=DSK6713_AIC23_INPUT_MIC
but when debugging there are several problems, because the library search paths have to be modified using building options. So far I haven't been able to debug the modified code because even after including the search path it keeps showing this:
>> warning: Detected a near (.bss section relative) data reference to the symbol
_DSK6713_AIC23_codecdatahandle defined in section .far. The
reference occurs in
C:\CCStudio_v3.1\MyProjects\PSK\transmitter\Debug\c6713dskinit.obj,
section .text, SPC offset 00000074. Either make the symbol near
data by placing it in the .bss section, or make the references to
the symbol far. For C/C++ code use 'far' or 'near' modifiers on
the type definition of the symbol or compile with the
--mem_model:data switch.
I would like some help, because even after having changed the compiler option Memory Models: Far(--mem_model:data=far) It still won't work.