CompactFlash writes without CE1

From: Stanislaw Skowronek (thesis_at_NOSPAM.elementy.pl)
Date: 05/30/04


Date: Sun, 30 May 2004 10:47:12 +0200

Hello!

I have a problem with my CompactFlash device, based on the SH7727. The
card has its dedicated CE1 and CE2 pins on this device (a built-in PCMCIA
controller is present). However, even when I write to some other memory
area (like UART, which is mapped into a different CE area but has its own
bus), the card is also written to (which, of course, confuses the hell out
of it).

The card says it's "Hitachi XXM2.3.0", "Rev. 3.00" - I read it through the
JTAG connector in the same device. Strangely enough, JTAG-controlled bus
writes to other devices have no effect, so there are no shorts between
different chip enables. Only when the CPU runs (and at a fairly slow bus
frequency at that - 6 MHz), the problem becomes apparent.

More, when I looked at the CE1 line (at the card, not at the processor)
with a scope, I saw *nothing* during the invalid writes. Attaching a small
(1 nF) cap to the line also didn't help (I hoped it would arrest spurious
pulses). The card definitely has proper supply decoupling (100 nF in
parallel with 1 uF ceramic, 47 uF organic tantalum somewhat farther on the
board).

The effect is extremely reliable and repeatable. Even a single write to
the selected address (any address with 0x200 at the end that also asserts
WE) causes a mis-write to the CF card config register at 0x200.

Do you perhaps have any clues? If so, please help.

Baffled,

Stanislaw Skowronek



Relevant Pages

  • Re: P5/Celeron comments?
    ... type of video capture card require. ... That restriction is caused by the mix of PCI Express and PCI ... which means a PCI bus card may get the "short straw". ... and you only get time slices from each camera. ...
    (alt.comp.periphs.mainboard.asus)
  • My First Posted Trip Report... Day 6 of 8
    ... This is the first time I've actually POSTED a trip report on radp although I've made up several and put them on my web site lame though it may be. ... Didn't bother to go back to BWV since the bus that goes there also comes here. ... When we got to the Dolphin, some little girl tried to reach up to the hand grips for standing passengers and missed it by a good four inches. ... Now, earlier in the day, I had gotten a new room card because I've had so many problems with vendors not being able to swipe the card and get the info off the magnetic stripe. ...
    (rec.arts.disney.parks)
  • [BETA2 panic] _mtx_lock_sleep: recursed on non-recursive mutex sbc0
    ... As soon as I try to use the sound card, ... Bus ID IRQ APIC ID ... acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 ... Sequencer Free SCB List: 31 ...
    (freebsd-current)
  • Why SGPoreans so fierce and violent?
    ... She claws driver till he BLEEDS ... concession card ... But inside his bus cabin, the 33-year-old driver was helpless against ... concession card. ...
    (soc.culture.singapore)
  • Re: Why SGPoreans so fierce and violent?
    ... She claws driver till he BLEEDS ... concession card ... But inside his bus cabin, the 33-year-old driver was helpless against ... concession card. ...
    (soc.culture.singapore)