Forum Discussion
Altera_Forum
Honored Contributor
16 years agoWeird Ethernet problem
Premise: I don't know if this weird problem is related to TSE, sgdma or Nios code. Please help me to identify, or better, to solve it. I'm using Nios II with tse mac and National Semi DP83640 p...
Altera_Forum
Honored Contributor
16 years agoCris, I'm also using TSE but with Marvell 88E1111. I had sometimes losts in transmitting frames. I used Signaltap to identify the problem. The reason in my case was the transmit FIFO size. It was to small. I chaged the size from 1k to 4 kByte.
I checked the afull signal of the Transmit FIFO (tse_mac:the_tse_mac|altera_tse_mac:altera_tse_mac_inst|altera_tse_top_gen_host:top_gen_host_inst|altera_tse_top_w_fifo_10_100_1000:U_MAC_TOP|altera_tse_top_w_fifo:U_MAC|tx_a_full) The backpreassure feature of the streaming interface from SGDMA to the TSE_MAC was obviously not working so the SGDMA hang-up. May be you look at the control signals of tx and rx FIFOs with trigger on rxen in Signaltap. Jens