DSPRelated.com
Forums

Re: RTDX Target application does not match emulation protocol using RTDX with C6711DSK

Started by Jeff Brower November 30, 2007
Benjamin-
> First of all let me give you thanks for your fast answer!
>
> Finally I have found RTDX source code from the rtdxtutorial demo files of Link for
> CCS toolbox for Matlab. I will use these files to include my DSP algorithms and
> validate them doing co-simulation with Matlab/LabView applications.

Ok, sounds like you're on your way. That's good. You might want to keep those 6711
RTDX source code links handy in case other group members have the same question.
> Thanks one more time for your HPI advice but I don't expect to make real-time
> applications so I think that RTDX would be fast enough.

Ok... I'd be interested to hear your RTDX speed measurements once you get it going.
I have doubt whether you will be happy with the speed, but RTDX is a good start point
to get some host communication going.

-Jeff
> 2007/11/29, Jeff Brower < j...@signalogic.com>:
>
> Benjamin-
> > I'm trying to use RTDX programming my C6711DSK board with the example
> > project file examples\tutorial\sect1_less1\dsk6713\sect1_less1.pjt,
> > which sends an integer through the output RTDX channel. When I load the
> > program to the board CCS shows me the following error:
> >
> >
> > ----------------------
> >
> > RTDX Target applications does not match emulation protocol!
> > Loaded program was created with an rtdx library which does not match
> > the target device
> >
> > ----------------------
> >
> > Of course, after pressing the Run button the integer doesn't appear in
> > the stdout of CCS3.3. Trying to solve my problem I have read in the
> > literature (SPRA821.pdf of ti.com) a possible solution that consists to
> > convert a JTAG RTDX configuration to HSRTDX (adding the rtdxhs.lib to
> > the project and modifying the intvec67.asm and include the sentence
> > HSRTDX .set 1). When I compile again the modified project appears the
> > next info message:
> >
> >
> > ----------------------------
> >
> > [intvecs67.asm] ... "intvecs67.asm"
> > *** MESSAGE! line 18: INFO -- Compiling for JTAG RTDX by default.
> >
> > ----------------------------
> >
> > So I don't understand why CCS detects the default case JTAG RTDX and
> > not the HSRTDX case as I defined previously in the intvecs67.asm.
> >
> > My doubts are:
> >
> > (1) Does anybody know if sect1_less1.pjt is only for using with
> > C6713DSK or it is also compatible with 6711DSK?
> > (2) The changes done are enough or I have to do something more?
> > (moreover I have enabled RTDX channels option in RTDX-Configuration
> > Control)
> >
> > If anybody know where I can find example code for using RDTX with
> > C711DSK please let me know.
> >
> > Any help will be appreciated!
> >
> >
> I don't think C6711 silicon supports HSRTDX. Also, with the DSK 6711,
> RTDX will be slow.
>
> As far as project file compatibility goes, a 6713 file could work with
> 6711 but first you must carefully verify several things, including
> silicon capabilities (as mentioned), memory config, and I/O config (such
> as serial port allocation and type, for example McBSP vs. McASP).
>
> For example RTDX code and CCS projects, there should be lots of examples
> on the web. A quick search found this tutorial for the DSK 6711:
> http://dsptute.blogspot.com/2006/01/2-rtdx-real-time-data-exchange-yahoo.html
>
> Or maybe someone in the group can send you something. I don't have
> anything; back in the day with 6711 we used HPI because it was way
> faster.
>
> -Jeff
> > PS: intvecs67.asm
> >
> > .title "C67 Interrupt Vectors w/ RTDX"
> >
> > SP .set B15
> > .if $isdefed("JTAGRTDX")
> > .mmsg "INFO -- Compiling for JTAG RTDX.."
> > .elseif $isdefed("HSRTDX")
> > .mmsg "INFO -- Compiling for HSRTDX..."
> > HSRTDX .set 1
> > .else
> > .mmsg "INFO -- Compiling for JTAG RTDX by default."
> > ;JTAGRTDX .set 1
> > .endif
> >
> >
>