Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem in alt_find_dev
I've got a DMA component in my system named "/dev/dma". I copied code from the Memtest template so it should work. However, calling alt_dma_txchan_open("/dev/dma") fails. I traced down into the libra...
Altera_Forum
Honored Contributor
16 years agoAre you sure that your component device name is really "/dev/dma" and not something like "/dev/dma_0" or something else?
To be sure you can include system.h in your source file and use the constant defined there instead of hard coding "/dev/dma". The constant should have a name like DMA_NAME or something close.