WINCE 7:SDCard未安装EMAC驱动程序

时间:2014-03-14 08:24:59

标签: windows-ce sd-card ethernet

我们正在使用WINCE 7 sdmmc驱动程序,它在没有EMAC驱动程序的情况下正常工作。

在目录项中启用EMAC驱动程序后,SD卡的安装次数会减少。大部分时间SD文件夹未显示在MyDevice中(在Storage Manager控件面板小程序SD中列出的位置)

这里我添加了Platform.reg文件的SDMMC部分:

IF BSP_SDMMC
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDMMC1]
    "Order"=dword:26
    "Dll"="sdmmc.dll"
    "Prefix"="MMC"
    "Index"=dword:1
    ;"DisableDMA"=dword:1                                      ; Use this reg setting to disable both internal and external DMA
    "MaximumClockFrequency"=dword:2FAF080           ; 50 MHz max clock speed
    ;"WakeupSource"=dword:1                                  ; this will enable system wakeup when card is inserted or removed during suspend state


ENDIF ;BSP_SDMMC

Emac.reg文件:

[HKEY_LOCAL_MACHINE\Comm\EMAC1]
   "DisplayName"="EMAC Ethernet Driver"
   "Group"="NDIS"
   "ImagePath"="EMAC.dll"

[HKEY_LOCAL_MACHINE\Comm\EMAC1\Parms]
   "BusNumber"=dword:0
   "BusType"=dword:0
   "IRQ"=dword:98
   "ioBase"=dword:31
   "ioLen"=dword:10
   "memBase"=dword:D03CD610
   "memLen"=dword:1000
   "Order"=dword:30
   ; DuplexMode: 0:AutoDetect; 1:HalfDuplex; 2:FullDuplex.
   "DuplexMode"=dword:0
   ; The Ethernet Physical Address. For example,
   ; Ethernet Address 00:24:20:10:bf:03 is MACAddress1=0024,
   ; MACAddress2=2010,and MACAddress3=bf03.
   "MACAddress1"=dword:0001
   "MACAddress2"=dword:0203
   "MACAddress3"=dword:0405
   "*IfType"=dword:6               ; IF_TYPE_IEEE802_3
   "*MediaType"=dword:0            ; NdisMediumNative802_3
   "*PhysicalMediaType"=dword:D   ; NdisPhysicalMedium802_3

请帮助我。

2 个答案:

答案 0 :(得分:1)

SDMMC的顺序是什么,EMAC驱动程序的顺序是什么?

首先加载哪个?

更改这些订单并尝试。

答案 1 :(得分:1)

在我将EMAC的顺序从5更改为30(大于SDMMC订单)后问题得到解决。