Altera_Forum
Honored Contributor
13 years agoCreating Ethernet Frames
I've got an Aria V starter board with Marvell PHY. I'm trying to get some data from the board to the PC over the ethernet. The QSYS system is all wired up and I can do DMAs from an internal memory to the TSE core. And I can see the TX light blink on the PHY. So it seems like the HW is all there.
The frames to be sent are being assembled in C code using Nios2. The question is do I need to add the preamble to the frame myself or is this a MAC operation? Also, are there any tricks regarding the byte ordering using the scatter gather DMA->TSE?