LPC1764 +TLK105

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

LPC1764 +TLK105

2,224 Views
djtilava
Contributor II

I am using LPC1764 +TLK105(PHY) in my application which is web server . It is running  good for some times after that it does not give ping also. WHile communication to other devices on UART is running ok . So what will be the issue?#LPC1764 #ETHERNET 

Labels (2)
5 Replies

1,592 Views
djtilava
Contributor II

Tahank you for your reply jeremyzhou.

In my application I got data on RS485 device and i display on web using LPC1764+TLK105. After some time ping is dropped and also web-page is not display. If i go through debugger RxConsumeIndex and RxProduceIndex are same. So received data is not processed. It work fine but only for some time.

p = lpc_low_level_input(netif);
if (p == NULL) {
return;
}

In above code  lpc_low_level_input(netif) function return NULL value. If i restart my device then everything is ok.

0 Kudos
Reply

1,592 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Divyesh Tilava,

Thanks for your reply.

I think I need the more information.

Had you ever used the Wireshark to illustrate the communication between the PC and target device?

If yes, I was wondering if you can share with me.
Have a great day,
Ping

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

0 Kudos
Reply

1,592 Views
djtilava
Contributor II

hello  jeremyzhou,

Yes i have test it with wireshark . The ping request goes successfully but no reply from device. Will you please guide me how to allocate pbuf in Memory pool? and for that how to modified  lpc17xx_40xx_emac.c file driver?

0 Kudos
Reply

1,592 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Divyesh Tilava,,

Thanks for your reply.

I'd highly recommend you to refer to the Lwip demos in the LPCOpen library prior to other demos.

LPCOpen library:

LPCOpen Software for LPC17XX|NXP 

I think these demos will illustrate the cooperation with the Lwip TCP/IP stack.

Hope it helps.
Have a great day,
Ping

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

1,592 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Divyesh Tilava,

Thanks for your interest in NXP Semiconductor products and for the opportunity to serve you.

I was wondering if you can describe the law of Ethernet issue, it can help to me to figure out the root cause of the issue.
Have a great day,
Ping

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

0 Kudos
Reply