Rules | Recent posts | topic RSS | Search | Register  | Log in

matlab link for ccs- codes

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing
Author Message
farooq



Joined: 28 Jun 2004
Posts: 2


Post01 Jul 2004 12:06   matlab link for ccs- codes

Following is the list of errors & problems working with 'matlab link of rtdx for code composer studio":-
developed model using simulink & embedded it on TMS320C6711 using "embedded target for TI C6000 DSP"

code#1:

cc = ccsdsp;
rx = cc.rtdx;
open(rx,'ichan1','w');
cc.rtdx.enable('ichan1');
cc.rtdx.isenabled('ichan1')
if cc.rtdx.iswritable('ichan1'), % Used in a script application.
disp('writing to target...') % Optional to display progress.
indata=1:5
cc.rtdx.writemsg('ichan1', int16(indata))
end
open(rx,'ochan1','r');
cc.rtdx.enable('ochan1');
a=cc.rtdx.isenabled('ochan1')
b=isreadable(rx,'ochan1')
data = readmsg(rx,'ochan1','int16',[1 5],1,30);


output#1:
ans =

1

writing to target...

indata =

1 2 3 4 5


a =

1


b =

1

??? ReadMsg: Timeout waiting for CCS to confirm completion: waiting for 1 messages


code#2:

cc = ccsdsp;
rx = cc.rtdx;
open(rx,'ichan1','w');
cc.rtdx.enable('ichan1');
cc.rtdx.isenabled('ichan1')
if cc.rtdx.iswritable('ichan1'), % Used in a script application.
disp('writing to target...') % Optional to display progress.
indata=1:5
cc.rtdx.writemsg('ichan1', int16(indata))
end
open(rx,'ochan1','r');
cc.rtdx.enable('ochan1');
a=cc.rtdx.isenabled('ochan1')
b=isreadable(rx,'ochan1')
out_array = readmat('ochan1','double',[1 5])

output#2:

ans =

1

writing to target...

indata =

1 2 3 4 5


a =

1


b =

1

??? No appropriate methods for function readmat.

code#3:

cc = ccsdsp;
rx = cc.rtdx;
open(rx,'ichan1','w');
cc.rtdx.enable('ichan1');
cc.rtdx.isenabled('ichan1')
if cc.rtdx.iswritable('ichan1'), % Used in a script application.
disp('writing to target...') % Optional to display progress.
indata=1:5
cc.rtdx.writemsg('ichan1', int16(indata))
end
open(rx,'ochan1','r');
cc.rtdx.enable('ochan1');
a=cc.rtdx.isenabled('ochan1')
b=isreadable(rx,'ochan1')
out_array = readmat(cc.rtdx,'ochan1','int16',[1 5],1);

output#3:

ans =

1

writing to target...

indata =

1 2 3 4 5


a =

1


b =

1

??? Readmat: Timeout waiting for CCS to confirm completion
0 oldest messages were lost
Back to top
ahmadagha23



Joined: 04 May 2004
Posts: 155


Post01 Jul 2004 21:02   Re: matlab link for ccs- codes

hi dear friend
How did you write youre source code for dsp?
by c/c++ or matlab?
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing
Page 1 of 1 All times are GMT + 2 Hours


Abuse
Administrator
Moderators
topic RSS 
sitemap