DSPRelated.com
Forums

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

Started by Michael Dunn November 29, 2007
Benjamin,

On 11/29/07, Benjamin Sanchez wrote:
> Hi guys!
>
> 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.

You did not mention the type of your emulator. HSRTDX requires an
XDS560 emulator. I *think* that if you do not have an XDS560 that it
will default to JTAG RTDX. Tweaking the 'intvecs67.asm' file will only
affect which ISR is used for a particular interrupt - if I remember
correctly, the tweak involves the HSRTDX vectors.

Are you using an XDS560??
>
> My doubts are:
>
> (1) Does anybody know if sect1_less1.pjt is only for using with C6713DSK or it is also compatible with 6711DSK?

I have not used that particular project.

> (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.

What version of CCS are you using?? use 'Help->About' to get the
installed version number.

mikedunn

>
> Any help will be appreciated!
>
> Thanks for advanced!
> Benjamin Sanchez
> Technical University of Catalonia (UPC)
> Electronic Department
> Barcelona, Spain
>
> 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