Forums

help about code composer studio

Started by Unknown August 13, 2007
hello,
i am using TMS320c6711 , with ccsv2. i am using c libraries to read
from an image in the debug directory and am trying to get it into an
array to process the data. but when the size of the matrix is 256x256,
the program execution halts at fopen. it reads a few lines and is
filled with NOPs. when i reduce the size of the matrix to 128x128, it
does not perform math operations. it compiles and builds without
errors but then it just loads itself with NOPs after a few executions.
can anyone tell me , what the .cmd file should contain? whatever i
change in that file doesnt seem to affect the program. also is there a
better way of getting data into an array using the DSP board?

On Mon, 13 Aug 2007 04:35:56 -0700, mk.supriya wrote:

> hello, > i am using TMS320c6711 , with ccsv2. i am using c libraries to read > from an image in the debug directory and am trying to get it into an > array to process the data. but when the size of the matrix is 256x256, > the program execution halts at fopen. it reads a few lines and is > filled with NOPs. when i reduce the size of the matrix to 128x128, it > does not perform math operations. it compiles and builds without > errors but then it just loads itself with NOPs after a few executions. > can anyone tell me , what the .cmd file should contain? whatever i > change in that file doesnt seem to affect the program. also is there a > better way of getting data into an array using the DSP board?
Your first array has 65536 entries, times the word size of your data. Your second array has 16364 entries, again times the size of your data. Do you have room in the processor's memory at all to fit this? Where are you allocating the memory for it all to go into? -- Tim Wescott Control systems and communications consulting http://www.wescottdesign.com Need to learn how to apply control theory in your embedded system? "Applied Control Theory for Embedded Systems" by Tim Wescott Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html