DSPRelated.com
Forums

problem with writinng/reading from memory

Started by morganyang1982 June 18, 2004
Hello, I'm trying to make an image encoder/decoder on
a 6712 start kit. I am using code composer and
matlab's link to code composer. From the matlab
tutorial, the following script should work:

cc = ccsdsp;
cc.visible(1);
write(cc,'50',1:250);
mem = read(cc,0,50,'double') % Returns 50 values as a
column

However, when i tried the code, i got an time out with
writing the data. I put a cc.halt before and the write
and cc.run after, and the same thing happened.
I checked my ccsdsp object and it is the appropriate board,
running/halting fine from command line.
Any great would be greatly appreciated

Morgan Yang