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 agoHi Michael,
thanx for your reply...registers are indeed already volatile...no problem about that.... The user guide states that writing the reset bit twice reset sgdma...no indication about values to be written... :confused: I found that (in my case) the reset bit must be set to 1 to activate sgdma reset.... Therefore the right command is (or-ing): rx_sgdma->control |= ALT_SGDMA_CONTROL_SOFTWARERESET_MSK; rx_sgdma->control |= ALT_SGDMA_CONTROL_SOFTWARERESET_MSK; And-ing the bit doesn't reset....now tftp also works without any problem...;) Carlo