Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
|
Hi everyone, did anybody encounter this error when working withg VDSP++ ? I changed an existing LDF file with new memory allocations and received this error when building the project. these are all .var/circ definitions and the right amount of memory is allocated to the appropriate sections. any ideas/solutions? Thanks much, Yuval Saban Design Engineer Bio-Logic Systems Corp. ----------->>>>> [Error E1201] The memory 'seg_stim_buff' has insufficient free memory to satisfy alignment needs of section '.circ1.dataout needs 4096 words starting on a 4096 word boundary. [Error E1201] The memory 'seg_data_circ3b' has insufficient free memory to satisfy alignment needs of section '.circ3.datain needs 4 words starting on a 4 word boundary. [Error E1201] The memory 'seg_data_circ3' has insufficient free memory to satisfy alignment needs of section '.circ4.ctrlin needs 4 words starting on a 4 word boundary. [Error E1201] The memory 'seg_data_circ3a' has insufficient free memory to satisfy alignment needs of section '.circ5.ctrlout needs 4 words starting on a 4 word boundary. Linker finished with 4 error(s) 0 warning(s) |
|
|
|
hello every body, i have changed the ldf file for adsp 21065. i have encountered the following warning "subscript out of range" i have tried allocating a larger chunk of memory for data memory but to no avail. Keeping in mind this is only a warning,not an error.........wht are its implications. secondly whts the difference between a heap and a stack? regards imran ===== ************************************************************ LIFE IS A BED OF ROSES FOR THOSE WHO GOT THE HEART TO FACE THIS WORLD WITH COURAGE AND VALOUR. DONT LOSE HOPE AND FINALLY U WILL BE SUCCESSFUL. bajwa ************************************************************ __________________________________________________ |
|
|
|
On Fri, 12 Oct 2001 22:50:52 -0700 (PDT), Imran Bajwa wrote: > i have changed the ldf file for adsp 21065. i have > encountered the following warning > > "subscript out of range" From the linker? If so, that sounds like a bug in the linker. Post the exact edit (a diff from the original would be fine), linker version number, and the command line so we can reproduce it. > i have tried allocating a larger chunk of memory for > data memory but to no avail. Keeping in mind this is > only a warning,not an error.........wht are its > implications. Hard to know without seeing the code. > secondly whts the difference between a heap and a > stack? Heap is used for dynamic allocation (ie. malloc() and new()). Stack is used for function return addresses, automatic variables (those scoped to a subroutine), and saving registers of a caller that a function needs for its work. The shallow hardware stacks are used just for return addresses for interrupts and do loops. The SHARC runtime maintains a separate stack in memory for the C/C++ system using DAG 6 and 7. The stack base is in B7 and the pointer is in I7. The size of the stack is kept in L7, and you can use the DAG wraparound interrupt to detect stack overflows and underflows. I6 holds the C "frame pointer", which is used to address local variables and to restore the stack when a function returns. The SHARC runtime has a mechanism for having multiple heaps in a linked list, in case you need to spread it across different memory spaces (eg. internal and external). Even if you don't use dynamic allocation, you need to declare enough space (I think about 5-8 words) to hold an empty list so the startup code that initializes the heap doesn't trample whatever follows it. |
|
|
|
Hi, i am working on adsp 2192 processor and new to it. i need a 'c'language implementation of COMPLEX FFT and COMPLEX IFFT routines for a 16 bit fixed point processor. I implemented the complex fft directly using the straight forward equation .if i give this data to ifft, the output of this ifft does not match with the original data,i.e, the i/p of the fft. may be the problem is because the adsp 2192 processor is a 16 bit fixed point processor. can anyone of you please share with me the above programs ? Thanks in advance __________________________________________________ |