I am facing a tx underrun error in lpc1768 emac driver

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

I am facing a tx underrun error in lpc1768 emac driver

4,070 Views
ankish_sharma1
Contributor I

I am using lpc port for lwip2.0.1 and facing a random delay in transmission .Debugging the emac driver gives me a tx underrun bit set in the TSV0 register every time a delay occurs.Had someone experienced the same issue and is there some reliable fix for this.

Thanks

Labels (1)
0 Kudos
Reply
22 Replies

180 Views
ankish_sharma1
Contributor I

Hi

I am getting the overrun status on my debugger window have attached the debugging window snapshot

so I think below is the reason for a underrun out of three reasons

The transmission fragment data is not available when the Ethernet block has already

started sending the frame. This is a nonfatal error. An Underrun status will be returned

on transfer and the TxError bit in IntStatus will be set.

But I don’t know how to resolve this issue

I increased the tx descriptors to 6 from 4 but it didn’t helped

Mit freundlichen Grüßen

Best regards

Ankish Sharma

Software Development

Helmholz GmbH & Co. KG

Hannberger Weg 2

91091 Großenseebach

Germany

Phone: +49 9135 7380 - 0

Fax:

E-Mail: Ankish.Sharma@helmholz.de<mailto:Ankish.Sharma@helmholz.de>

Internet:

Reg. Gericht Fürth (Bay.) HRA 10671

Persönlich haftende Gesellschafterin Helmholz Verwaltungs GmbH

Reg. Gericht Fürth (Bay.) HRB 15642

Geschäftsführer: Carsten Bokholt, Karsten Eichmüller

0 Kudos
Reply

180 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Hi ankish sharma,

Thanks for your reply.
To provide the fastest possible support, I'd highly recommend you to refer to the Lwip demo in the LPCOpen library, use the demo as a template.

Please give a try.

LPCOpen Software for LPC17XX | NXP

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