Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

uclinux dma write in control register

Altera_Forum
Honored Contributor II
1,035 Views

Hello, 

I have a problem, i use nios2 dma.c (uclinux dma api) when i write in control register 

example : OUTL(0x29a,DMA_BASE+REG_CONTROL) with REG_CONTROL = 24 

when i read value : inl(DMA_BASE+REG_CONTROL) => i have control = 0x29a 

buttttt altera signaltap logic analyzer i have control = 0000 

 

Can any one help me ? 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
384 Views

I resolve problem : i use ioremap()

0 Kudos
Altera_Forum
Honored Contributor II
384 Views

I want to know how to use the dma API in the nios2/kernel/dma.c,there is not any .h file,and I want to use the nios2 dma in other place,what should I do?Thank you in advance.

0 Kudos
Reply