• 0
dk_vhd

ethernet DMA is blocked when another DMA is added

Question

I am using a Genesys 2 board. for connecting to PC via 1000T Ethernet. When I create a basic project as in link below, the echo_server works fine.

https://reference.digilentinc.com/genesys2/gsmbs

Above solution uses a AXI DMA in Ethernet and Microblaze path.

With above solution, I add another DMA to connect to a fifo block.

When I run SDK, I see that Ethernet path is broken and I see the following messages:

TCP packets sent to port 6001 will be echoed back
WARNING: Not a Marvell or TI Ethernet PHY. Please verify the
initialization sequence
link speed: 1000
Error set buf addr 80021D16 with 4 and 3, 2
Error set buf addr 80021F16 with 4 and 3, 2
Error set buf addr 80022116 with 4 and 3, 2
DHCP Timeout
Configuring default IP of 192.168.1.10
Board IP: 192.168.1.10
Netmask : 255.255.255.0
Gateway : 192.168.1.1
TCP echo server started @ port 7
Error set buf addr 80022316 with 4 and 3, 2
Error set buf addr 80022516 with 4 and 3, 2
 

When I debugged the issue, I see that  MM2S path of Ethernet DMA is blocked. FOllowing shows the register dump of AXI DMA.

dma_reg 0x41E10000 : 0x01017002: 0x00015049: 0x80028100: 0x00000000
dma_reg 0x41E10010 : 0x80028100: 0x00000000: 0x00000000: 0x00000000
dma_reg 0x41E10020 : 0x00000000: 0x00000000: 0x00000000: 0x00000003
dma_reg 0x41E10030 : 0x01017002: 0x00010009: 0x80027B80: 0x00000000
dma_reg 0x41E10040 : 0x80027B80: 0x00000000: 0x00000000: 0x00000000
dma_reg 0x41E10050 : 0x00000000: 0x00000000: 0x00000000: 0x00000000
 

Can somebody help me overcoming this issue.

Deepak

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi Deepak,

I have asked some of our applications engineers about this; they will get back to you here on the forum.

Thanks,
JColvin

Share this post


Link to post
Share on other sites
  • 0

Hi Deepak,

Please post your block diagram so we can better assist you. My first thought is that the Ethernet software is using the new DMA instead of the DMA generated for the Ethernet.    

thank you,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now