FPGA error when trying to send the ethernet packet #4

Open
opened 2025-11-23 23:14:52 -08:00 by bslathi19 · 1 comment
Owner

Probably need to throw an ILA in there or something to see what is going on.

Virtual address: 55fd741e92a0
Physical address: 1096792a0


Allocating 1024 bytes as destination
Virtual address: 0x55fd741e9ac0
Physical address: 109679ac0


mmaping PCIe space
Virtual PCIe Base: 0x7f357320e000
Sending read DMA
pcie_rd_dma[0] = 96792a0
pcie_rd_dma[1] = 1
pcie_rd_dma[2] = 0
pcie_rd_dma[3] = 4
0


Sending write DMA
Setting up stream to memory DMA
eth_wr_dma[0] = 0
eth_wr_dma[1] = 0
eth_wr_dma[2] = 0
eth_wr_dma[3] = 4
Sending memory to stream DMA
eth_rd_dma[0] = 0
eth_rd_dma[1] = 0
eth_rd_dma[2] = 0
eth_rd_dma[3] = 4
Sending read DMA
pcie_wr_dma[8] = ffffffff
pcie_wr_dma[9] = ffffffff
pcie_wr_dma[10] = ffffffff
pcie_wr_dma[11] = ffffffff
-1


strlen(dst)=0

Sending read DMA
pcie_rd_dma[0] = ffffffff
pcie_rd_dma[1] = ffffffff
pcie_rd_dma[2] = ffffffff
pcie_rd_dma[3] = ffffffff
-1


Sending write DMA
Setting up stream to memory DMA
eth_wr_dma[0] = ffffffff
eth_wr_dma[1] = ffffffff
eth_wr_dma[2] = ffffffff
eth_wr_dma[3] = ffffffff
Sending memory to stream DMA
eth_rd_dma[0] = ffffffff
eth_rd_dma[1] = ffffffff
eth_rd_dma[2] = ffffffff
eth_rd_dma[3] = ffffffff
Sending read DMA
pcie_wr_dma[8] = ffffffff
pcie_wr_dma[9] = ffffffff
pcie_wr_dma[10] = ffffffff
pcie_wr_dma[11] = ffffffff
-1


strlen(dst)=0
Probably need to throw an ILA in there or something to see what is going on. ``` Virtual address: 55fd741e92a0 Physical address: 1096792a0 Allocating 1024 bytes as destination Virtual address: 0x55fd741e9ac0 Physical address: 109679ac0 mmaping PCIe space Virtual PCIe Base: 0x7f357320e000 Sending read DMA pcie_rd_dma[0] = 96792a0 pcie_rd_dma[1] = 1 pcie_rd_dma[2] = 0 pcie_rd_dma[3] = 4 0 Sending write DMA Setting up stream to memory DMA eth_wr_dma[0] = 0 eth_wr_dma[1] = 0 eth_wr_dma[2] = 0 eth_wr_dma[3] = 4 Sending memory to stream DMA eth_rd_dma[0] = 0 eth_rd_dma[1] = 0 eth_rd_dma[2] = 0 eth_rd_dma[3] = 4 Sending read DMA pcie_wr_dma[8] = ffffffff pcie_wr_dma[9] = ffffffff pcie_wr_dma[10] = ffffffff pcie_wr_dma[11] = ffffffff -1 strlen(dst)=0 Sending read DMA pcie_rd_dma[0] = ffffffff pcie_rd_dma[1] = ffffffff pcie_rd_dma[2] = ffffffff pcie_rd_dma[3] = ffffffff -1 Sending write DMA Setting up stream to memory DMA eth_wr_dma[0] = ffffffff eth_wr_dma[1] = ffffffff eth_wr_dma[2] = ffffffff eth_wr_dma[3] = ffffffff Sending memory to stream DMA eth_rd_dma[0] = ffffffff eth_rd_dma[1] = ffffffff eth_rd_dma[2] = ffffffff eth_rd_dma[3] = ffffffff Sending read DMA pcie_wr_dma[8] = ffffffff pcie_wr_dma[9] = ffffffff pcie_wr_dma[10] = ffffffff pcie_wr_dma[11] = ffffffff -1 strlen(dst)=0 ```
Author
Owner

Somehow after sending the read DMA, everything comes back as all 1s. What happens there?

Somehow after sending the read DMA, everything comes back as all 1s. What happens there?
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bslathi19/alibaba_pcie#4