Hi,
I am new to DSP programming. I am currently working on C6416. I have been given a code to check and verify. The thing is that once you run the code as it is with no change at all the code runs very well. But once i modify the code, say declare a new variable, i get the memory error. Its states that the dsp is trying to write in areas that have been reserved by the hardware.
secondly as much as i have calculated i have an array of 900 short integers. So it should take 1800 bytes considering 16 bits per short int. The internal memory of the DSP is IM which should be properly accommodating the variable but it does not.
Another very confusing thing is that if i define an array named temp as follows (Ignore the syntax)
for i = 1:900
temp[i]=i;
end
then it works fine but once i define individually like
temp[1]= 2;
temp[2]=3;
.
.
.
temp[180]=12;
for i=181:900
temp[i]=i;
end
then i get the memory error ...
any help or any hint will be highly appreciated .