DSPRelated.com
Forums

The audio example and codec example work :)

Started by Itai Frenkel April 18, 2001
Hi all,
I've succeeded running both the codec and the audio example.
I would like to thank all the people CC'd to this email that helped me,
And also forward you to the link: http://elismile.hypermart.net/dsk5402.html

So here goes:
1) I've deleted from dss_aisr_5402_dsk.s54 all the BSP macros
2) Instead I've added the lines
RDRR .set 0x41 ; McBSP1 data receive register 1
RDXR .set 0x43 ; McBSP1 data transmit register 1
4) When loading the program I had 0xff80 verify error,
So I changed in audio_dsk.cdb (this should open the configuration manager)
Choose MEM then change
IPROG length to 0x1900
VECT base to 0x3900
5) Here are my board settings:
TMS320VC5402 DSK
DIP 1 On
DIP 2 On
DIP 3 On
DIP 4 On
DIP 5 Off
DIP 6 Off
DIP 7 On
DIP 8 On

JP1 (Connected, Closer to the Parallel Port)
JP2 (Connected, Closer to the Parallel Port)
JP3 (Connected, Closer to the Parallel Port) - Try changing this one. It
buffers the Speaker.
JP4 (Connected) - I'm from Israel (I think U.S users should not put it, but
I ain't sure)

6) I'am using Code Composer Studio Ver 1.21
Code Composer Setup is using the following driver:
tipp54x_dsk.dvr
revision: 04.00.04

7) Operating Systems: Windows 2000 (logged in as administrator)

8) Before running Code Composer Studio ,plug out the power cable from the dsk
and then plug it in again. This might also work. Warning: This might also cause
damage :)

9) Religion: Jewish (but I think that any other god will also do).

waiting for follow ups,

Itai Frenkel
DSP Assistant
Signal and Image Processing Lab
Technion - Israel Institute of Technology

__________________________________________________



Hi,
It was quite a while when I posted that email.
As far as I recall, the problem was that
RDRR and RDXR did not compile to the right numbers.
There were these macros that "figured out" by themselves the correct numbers.
When I removed these macros and added:
RDRR .set 0x41 ; McBSP1 data receive register 1
RDXR .set 0x43 ; McBSP1 data transmit register 1
it started to work.

Inorder to help you more, please send me a zip with the files and I'll
dig in, and see what I ment when I wrote that.
It is possible that TI already fixed this problem, in the version you are
running.

Does the program work, when you try and run it?

thnx,
Itai Frenkel

P.S.
I've CCed this mail to the c54x group, I hope you don't mind

--- wrote:
> Hi,
>
> Thanks for the tip.
>
> However, I have a question on this (this is very new for me .. just
> was assigned to this C5402 kit)
>
> 1) which portion of the dss_aisr_5402_dsk.s54 is the BSP macro ?
>
> I would just like to clarify on that matter.
>
> Hope to hear from you soon .
>
> Thanks
> Patrick Sebastian
> Universiti Teknologi PETRONAS > --- In c54x@y..., Itai Frenkel <itaifrenkel@y...> wrote:
> > Hi all,
> > I've succeeded running both the codec and the audio example.
> > I would like to thank all the people CC'd to this email that helped
> me,
> > And also forward you to the link:
> http://elismile.hypermart.net/dsk5402.html
> >
> > So here goes:
> > 1) I've deleted from dss_aisr_5402_dsk.s54 all the BSP macros
> > 2) Instead I've added the lines
> > RDRR .set 0x41 ; McBSP1 data receive register 1
> > RDXR .set 0x43 ; McBSP1 data transmit register 1
> > 4) When loading the program I had 0xff80 verify error,
> > So I changed in audio_dsk.cdb (this should open the
> configuration manager)
> > Choose MEM then change
> > IPROG length to 0x1900
> > VECT base to 0x3900
> > 5) Here are my board settings:
> > TMS320VC5402 DSK
> > DIP 1 On
> > DIP 2 On
> > DIP 3 On
> > DIP 4 On
> > DIP 5 Off
> > DIP 6 Off
> > DIP 7 On
> > DIP 8 On
> >
> > JP1 (Connected, Closer to the Parallel Port)
> > JP2 (Connected, Closer to the Parallel Port)
> > JP3 (Connected, Closer to the Parallel Port) - Try changing this
> one. It
> > buffers the Speaker.
> > JP4 (Connected) - I'm from Israel (I think U.S users should not
> put it, but
> > I ain't sure)
> >
> > 6) I'am using Code Composer Studio Ver 1.21
> > Code Composer Setup is using the following driver:
> > tipp54x_dsk.dvr
> > revision: 04.00.04
> >
> > 7) Operating Systems: Windows 2000 (logged in as administrator)
> >
> > 8) Before running Code Composer Studio ,plug out the power cable
> from the dsk
> > and then plug it in again. This might also work. Warning: This
> might also cause
> > damage :)
> >
> > 9) Religion: Jewish (but I think that any other god will also do).
> >
> > waiting for follow ups,
> >
> > Itai Frenkel
> > DSP Assistant
> > Signal and Image Processing Lab
> > Technion - Israel Institute of Technology
> >
> >
> >
> >
> > __________________________________________________
> >


__________________________________________________