Clear EnetTx buffer in FRDM-K64F board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Clear EnetTx buffer in FRDM-K64F board

484件の閲覧回数
maksim_lipskiy
Contributor III

Hello everybody!
Sometimes when working with the FRDM-K64F board, there is a situation when the transmit buffer may not be cleared "ENET_DRV_CleanupTxBuffDescrip(enetIfPtr);".

Flag enetIfPtr->bdContext.isTxBdFull  is always set.
How do I fix this error?
Thanks.

PS: Sorry form my English.

ラベル(2)
0 件の賞賛
返信
1 返信

409件の閲覧回数
isaacavila
NXP Employee
NXP Employee

Hello,

This flag is set as long as last packet is not sent (or ACKed on a TCP transmission). Stack (in your case, lwIP) should handle the logic to change TxPointers once these message are sent.

In other words, you should not clear this flag manually until lwIP defines if previous packet was sent correctly

What application are you using? Did you try to use a sniffer to check if data is sent/receive correctly?

Regards,

Isaac

0 件の賞賛
返信