DSPRelated.com
Forums

RTDX_read symbol referencing error

Started by Chee Hoe February 27, 2008
Hi, sorry for the repost i forgot to paste the error message. I'm usng
ccs 2.2. Can anyone help me please. Thank you.

#include "rtdx_vbloopcfg.h"
#include "dsk6416_aic23.h" //codec-DSK support file
#include
#include "target.h"
Uint32 fs=DSK6416_AIC23_FREQ_48KHZ; //set sampling rate
int gain = 1;

RTDX_CreateInputChannel(control_channel);

interrupt void c_int11() //interrupt service routine
{
short sample_data;

sample_data = input_sample(); //input data
output_sample(gain*sample_data); //output data
return;
}

void main()
{
comm_intr(); //init DSK, codec, McBSP
TARGET_INITIALIZE();
RTDX_enableInput(&control_channel);

while(1) //infinite loop
{
if(!RTDX_channelBusy(&control_channel))
RTDX_readNB(&control_channel, &gain, sizeof(gain));
}
}
undefined first referenced
symbol in file
--------- ----------------
_RTDX_readNB
D:\DATA\FYP\02\Loop_intr\Debug\Loop_intr.obj
>> error: symbol referencing errors - './Debug/loop_intr.out' not built

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Chee Hoe,

The following URL contains an example (cluttered with other activity) of how to use the
RTDX_readNB() function.

courses.ece.uiuc.edu/ece445/projects/spring2001/project13_file2.doc

R. Williams
---------- Original Message -----------
From: "Chee Hoe"
To: c...
Sent: Wed, 27 Feb 2008 06:21:21 -0000
Subject: [c6x] RTDX_read symbol referencing error

> Hi, sorry for the repost i forgot to paste the error message. I'm usng
> ccs 2.2. Can anyone help me please. Thank you.
>
> #include "rtdx_vbloopcfg.h"
> #include "dsk6416_aic23.h" //codec-DSK support file
> #include
> #include "target.h"
> Uint32 fs=DSK6416_AIC23_FREQ_48KHZ; //set sampling rate
> int gain = 1;
>
> RTDX_CreateInputChannel(control_channel);
>
> interrupt void c_int11() //interrupt service routine
> {
> short sample_data;
>
> sample_data = input_sample(); //input data
> output_sample(gain*sample_data); //output data
> return;
> }
>
> void main()
> {
> comm_intr(); //init DSK, codec, McBSP
> TARGET_INITIALIZE();
> RTDX_enableInput(&control_channel);
>
> while(1) //infinite loop
> {
> if(!RTDX_channelBusy(&control_channel))
> RTDX_readNB(&control_channel, &gain, sizeof(gain));
> }
> }
>
> undefined first referenced
> symbol in file
> --------- ----------------
> _RTDX_readNB
> D:\DATA\FYP\02\Loop_intr\Debug\Loop_intr.obj
> >> error: symbol referencing errors - './Debug/loop_intr.out' not built
------- End of Original Message -------

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467