FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6125 ディスカッション

Cyclone V SoC Ethernet speed issue bare metal driver

Ranjithkumar828
初心者
1,753件の閲覧回数

Hi, 

We have developed an ethernet driver for Cyclone V SoC in bare-metal programming. When we are transmitting more than 80 bytes per packet in our customized board it is getting failed.  But the board can receive up to 1200 bytes in a packet.

We have used the UDP protocol.

I have tried pinging the IP with 100bytes ethernet getting unresponsive. 

we have taken the Arria10 driver as a reference and LWIP 2.0.3 as IP stack. 

We have KSZ9021RN PHY IC and configured as 10/100 Ethernet speed.

Checked the tx and RX descriptor's size and packet length and found them adequate for 1024 bytes. I have attached the code.

Seeking help from the experts. 

Kindly do the needful.

0 件の賞賛
1 解決策
Ranjithkumar828
初心者
1,689件の閲覧回数

Hi Aik Eu, 

 

The above issue is soved. Some macros related to dma configuration are commanded in code. After removing the command it is solved. 

Thanks.

 

元の投稿で解決策を見る

8 返答(返信)
aikeu
従業員
1,724件の閲覧回数

Hi Ranjithkumar828,


I will try to consult and see if there is any information which might help to answer your question.


Thanks.

Regards,

Aik Eu


Ranjithkumar828
初心者
1,690件の閲覧回数

Hi Aik Eu, 

 

The above issue is soved. Some macros related to dma configuration are commanded in code. After removing the command it is solved. 

Thanks.

 

GOMEZ_IT
新規コントリビューター I
378件の閲覧回数

Hi Ranjithkumar828..
Could you share the driver you created to send/receive UDP packets from the ethernet port?
I'm trying to do the same thing you did but with a DE10 nano board, for now without success, because I can't find a baremetal driver on the internet that allows me to use the ethernet port to send simple raw packets.
Would you be willing to give me some help?
Thank you,
Luca.

aikeu
従業員
1,635件の閲覧回数

Hi Ranjithkumar828,


Do let me know if you require further help.


Thanks.

Regards,

Aik Eu


Ranjithkumar828
初心者
1,612件の閲覧回数

Hi Aikeu, 

As i sent mail, When we trying to boot from  QSPI few interface like Etherenet and OLED (SPI) is not working. Please check that and provide solution for the same. 

aikeu
従業員
1,584件の閲覧回数

Hi Ranjithkumar828,


I think you will require to create another case related to the QSPI booting Ethernet and OLED function was not working for tracking purpose.


Thanks.

Regards,

Aik Eu


aikeu
従業員
1,578件の閲覧回数

Hi Ranjithkumar828,


Try to enable one ethernet or OLED function at a time for your system to boot up. This might help to see if those are related to timing issue due to initialization when perform QSPI boot up.


Thanks.

Regards,

Aik Eu


aikeu
従業員
1,544件の閲覧回数

Hi Ranjithkumar828,


I am closing this thread for now. Do consider open a new thread for the to other issues that you have mentioned.


Thanks.

Regards,

Aik Eu


返信