Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
|
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 _____________________________________ |