中级会员
- 积分
- 253
- 金钱
- 253
- 注册时间
- 2012-3-8
- 在线时间
- 29 小时
|
楼主 |
发表于 2016-10-17 21:19:18
|
显示全部楼层
int ETH_Tx(unsigned char *Buffer,unsigned int Length)
{
unsigned int i;
if(!PhyLinkUp)
return -1;
printf("ETH->DMASR:%x\n\r",ETH->DMASR);
printf("TxDes[0].DES0:%x\n\r",TxDes[0].DES0);
printf("TxDes[0]:%x\n\r",(unsigned int)&TxDes[0]);
printf("ETH->DMATDLAR:%x\n\r",ETH->DMATDLAR);
......
一些调试信息
ETH->DMASR:660004
TxDes[0].DES0:30d00000
TxDes[0]:200009c8
ETH->DMATDLAR:200009c8
ETH->DMASR:670444
TxDes[0].DES0:30d00000
TxDes[0]:200009c8
ETH->DMATDLAR:200009c8
ETH->DMASR:670444
TxDes[0].DES0:b0d00000
TxDes[0]:200009c8
ETH->DMATDLAR:200009c8
ETH->DMASR:670444
TxDes[0].DES0:b0d00000
TxDes[0]:200009c8
ETH->DMATDLAR:200009c8
ETH->DMASR:660404
TxDes[0].DES0:b0d00000
TxDes[0]:200009c8
ETH->DMATDLAR:200009c8
|
|