Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Some data was transmitted via ethernet now: as I said in previous post, sgdma was initialized incorrectly. But while catching the packets with Wireshark, I see that packets content isn't correct. Besides that the packet was transmitted only twice (instead of infinite sending), after 2 transmissions code never comes to tx_done++, so it is looped in while(tx_done == 0); I have attached zip-code of source files. The only correct information is the source mac (00-11-22-33-44-55) All other bytes should be 0xA5 (as initialized), but in fact I see such packet: CC CC A5 A5 CC CC 00 11 22 33 44 55 CC CC A5 A5 CC CC A5 A5 CC CC A5 A5 CC CC and so on... Total length is also correct (128 bytes). I have no ideas, what happens... --- Quote End --- One of the problem is that sgdma descriptor should be constructed before every cycle of transmitting. So, now I achieved stable tramsmitting of packets by TSE ( in while(1) loop ). The only issue is that packet content is incorrect (only MAC of source is OK )...