阅读:1788回复:0
麻烦指点:关于dm9000a在2440-wince5.0下的设置错误
我用的是2440、wince5.0的板子。外部中断用的EINT7,CMD连在ADR2上,片选为nGCS3。
现在DM9000a的34引脚‘INT’一直为低,即是没有中断信号。LCD触摸屏会在有片选时卡住,就是屏上出现黑线,并无法通过输入,即:鼠标无法移动,按键没用。我觉得就是dm9000a的中断导致的问题,使内核被dm9000a占用过长。 在Platform.reg的dm9000a的注册信息中:(如下) [HKEY_LOCAL_MACHINE\Comm\DM9CE1\Parms] "BusNumber"=dword:0 "BusType"=dword:0 "XmitBuffer"=dword:20 "RecvBuffer"=dword:20 "IrqNumber"=dword:0d "SysIntr"=dword:12 "IoAddress"=dword:18000000 "NetworkAddress"="e0aac8de6351" 其中"IrqNumber"应该怎么计算呢,是哪些参数的和呢?或者在哪个函数里查看相关参数? "SysIntr"的值是SysIntr_firmware+2,即是16+2。应为在bsp_cfg.h中有sysintr_ether (sysintr_firmware+2)。 我觉得中断的问题似乎就是出在这里的设置上。麻烦说的详细点。 现在在烧入内核时出现了这样的错: 。。。 I2C Init IIC IRQ mapping: [IRQ:27->sysIRQ:21]. OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52 OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62 EINT7 Enable CamClockOn = 1 //这里就表明了系统启动完成了,以下是啥东西? Camera::Block TX Ended... CAMERA.DLL::InterruptThread Initialized. CAMERA: CIS_Open CIS: IOCTL_POWER_CAPABILITIES CAMERA: CIS_Open CAMERA: CIS_Close //没用摄像头 DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded. ERROR: function @ Ordinal 27184 missing in Module 'cxport.dll' !!! Please Check your SYSGEN variable !!! ERROR: function @ Ordinal 27184 missing in Module 'cxport.dll' !!! Please Check your SYSGEN variable !!! ERROR: function @ Ordinal 27184 missing in Module 'cxport.dll' !!! Please Check your SYSGEN variable !!! DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded. HW_USBClocks::D0 HW_USBClocks::D4 OEMIoControl: Unsupported Code 0x10100fc - device 0x0101 func 63 Lyg.p: Layout Manager successfully initialized to 2 Maximum Allowed Error 1280: MSIM: IM_ReadRegistry read KB 5 CamClockOn = 0 Explorer(V2.0) taskbar thread started. NDISPWR:: Found adapter [DM9CE1] HW_USBClocks::D0 麻烦大家帮忙分析一下,多谢了。 |
|