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 agoThe only reason I can see for the failure is that the two strings (the one that you provide as device name and tho one declared in the system) are equal on the first 8 characters but differ on the ninth: yours has a 0 indicating an end of string, and the one in the system has something else, indicating that the string is longer.