This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Has anyone implemented RTDX transfer on DSK55110 under Code Composer 3.3 in
a bare-board configuration (i.e no RTDX).
In CCS 3.3, the RTDX example programs are missing. An rtdxx.lib is available in
ti\bios_5_32_01\packages\ti\rtdx\lib\c5500. However, when I link againts that librarary,
I am able to read one message (1 16 bit message), but the rest of the data seems to accumulate in the channel buffer till the buffer overflows and the processor faults.
Thanks.
Roger,
Can you clarify what you mean by "bare-board configuration (i.e. no RTDX)"? Not sure how you would use RTDX with no RTDX support.
Not sure what happened to the example code. Will have to look into this.
When I say bare-board, I mean that we are not using any OS - no DSPBIOS.
Another piece of information, we are using the large memory model. When I monitor the output channel structure, I see some message to the extend that memory cannot be read because it is not mapped.
I am using the following memory map:
_RTDX_interrupt_mask = ~0x06000010; /* Mask DLOG, Timer */
MEMORY
{
MMR: org=0x000, len=0x0C0
DARAM: org=0xc0, len=0x7f40
SARAM: org=0x8000, len=0x20000
SDRAM: org=0x28000, len=0x1d8000
}
SECTIONS
{
.vectors: > DARAM
.text: > DARAM
.switch: > DARAM
.bss: > DARAM
.cinit: > DARAM
.pinit: > DARAM
.const: > DARAM
.data: > DARAM
.cio: > DARAM
.sysmem: > DARAM
.stack: > DARAM
.sysstack: > DARAM
.csldata: > DARAM
.rtdx_text: > SARAM
.rtdx_data: > DARAM fill=0xBEEF
}
Roger,
Which RTDX lib are you using? For the Large Memory model you should be using rtdxx..lib. The rtdx.lib is for Small Memory model.
How are you monitoring the "output channel structure"? I'm not sure what you mean here.
Do you have both host and target applications running? This is required for RTDX to work correctly. The host application needs to consume the data that is sent by the target system.
Do you have access to CCS3.1? The RTDX source code is included with this release and should be valid for CCS3.3 also.
I am linking rtdxx.lib from bios_5_32_01\packages\ti\rtdx\lib\c5500.
I enable the RTDX viewer in CCS. My host application sends a 16 bit word to the target every secod. My target application does an RTDXread, like the example shows. In the CCS RTDX viewer.
When you say RTDX source code is included in CCS 3.1 do you mean the source for the example or the source code for RTDX? I see the examples in CCS 3.1.
If it will make it easier, could you please email me your phone number, I can show what is happening with WebEx.
One more point, what I meant by monitoring the output channel structure is that I put a debug monitor on the channel structure pointer.