cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
1,637 Views
Registered: ‎05-12-2012

EmacPs hang after program thru SDK

 Hi. I faced with the problem, that my design properly worked from SD card, but when I reprogram PS from SDK there is no input packets I can receive.

 

My HW configuration is ZYNQ045 + Marvell 88E1518. Ethernets GMII intefaces routed thru EMIO and I use standard GMII2RGMII converter. I connect my device to the 100Mbit switch.

My SW configuration is lwIP Echo Server whithout any modifications. I use Vivado 2016.2.

 

I try to chipscope this, but it seems that problem is in software part. On timing diagrams I can see all the packets staggering in my net right before PS7 conponent.

I try to read GEM0 statistics register and I see that some times it recieve 1 correct packet 40 or 60 bytes in length.

LwIP debug send me infinite tcp_slowtmr: no active pcbs.

I try also use all possible resets (PHY hw reset, XEmacPs_ResetHw...) on start my program, but nothing helped.

 

 

Maybe I missed something? Appreceate any suggestions.

 

0 Kudos
2 Replies
Highlighted
Adventurer
Adventurer
1,581 Views
Registered: ‎05-12-2012

I try 2016.4, same behaviour. It seems that interrupts or dma is hanging. Does it hardware bug?

0 Kudos
Highlighted
Adventurer
Adventurer
1,577 Views
Registered: ‎05-12-2012

Temporary solve my problem by unmark ps7_init script on start of my program.

In the same time ps7_post_config is not cause hang. But unmark it just in case.

2017-04-15_16-00-26 (2).png

0 Kudos