Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTSE and SGDMA
Hi all, I need help .... I'm porting u-boot (the latest nioswiki release) on a custom board... I have a big problem with altera_tse driver... I can ping my PC from the board but only one time...
Altera_Forum
Honored Contributor
16 years agoHmm.
I never played with SGDMA up to now, and did not yet look into the sources, but two instructions toggling one or more bits should look more like this: rx_sgdma->control &= ALT_SGDMA_CONTROL_SOFTWARERESET_MSK; rx_sgdma->control |= ~ALT_SGDMA_CONTROL_SOFTWARERESET_MSK; Moreover rx_sgdma needs to be defined volatile to make it work. -Michael