DSPRelated.com
Forums

Need help with reading from RTDX channels.

Started by ah43...@drexel.edu July 11, 2008
We have a simple simulink model already built and loaded onto the DSKC6711 board. It's From RTDX, and then To RTDX, with the configuration parameters set up correctly (as far as we know)

We can set up CCStudio, and make the program run, however, we are unable to get any results from the board. We can use the writemsg command, but we are unable to use read, or readmat, or get anything we need from the board.

Well, to say that is when we try to run the read command, it times out before we can get any information. We are sending a [240 240] uint8 image to the board, and it seems to write (It processes the command without any errors), but we can't read it, at least not before it times out.

Do you have any suggestions or recommendations? We have tried several different ways of running the data through matlab.

http://cnx.org/content/m14388/latest/ (We used the commands underneath Using MATLAB to Access the DSP Board (PC) )

http://www.mathworks.de/access/helpdesk/help/toolbox/ccslink/index.html?/access/helpdesk/help/toolbox/ccslink/ug/readmat.html
(We used the example, as well as read the theory)

An example
(start is the To RTDX, and stop is the From RTDX, b is a 240 by 240 uint8 matrix)

>> cc.rtdx.open('start', 'w');
>> cc.rtdx.enable('start');
>> cc.rtdx.writemsg('start',b);
>> cc.rtdx.close('stop')
>> cc.rtdx.open('stop', 'r');
>> cc.rtdx.enable('stop');
>> cc.rtdx.readmsg('stop', 'uint8')
??? Read RTDX Channel: Timed out waiting for CCS to confirm completion.
I do not know what it is getting hung up on. Does anybody have any experience or advice to give?

Thank you for any help you might give.