完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
I am devloping Ethernet IP101A with RMII interface on AM335x wince7 platform. Now IP101A is detected successfully. but can not get IP address with DHCP mode; if set static IP, then can not pin successfully the wince on PC. I also check the interrupt in |
|
相关推荐
4个回答
|
|
看了一下你的log,这个地方:你是要把他配成XGMII?我们的335的千兆网只支持RGMII
PID:00400002 TID:01370006 LinkSpeed is not currently supported. PID:00400002 TID:01370006 LinkDuplex is not currently supported. PID:00400002 TID:01370006 Cpsw_read_port_setting: read subkey failed PID:00400002 TID:01370006 Read port settings failed PID:00400002 TID:01370006 Xgmii_sel=45 PID:00400002 TID:01370006 Xgmii_sel=45 |
|
|
|
hwjj940056201 发表于 2018-5-15 04:40 Dear Steven liu, appreciate your replying. maybe my information misguid you. below is my code: as below red colour code, I want use RMII interface control IP101A ic. so I set GMII_SEL = 0x45. NdisSetPhysicalAddressHigh(PhysicalAddress2, 0); NdisSetPhysicalAddressLow (PhysicalAddress2, AM33X_DEVICE_CONF_REGS_PA); Status = NdisMMapIoSpace((VOID*)&ControlRegsBase, pAdapter->AdapterHandle, PhysicalAddress2, sizeof(AM33X_DEVICE_CONF_REGS)); pControlRegs = NULL; if(Status == NDIS_STATUS_SUCCESS) [ pControlRegs=(AM33X_DEVICE_CONF_REGS *)ControlRegsBase; RETAILMSG(1,(L"Xgmii_sel=%xrn", pControlRegs->GMII_SEL)); pControlRegs->GMII_SEL = 0x45; RETAILMSG(1,(L"Xgmii_sel=%xrn", pControlRegs->GMII_SEL)); ] else [ RETAILMSG(1,(L"AM33X_DEVICE_CONF_REGS_PA NdisMMapIoSpace failrn")); ] |
|
|
|
hwjj940056201 发表于 2018-5-15 04:40 I want set gmii_sel register to 0x45 value |
|
|
|
TI AM3359 WINCE7 BSP BSP_WINCE_ARM_A8_02_30_00 don't support RMII interface driver. I already fixed this issue: I add below red code: Cpsw3g_adapter.c (platformcommonsrcsoccommon_ti_v1am33xcpsw3gminiport) // phyChan is 0 based. in this case it is already the right index. no // need to convert using P2I(). static void Cpsw3g_cpgmac_control(PCPSW3G_ADAPTER pAdapter, UINT32 phyChan) [ UINT32 macControlVal; macControlVal = pAdapter ->pCpsw3gRegsBase->SL_Regs[phyChan].SL_MacControl; if (pAdapter->PhyDevice[phyChan].link_duplex == FULL_DUPLEX) macControlVal |= (0x1 << CPMAC_MACCONTROL_FULLDUPLEXEN_SHIFT); else macControlVal &= ~(0x1 << CPMAC_MACCONTROL_FULLDUPLEXEN_SHIFT); if (pAdapter->PhyDevice[phyChan].link_speed == 1000000) macControlVal |= ((0x1 << CPMAC_MACCONTROL_GIGABITEN_SHIFT) | (0x1 << CPMAC_MACCONTROL_GIGFORCE_SHIFT)); else macControlVal &= ~((0x1 << CPMAC_MACCONTROL_GIGABITEN_SHIFT) | (0x1 << CPMAC_MACCONTROL_GIGFORCE_SHIFT)); macControlVal |= (0x1 << CPMAC_MACCONTROL_IFCTLA_SHIFT); // macControlVal |= (0x1 << CPMAC_MACCONTROL_IFCTLB_SHIFT); pAdapter ->pCpsw3gRegsBase->SL_Regs[phyChan].SL_MacControl = macControlVal; RETAILMSG(1,(L"Cpsw3g_cpgmac_control:%d, %xrn", phyChan,pAdapter ->pCpsw3gRegsBase->SL_Regs[phyChan].SL_MacControl)); ] |
|
|
|
只有小组成员才能发言,加入小组>>
354 浏览 1 评论
547 浏览 2 评论
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
793 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
664 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1141 浏览 1 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
91浏览 29评论
349浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
267浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
216浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
70浏览 13评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-30 01:26 , Processed in 1.007582 second(s), Total 85, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号