Forums

why my dsp/bios program is always error?

Started by Unknown April 21, 2006
hello,everyone.how to use the dsp/bios program eneironment.what i use
is the ti320c5410,the software is ccs3.0.when i try with the dsp/bios,
i first creat a new project;
then i creat a new configration .
after that i creat a new main program with the c.
in the end i add my .cdb file and .cmd file to the project,and built
them all,
but i find there always are errors.
the main program follows:
#include <std.h>
#include <stdarg.h>
#include <bioa_audiocfg.h>

extern MCBSP_Config Mcbsp_cfg1;
extern MCBSP_Handle hMcbsp1;
Void main()
{
}
the error messages like this:
undeifned symbol :hMcbsp1.
what's wrong above?
please give me some suggestions or tips.thanks.

<sbs108@163.com> wrote in message 
news:1145666275.652445.154050@v46g2000cwv.googlegroups.com...
> hello,everyone.how to use the dsp/bios program eneironment.what i use > is the ti320c5410,the software is ccs3.0.when i try with the dsp/bios, > i first creat a new project; > then i creat a new configration . > after that i creat a new main program with the c. > in the end i add my .cdb file and .cmd file to the project,and built > them all, > but i find there always are errors. > the main program follows: > #include <std.h> > #include <stdarg.h> > #include <bioa_audiocfg.h> > > extern MCBSP_Config Mcbsp_cfg1; > extern MCBSP_Handle hMcbsp1; > Void main() > { > } > the error messages like this: > undeifned symbol :hMcbsp1. > what's wrong above? > please give me some suggestions or tips.thanks. >
Where are the typedefs MCBSP_Config and MCBSP_Handle defined? I'm not sure but it looks like the compiler doesn't understand MCBSP_Handle and is treating hMcbsp1 as a separate statement. Try replacing MCBSP_Handle with int. If that still fails, the problem is with MCBSP_Config... Best wishes, --Phil Martel
thanks for your suggestion.Now i have found the where the error is
.When doing the configration ,i forgot to allocate my inserted Mcbsp0
to the resorce MCBSP0.After checking that, i find it works well.thank
you for you help ,Philip