DSPRelated.com
Forums

MEM_alloc + pci.h

Started by cesa714 April 23, 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 use DSP/BIOS all my pci.h
communcations work fine.

I think i read somewhere that DSP/BIOS uses pipes to communcate.

once i get there i am also going to need use the audio codec though
right now that is not an issue.

does anyone have some example code of using DSP/BIOS with pci.h or
DSP/BIOS with example communcation to the PC.

thank you.

- cesar



I dont have a direct answer for question. However
Please read the constraints on usage of MEM_alloc. MEM_alloc should not be
called from a HWI or SWI thread.

Also please check the return status of MEM_alloc and ensure that it is not
NULL. You can use MEM_stat API to determine the status of the heap .
Regards
C.Sridhar -----Original Message-----
From: cesa714 [mailto:]
Sent: Wednesday, April 23, 2003 4:30 AM
To:
Subject: [c6x] MEM_alloc + pci.h 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 use DSP/BIOS all my pci.h
communcations work fine.

I think i read somewhere that DSP/BIOS uses pipes to communcate.

once i get there i am also going to need use the audio codec though
right now that is not an issue.

does anyone have some example code of using DSP/BIOS with pci.h or
DSP/BIOS with example communcation to the PC.

thank you.

- cesar
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/