Wrong slot voltage detection on MPC862 PCMCIA

  • Sergei Poselenov

    I have a strange effect when inserting 5V card after
    3.3V one (I'm running pcmcia-cs-3.2.0 on ppc 2.2.4 kernel (ICU862 board)) - The socket input pin register (PIPR) reports the card as 3.3v (VS1 is 0), so the garbage is read from CIS and cardmgr crashes finally.

    When playing with card in other order (5v first then 3.3v) all goes fine - PIPR reports 3.3V (VS2 on Vs1 off).
    The problem seems to be generic - customer reports the similar problem on other 8xx board.

    What I've tried already:

    - More delays in voltage_set()
    - Assert/deassert PCMCIA reset bit in PGCRx while changing the voltage.
    - Set voltage to Hi-Z instead '0' when powering the slot off.

    Did anyone see such behaviour on 8xx boards?

    Thanks in advance for any help.


    • Sergei Poselenov

      Hi again,

      Explained above is turned to be the hardware bug on the
      one particular board. I misunderstood the problem report.



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks