Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

uclinux dma write in control register

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.