DSPRelated.com
Forums

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

Started by Jeff Brower November 29, 2007
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
>
Jeff and Benjamin,

On 11/29/07, Jeff Brower wrote:
> 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'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.

Actually the 6711 does support HSRTDX and it is fairly fast [some
number of Mbits] - the catch is that it requires the 'magic IO
hardware' on an XDS560.
>
> 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..."

oops - I didn't get this far into the original message. If you have
an XDS560, you need to define the symbol 'HSRTDX' in your project.

mikedunn

> HSRTDX .set 1
> .else
> .mmsg "INFO -- Compiling for JTAG RTDX by default."
> ;JTAGRTDX .set 1
> .endif
>
> 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
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php