Forum Discussion

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

"WARNING: TX SGDMA TImeout" and no data sent

Hy guys,

I need your help, because trying to implement a SimpleSOcketSever-like NIOSII application. I built a basic NIOSII system including a 10/100/1000 TSE tx-sgda. rx_sgdma and so on. Everithing compiles correctly, at startup atuoneg and link testing succeed. But when I try to open a TCP-IP connection to the board anything happens and a message appear on the console:

"WARNING: TX SGDMA Timeout".

The same message comes out when I try to send udp packet from the board to the PC.

I checked many times the NIOSII sytem configuration but everything seems to be ok.

Where does the message come from?

Please, can anyone help me?

16 Replies

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

    hy guys,

    I got a step forward with this issue. "Warning: TX sgdam timeout" came from a mistake I added in the "tse_my_system.c".

    ANyway my problems didn't disappear at all.

    Now I can send over the net a packet, but just only one.

    I can get it on wireshark but te sendto() never exits and, from signal tap, I can see that cpu is countinuosly reading at sgdma-tx csr

    DOes anybody have a suggestion?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What address is it reading and what is the return value from the sgdma? What is it doing on the avalon stream and m_read interfaces at that moment?

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

    Hi everyone,

    I am getting error as "Tx SGDMA Timeout"

    Where shall I doubt, what may be the problem?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    My project was working fine,

    but when I am adding SRAM to the project, I am getting error as "Tx SGDMA Timeout"