PCMCIA I82365 issue



Hi All,

I have WinCe 5.0 on GeodeLx platform .I set BSP_PCMCIA_I82365
environment variable and added i82365 from catalog items.When I made
my platform to support Hive Based Registry ,by adding following to
platform .reg
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="\\Documents and Settings\\system.hv"
"ProfileDir"="\\Documents and Settings"
"Flags"=dword:3
After I insert the PCMCIA CF card in the PCMCIA slot the system
hangs.
When the PCMCIA CF card is removed the system works normal.When I
changed Flags in Bootvars section to dword:0 ,pcmcia is working
fine,but registry settings are not saved.

Iam using Sandisk PCMCIA PC CARD ATA.
Adding my debug messages below.Could you please suggest some solutions
to fix this issue.



ISA PCCARD: ThreadRun Intr(nSocket=1) status bCardStatusChange = 0x8,
BSocketState = 0x3f
0x83f29800: CARDBUS: CPcmciaCardSocket (Socket=204 Index=2) Created
0x83f29800: FSREG: Invalid HKEY 0x000a4280
0x83f29800: PCCARD: PCMCIA (dwWinIndex=0) memory window created
0x83f29800: PCCARD: PCMCIA (dwWinIndex=1) memory window created
0x83f29800: PCCARD: PCMCIA (dwWinIndex=2) memory window created
0x83f29800: PCCARD: PCMCIA (dwWinIndex=3) memory window created
0x83f29800: PCCARD: PCMCIA (dwWinIndex=4) memory window created
0x83f29800: PCCARD: PCMCIA (dwWinIndex=0) memory window created
0x83f29800: PCCARD: PCMCIA (dwWinIndex=1) memory window created
0x83fcfce0: AsicSwitchChannel(RF=3, Pwr=7) to #8, R1=0x95002ccc,
R2=0x95004792, R3=0x95068e55, R4=0x950d2a1f
0x83fcfce0: AsicSwitchChannel(RF=3, Pwr=7) to #9, R1=0x95002ccc,
R2=0x95004796, R3=0x95068e55, R4=0x950d2a0b
0x83fcfce0: AsicSwitchChannel(RF=3, Pwr=7) to #10, R1=0x95002ccc,
R2=0x95004796, R3=0x95068e55, R4=0x950d2a1f
0x83f9da40: OEMIoControl: Unsupported Code 0x1010024 - device 0x0101
func 9
0x83fcfce0: AsicSwitchChannel(RF=3, Pwr=6) to #11, R1=0x95002ccc,
R2=0x9500479a, R3=0x95068c55, R4=0x950d2a0b
0x83fcfce0: AsicSwitchChannel(RF=3, Pwr=5) to #12, R1=0x95002ccc,
R2=0x9500479a, R3=0x95068a55, R4=0x950d2a1f
0x83e48a28: ISA PCCARD: ThreadRun Intr(nSocket=1) status
bCardStatusChange = 0x4, BSocketState = 0x6f
0x83f29800: ISA PCCARD: ThreadRun Intr(nSocket=1) status
bCardStatusChange = 0x4, BSocketState = 0x6f
0x83fcfce0: AsicSwitchChannel(RF=3, Pwr=4) to #13, R1=0x95002ccc,
R2=0x9500479e, R3=0x95068855, R4=0x950d2a0b
0x83fcfce0: AsicAdjustTxPower = 29, AvgRssi = -121
0x83fcfce0: RT61: GPIO5 = High, Hardware Radio On...
0x83b0fd7c: Query::OID_GEN_PHYSICAL_MEDIUM OpMode=0
0x83afd830: GetCardCRC: CardGetNextTuple returned fails
0x83afd830: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers
\PCCARD\PCMCIA\INSTANCE\ATADISKA2\BusPrefix) returned 2
0x83fcfce0: AsicSwitchChannel(RF=3, Pwr=6) to #14, R1=0x95002ccc,
R2=0x950047a2, R3=0x95068c55, R4=0x950d2a13
0x83afd830: Atapi!DumpRegKey> Drivers\Active\26
0x83afd830: Hnd = 0172F910
0x83afd830: Name = IDE2:
0x83afd830: Key = Drivers\PCCARD\PCMCIA\INSTANCE\ATADISKA2
0x83afd830: InterfaceType = 00000001
0x83afd830: BusParent = 00032C00
0x83afd830: BusName = PCCARD_0_1_0
0x83afd830: Atapi!DumpRegKey> Drivers\PCCARD\PCMCIA\INSTANCE
\ATADISKA2
0x83afd830: SysIntr = 00000020
0x83afd830: Irq = 0000000B
0x83afd830: IoLen :
0x83fcfce0: SYNC - End of SCAN, restore to channel 1, Total BSS[01]
0x83fcfce0: AsicSwitchChannel(RF=3, Pwr=29) to #1, R1=0x95002ccc,
R2=0x95004786, R3=0x9506ba55, R4=0x950d2a0b
0x83fcfce0: SCAN done, resume MSDU transmission ...
0x83afd830: 8
0x83afd830: 2
0x83afd830: IoBase :
0x83afd830: 81f0
0x83afd830: 83f6
0x83afd830: FunctionNumber = 00000000
0x83afd830: DeviceNumber = 00000000
0x83afd830: BusNumber = 00000000
0x83afd830: InterfaceType = 00000001
0x83afd830: RegisterStride = 00000001
0x83afd830: AlternateStatusOffset = 00000000
0x83afd830: DeviceControlOffset = 00000000
0x83afd830: IsrHandler = ISRHandler
0x83afd830: IsrDll = giisr.dll
0x83afd830: SpawnFunction = CreatePCMCIA
0x83afd830: StatusPollCyclePause = 00000005
0x83afd830: StatusPollsPerCycle = 00000020
0x83afd830: StatusPollCycles = 00000100
0x83afd830: SoftResetTimeout = 00000003
0x83afd830: Legacy = 00000000
0x83afd830: Order = 00000006
0x83afd830: Dll = atapi.dll
0x83afd830: Prefix = IDE
0x83afd830: IOADDR_HIGHESTBIT_SET = 00000001
0x83afd830: FUNCTION_ID = 00000004
0x83afd830: Atapi!IDE_Init> Start of IDE/ATA device enumeration
0x83afd830: Atapi!IDE_Init> Enumerated IDE/ATA device Drivers\PCCARD
\PCMCIA\INSTANCE\ATADISKA2\Device0
0x83afd830: Atapi!IDE_Init> End of IDE/ATA device enumeration
0x83afd830: Atapi!IDE_Init> Activating IDE/ATA device Drivers\PCCARD
\PCMCIA\INSTANCE\ATADISKA2\Device0
0x83afd830: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers
\PCCARD\PCMCIA\INSTANCE\ATADISKA2\Device0\BusPrefix) returned 2
0x83afd830: Atapi!DumpRegKey> Drivers\Active\27
0x83afd830: Hnd = 01730000
0x83afd830: Name = DSK2:
0x83afd830: Key = Drivers\PCCARD\PCMCIA\INSTANCE\ATADISKA2\Device0
0x83afd830: Atapi!DumpRegKey> Drivers\PCCARD\PCMCIA\INSTANCE
\ATADISKA2\Device0
0x83afd830: Port = 0172FB40
0x83afd830: TransferMode = 000000FF
0x83afd830: DeviceId = 00000000
0x83afd830: LookAhead = 00000001
0x83afd830: WriteCache = 00000001
0x83afd830: DrqDataBlockSize = 00000200
0x83afd830: DoubleBufferSize = 00010000
0x83afd830: DMA = 00000001
0x83afd830: InterruptDriven = 00000000
0x83afd830: Dll = atapi.dll
0x83afd830: Prefix = DSK
0x83fcfce0: RSSI=-121, CCA=5744, ++R17= 0x2b
0x83fcfce0: AsicAdjustTxPower = 29, AvgRssi = -121
0x83afd830: IClass :
0x83afd830: {A4E7EDDA-E575-4252-9D6B-4195D48BB865}

Here debug message also get stopped and system hangs.

Please suggest some solutions to fix this issue.

Thanks in advance.

Sam

.



Relevant Pages

  • Re: PCMCIA I82365 issue
    ... PC Card socket driver and PC Card service has to be loaded at phase one. ... After I insert the PCMCIA CF card in the PCMCIA slot the system ... ISA PCCARD: ThreadRun Intrstatus bCardStatusChange = 0x8, ... 0x83f29800: PCCARD: PCMCIA memory window created ...
    (microsoft.public.windowsce.platbuilder)
  • Re: System Hangs after inserting PCMCIA CF card
    ... The device has Realtek Wireless card mounted on it. ... After I insert the PCMCIA CF card in the PCMCIA slot the system hangs. ... 0x83e53000: PCCARD: PCMCIA memory window created ...
    (microsoft.public.windowsce.platbuilder)
  • Re: libata and legacy ide pcmcia failure
    ... but ISTR some CFA PCMCIA devices that needed polling... ... cs: IO port probe 0x4000-0x8fff: clean. ... pcmcia: parent PCI bridge Memory window: 0xc0200000 - 0xcfffffff ...
    (Linux-Kernel)
  • Re: image hangs on PCMCIA driver unload
    ... > I am trying to build a simple Windows CE image for some ... but in no way can the PCMCIA ... > lean platform, based on x86 National Semiconductor BSP, ... > workspace, even though it never war selected nor asked ...
    (microsoft.public.windowsce.platbuilder)
  • Re: PB 4.2 feature dependency problem - pcmcia
    ... The PB dependency checker is pretty buggy, so set this registry DWORD value ... > I have noticed the following strange behaviour in Platform ... > Since the platform I paln to target does not have PCMCIA ... > PCMCIA part is getting stuck in platform window. ...
    (microsoft.public.windowsce.platbuilder)

Loading