Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Discussion Groups

Discussion Groups | TMS320C6x | MEM_alloc + pci.h

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

MEM_alloc + pci.h - cesa714 - Apr 22 23:00:00 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





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

RE: MEM_alloc + pci.h - Sridhar, Chakravarthy - Apr 23 12:58:00 2003

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
_____________________________________





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )