DSPRelated.com
Forums

program with 2181 memory !!

Started by m9021005 October 31, 2003
hi all.
i have a question about 2181 memory.
this is my architecture file.

.SYSTEM playback ;
.ADSP2181 ;
.MMAP0 ;
.SEG/PM/RAM/ABS=0/CODE/DATA ext_pm[2048];
.SEG/DM/RAM/ABS=0/DATA int_dm[16000];
.ENDSYS;

and my .dsp

.const N00 ;
.var/dm/circ samples[N];

why is occur ld21: main, (warning) initialization data for SAMPLES
extends beyond buffer. Length required: 16000; available: 1000 when
i use the ld21 command?

the maximum lenth i can available is 8192 which equal 8k but the
internal dm is 16k.
why only 8 k i can use?
please help me! thanks you.