MIMXRT1024-EVK - Can Only Receive One Packet Over Ethernet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIMXRT1024-EVK - Can Only Receive One Packet Over Ethernet

1,469 Views
John_Warila
Contributor I

We are trying to bring up ethernet networking on the MIMXRT1024-EVK boards and are encountering some strange behavior. We can receive only a single Rx packet per boot of the board. Tx packets work fine.

After dumping the KSZ8081 PHY registers, it seems to be performing correctly. And we physically validated that the clocks are the correct frequency.

When we look into the ENET registers we see that non of the frame/packet statistic registers update when an Rx packet is received, but we see the interrupt happening. Has anyone seen this behavior where the ENET seemingly drops the packet?

For reference we are using the SDK provided drivers, and lwIP for networking.

Labels (1)
0 Kudos
Reply
3 Replies

1,465 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
According to your reply, it seems like that the SDK's Lwip demos don't work well on the MIMXRT1024-EVK board and you guess it may be related to the KSZ8081 PHY chip, isn't my understanding right?
If Yes, I'd like to know whether you ever change the hardware circuit of the EVK board and the version of SDK you tested.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,458 Views
John_Warila
Contributor I

Hey thanks for the reply,

We have already exonerated the hardware by running the lwIP demos and seeing good results. We have taken the SDK generated drivers and lwIP middleware and pulled them into our build system (which is just arm-gcc like the MCUXPRESSO IDE). We don't believe it is the PHY either, since we don't see bytes getting into the PHY after the first packet.

0 Kudos
Reply

1,441 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
According to your reply, the PHY chip seems to work well.
For the SDK library, it supports running the demos with the Arm GCC toolchain and the attachment shows how to run a demo using Arm GCC, please refer to it to run the Lwip demo with the Arm GCC.
In further, the issue may be related to other functions in the application, however, it needs time to investigate.


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

 

0 Kudos
Reply