Clear EnetTx buffer in FRDM-K64F board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Clear EnetTx buffer in FRDM-K64F board

529 次查看
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.

0 项奖励
回复
1 回复

454 次查看
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 项奖励
回复