Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
Search Results for "mem_alloc"
Post a new Thread
- Jun 22 2003
If you are using BIOS you should use MEM_alloc().
I had problems when I used malloc along with MEM_alloc(). You have to be
careful when using the BIOS configuration... 
norr...@yahoo.co.uk - May 17 2006
Hi guys,
Really appreciate this forum since the first time I join this forum :)
We always found in this forum about the issue of allocating memory dynamically. Can anyone give ... 
Alexandre Freire da Silva Osorio - Oct 1 2002
Hi,
My application allocates large buffers dinamycally so it should be placed in
off-chip memory. In CCS help I read about MEM_alloc and MEM_free and I used it ... 
alon...@rafael.co.il - Nov 15 2005
Hi all,
Using the DSP/BIOS operatinf system, I have hard times with the memory allocations.
I want to use 'MEM_alloc' / 'MEM_free' instead of using 'new' and 'delete' (I ... 
sophisblu - Apr 22 2007
What is the problem? I'm trying to allocate external SDRAM memory in a
TSK function defined in a Configuration CDB file. However Mem_alloc in
TSK function fails. To test Mem_allo... 
sophyan - Apr 23 2007
Thanks for your help Jeff, I've created a 5sec timer that "simulates" the interrupt that you suggested.
In the timer function I am able to call the Mem_alloc and Mem_free with ... 
shia_son - Oct 24 2003
MEM_alloc(SEG0, BUFSIZE, 0);
i dont want to open DSP/BISO Config to specify the SEG0
is there any other way !!
... 
".dorian" - Nov 5 2007
hi everybody,
in the DSP/BIOS settings I defined a heap in the ISRAM memory (right click >
properties) and
gave it a label (_intHeap). I try to allocate some memory on that ... 
motti_ch1 - Aug 16 2004
Hello.
How do I allocate memory in the SDRAM?
Is this example correct:
extern far Int SDRAM;
void main(void)
{
float *p1,*p2;
p1=(float *) MEM_al... 
cesa714 - Apr 22 2003
I've attempted to use DSP/BIOS since i need to use MEM_alloc my
problem is that when i try to use pci.h from communcation, pci
transfers don't work. When i don't us... 
pablo fraile - Jan 28 2002
Hi all,
I'm developing an app with a few tasks; one of them initializes some
buffers in IDRAM and SDRAM using MEM_alloc during task initialisation, and
then uses ... 
- May 12 2003
In a message dated 5/11/2003 10:19:35 PM Eastern Daylight Time,
writes:
> Thanks..
>
> But sorry I didnt the put the question right..I want to dynamically w... 
Bushnaq - May 21 2008
Hello,
I am working on a project that compares the performance of FPGA's to
DSP kits. I am implementing a 2D 5/3 DWT using both kits.
I am using TMS320C6416 DSK and CCS 2.... 
Mohsin - Jun 9 2005
Hi Alon,
Its better to use MEM_alloc function to allocate memory under DSP/BIOS
environment. MEM_alloc provides option to specify which segments of the
memory should be us... 
kbre...@mail.utexas.edu - Mar 6 2008
Here is my code:
#include
#include
#include "shared.h"
#include
#include
#include
#include
#include
#define SDRAM 0x80000000
interrupt void tx_... 
vuongtuyettien - May 25 2005
Hi all,
I mistakenly used MEM_alloc in a PRD function (which is considered
SWI). What happen was MEM_free later called in another TSK blocked the
caller forever. I used... 
Guy Eschemann - May 2 2006
If you're using DSP/BIOS, have a look at the MEM_alloc() function in the
DSP/BIOS API. Its third parameter allows you to specify the alignment.
Regards,
Guy.
On 4/29/06, esbn... 
tino...@yahoo.it - Nov 16 2006
Hi all,
I read that MEM_alloc can't be used from HWI or SWI... and also BUF_create can't be used from HWI or SWI. So I'm searching info about allocating memory from HWI or SWI... 
motti_ch1 - Aug 16 2004
Hi there!
How do I allocate memory in DSK C6711?
I've to allocate a large amount of memory (about 100-500 thousands
of KB)..
Do I have to use the mem_alloc i... 
Jean-Michel MERCIER - Sep 24 2003
Werner wrote :
> #pragma DATA_SECTION(image_1,"SDRAM$heap"); and then in my main
> after the while
Arg! Very bad usage of this.
1/ If you want to al... 
Ramkumar R - Nov 9 2005
Hi
I use a 64x processor. My application involves the usage of upto 4 buffers each of size 5120 bytes. Basically these buffers contain the data for EDMA t... 
Brad Cadle - Aug 3 2001
Okay Folks,
I had used SPRU403A for a long time as my DSP/BIOS reference. I recently downloaded SPRU403C and noticed a few things.
... 
Peter Bone - Jul 17 2007
> With C64x devices DMA can be useful for both int-ext and int-int mem
transfers.
>
> On any DSP, 2D FFT is not going to be difficult -- DSP devices are
built for FFTs
> ... 
limc...@gmail.com - Nov 15 2009
Hi guys,
I'm using DSK6713 to read a data(WAV) file and produce the audio via aic23. The problem i facing is that the data file is too big to store in IRAM. I'm trying to read t... 
abdul muqeet - Feb 21 2007
hi ,this is muqeet pursuing my mtech n working on a project that is Speech recogniton using DSK 6713.I ve used the audio example as a reference.which is using the DSP/BIOS.This aud... 
Sri - Apr 27 2006
Hi Bharath,
You can do a couple of things-
1. First ensure that you are making the call of free function in your whole
code, normally programmers keep in view the success case... 
NOR RIZUAN MAT NOOR - May 23 2006
Hi everybody!
I have a few questions about MEM_alloc (again!). :D
I have write one simple program to allocate memory to store pixel coordinate in memory. I used DSP/BIOS, a... 
Sukesh - May 8 2007
Deepti,
The error "stack overflow " you are getting is due to use of stack more than
specified in the linker command file.
Stack has critical role at the time of context switc... 
Imran Akthar - Jul 3 2004
Hi all,
m using DM642 board and CCS 2.21 version.
I m reading a file whose size is 1MB(uinsg fread()in host PC) and
writing it to the External RAM ..SDRAM .
wha... 
balasubramanian vaidhyanathan - Sep 24 2008
Hi
Below is the code I yanked out of TI BIOS User guide. Now what i cant understand is this, the writer task has an id. In the document it says there are three writers. So do... 
Giovanni Parodi - Oct 23 2007
Hi
I'm sorry but I forgot to explain in detail the structure of my code.
In fact the internal memory is used by heap and 64 KB of L2 cache.
However in order to correctly allocat... 
Maughan, Thomas - Oct 29 2003
The recommendation is to use the thread safe MEM_alloc() that is included
with BIOS instead of malloc(). You would then remove the -heap0xA... and
define your heap ... 
".dorian" - Dec 16 2007
first call: (file encoder.c)
------------
static inline void x264_reference_update( x264_t *h )
{
int i;
x264_fdec_deblock( h );
/* expand border */
x264... 
Jagadeesh Sankaran - Nov 20 2003
#YEO HAN KWANG# wrote:
>
> Hi,
>
> The question I'm trying to figure out is: "Why the need to invalidate the *
source * ?"
>
> The need to invalidate the ... 