User`s guide
B Reported Limitations and Tips
CCS is not connected to a processor, you cannot use the object to perform
processor operations from MATLAB, such as loading or running programs.
• Retry — CCS tries again to initia l ize th e pro cessor. If CCS conti nu e s not
to find your hardware processor, the same DSP Device D river dialog box
reappears. This process continues until either CCS finds the processor or
you choose one of the other options to respond to the warning.
Onemoreoption,Diagnostic, lets you en te r diagnostic mode if it is enabled.
Usually, Diagnostic is not available for you to use.
Different Read Techniques Appear to Return Different
Values
When you read the value of a pointer on your C54x processor, the result can
seem to depend on how you read the value. If you check the value in the
MATLAB workspace browser, you see that read returns the sam e values
in both cases.
The following example shows this happening with the variable
g_vptr.
In source code you have the following prototype.
double mydouble;
void *g_vptr = &mydouble;
In MATLAB, perform these operations to set a value to read.
ptr = createobj(cc,'g_vptr');
convert(ptr,'Double *'); % Use double to represent ptr.
ptr1 = deref(ptr1);
write(ptr1,10^20);
With the variables defined as shown, reading the data returns different
results depending on which
read syntax you use to read the data.
result1 = read(cc, ptr1.address, 'single') % Return the value...
% in single format.
returns
B-12