From: Robert W. Kuhn on
Hello,

I do have a TMS320DM6437 Evaluation Module� and tried to get RTDX to
work. Therefore I have to define the .rtdx_data and the .rtdx_text
sections. I tried it this way:

###################################################################
MEMORY
{
L2RAM: o = 0x10800000 l = 0x00020000
DDR2: o = 0x80000000 l = 0x10000000
}

SECTIONS
{
.bss > L2RAM
.cinit > L2RAM
.cio > L2RAM
.const > L2RAM
.data > L2RAM
.far > L2RAM
.stack > L2RAM
.switch > L2RAM
.sysmem > DDR2
.text > L2RAM
.ddr2 > DDR2

.pinit : {} > DDR2
.rtdx_data : {} > DDR2
.rtdx_text : {} > DDR2
}
###################################################################

But when I link the program I get this warning and RTDX fails:

Loader: One or more sections of your program falls into a memory region
that is not writeable. These regions will not actually be written to
the target. Check your linker configuration and/or memory map.

Where is the problem? what is the right definition of the SECTIONS?

Thanks and bye!

[1] http://focus.ti.com/docs/toolsw/folders/print/tmdxvdp6437.html
From: Greg on
Hello Robert,

You use CCS Version >3.0 ?
You use DSP/BIOS ?

Through out :

> .rtdx_data : {} > DDR2
> .rtdx_text : {} > DDR2

Goto Projects -> YourProject.pjt -> DSP/BIOS Config -> blabla.tcf

Open it. Goto:
Input / Output -> RTDX - Real-Time Data Exchange Settings (right click
properties)
and enable Real-Time Data Exchange (RTDX) RTDX Mode JTAG.
The rest to you disposal.
Goto:
Input / Output -> HST - Host Channel Manager (right click properties)
Set Host Link Type to RTDX.

That should help,

Regards, Wolfgang




From: Robert W. Kuhn on
Am Thu, 15 Nov 2007 12:20:31 +0100 schrieb Greg:

> That should help,

Yes it does. Thank you! I just recieved my very first data from my
target :-)

Small problem:

With

RTDX_write( &ochan, &data, sizeof(data) );
while ( RTDX_writing != NULL )
{
BlinkBlinkWithTheLEDs();
}
I try to wait on the target till the data is read by the host programm.
But the program does not wait, it goes further to the next instructions.

What could be the problem. In do RTDX in continuous mode.

Bye!