P
parsh.xx
Hi all
I have been provided some part of the code for serial driver for my
BSP.So i have added the
rest of the code from the sample provided in public\common\oak\drivers
\serial and have built
the dll...............the dll loads successfully, and calls COM_Init
and then enters teh PDD section where it tries to intialise the
hardware............
But my problem is that it fails at the point where it has to read the
IOBase and IOLen values from the registry coz my registry doesnot have
those settings ........................
Can anyone tell me how to change the registry settings to inlude these
values....................
Have a look at my registry values:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1]
"Irq"=dword:14 ; 20 IRQ_STUART
"SysIntr"=dword:34 ; 27 SYSINTR_SFUART
"MemBase"=dword:40700000
"MemLen"=dword:40
"Priority256"=dword:64
"Order"=dword:2
"Prefix"="COM"
"Index"=dword:1
"Dll"="com16550.dll"
;"Flags"=dword:4 ; DEVFLAGS_NAKEDENTRIES
"DeviceArrayIndex" = dword:1
"RegStride"=dword:4
"WaterMarker"=dword:0
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"Irq"=dword:14 ; 20 IRQ_STUART
"SysIntr"=dword:34 ; 27 SYSINTR_SFUART
"MemBase"=dword:40700000
"MemLen"=dword:40
"Priority256"=dword:64
"Order"=dword:0
"Prefix"="COM"
"Index"=dword:2
"Dll"="com16550.dll"
; "Flags"=dword:4 ; DEVFLAGS_NAKEDENTRIES
"DeviceArrayIndex" = dword:2
"RegStride"=dword:4
"WaterMarker"=dword:0
"IRConnected"=dword:1
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
I have been provided some part of the code for serial driver for my
BSP.So i have added the
rest of the code from the sample provided in public\common\oak\drivers
\serial and have built
the dll...............the dll loads successfully, and calls COM_Init
and then enters teh PDD section where it tries to intialise the
hardware............
But my problem is that it fails at the point where it has to read the
IOBase and IOLen values from the registry coz my registry doesnot have
those settings ........................
Can anyone tell me how to change the registry settings to inlude these
values....................
Have a look at my registry values:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1]
"Irq"=dword:14 ; 20 IRQ_STUART
"SysIntr"=dword:34 ; 27 SYSINTR_SFUART
"MemBase"=dword:40700000
"MemLen"=dword:40
"Priority256"=dword:64
"Order"=dword:2
"Prefix"="COM"
"Index"=dword:1
"Dll"="com16550.dll"
;"Flags"=dword:4 ; DEVFLAGS_NAKEDENTRIES
"DeviceArrayIndex" = dword:1
"RegStride"=dword:4
"WaterMarker"=dword:0
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"Irq"=dword:14 ; 20 IRQ_STUART
"SysIntr"=dword:34 ; 27 SYSINTR_SFUART
"MemBase"=dword:40700000
"MemLen"=dword:40
"Priority256"=dword:64
"Order"=dword:0
"Prefix"="COM"
"Index"=dword:2
"Dll"="com16550.dll"
; "Flags"=dword:4 ; DEVFLAGS_NAKEDENTRIES
"DeviceArrayIndex" = dword:2
"RegStride"=dword:4
"WaterMarker"=dword:0
"IRConnected"=dword:1
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"