* Re: CompactFlash Viking problem
@ 2000-01-04 1:12 Paul Rubin
0 siblings, 0 replies; 5+ messages in thread
From: Paul Rubin @ 2000-01-04 1:12 UTC (permalink / raw)
To: damm, dhinds; +Cc: linuxppc-embedded, nknack, phr-pcmcia
This is interesting. I remember having the impression that my Viking
card problems were due to expecting the wrong voltages from the PC.
The basis of this was some log messages when Linux booted. I saw
similar problems under Windows. Unfortunately I don't remember any
details. I might try experimenting with that card again. Meanwhile,
I've never noticed the problem with the 45 MB Microtech CF card I've been
using. If I upgrade cards, I might try one of the Sandisk Flashdrives.
These are 2.5" devices with an IDE face, i.e. you plug it straight into
an IDE disk connector, not PCMCIA. Cost per MB is about the same as
their CF cards.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* CompactFlash Viking problem
@ 1999-12-30 12:46 Magnus Damm
1999-12-30 16:16 ` Dan Malek
1999-12-30 18:41 ` David Hinds
0 siblings, 2 replies; 5+ messages in thread
From: Magnus Damm @ 1999-12-30 12:46 UTC (permalink / raw)
To: dhinds; +Cc: linuxppc-embedded, phr-pcmcia, nknack
Hello!
I've been playing around with the 8xxrom pcmcia code and
done some simple CIS parsing code.
I am using a ADS860 Rev B board.
The MMU is off, the code is running from flash.
I've done a workaround for the bugs in the MACH-circuits.
The code works fine with:
SanDisk CompactFlash
Mitsubishi CompactFlash
Ericsson Pcmcia V34 Modem
The following card does not work:
Viking components CompactFlash.
My code reads the attribute space on each card
and parses the tuples. The problem is that the
Viking card gives me correct CIS sometimes,
but mostly crap (I guess some kind of test-pattern).
This leads to no end-of-cis marker, which is bad.
I browsed the net and found that Paul Rubin have had a problem
that seems related:
http://hyper.stanford.edu/HyperNews/get/pcmcia/ataide/39.html
People has experienced problem with Viking components before:
http://www.goof.com/~mmead/dc120/mail-archive/9806/msg00026.html
I've contacted Viking support but they told me that they didn't
do that kind of tech-support.
Another thing is that if I stick to access the ATA registers
all CompactFlash cards (even the Viking) work.
Any ideas, workarounds, similar problems?
TIA /
Magnus Damm
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CompactFlash Viking problem
1999-12-30 12:46 Magnus Damm
@ 1999-12-30 16:16 ` Dan Malek
1999-12-30 18:39 ` David Hinds
1999-12-30 18:41 ` David Hinds
1 sibling, 1 reply; 5+ messages in thread
From: Dan Malek @ 1999-12-30 16:16 UTC (permalink / raw)
To: Magnus Damm; +Cc: dhinds, linuxppc-embedded, phr-pcmcia, nknack
Magnus Damm wrote:
> Another thing is that if I stick to access the ATA registers
> all CompactFlash cards (even the Viking) work.
I haven't been very successful using Flash cards (PCMCIA or
Compact Flash) as pure memory devices. I have always ended up
using them as ATA disk drives.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CompactFlash Viking problem
1999-12-30 16:16 ` Dan Malek
@ 1999-12-30 18:39 ` David Hinds
0 siblings, 0 replies; 5+ messages in thread
From: David Hinds @ 1999-12-30 18:39 UTC (permalink / raw)
To: Dan Malek; +Cc: Magnus Damm, dhinds, linuxppc-embedded, phr-pcmcia, nknack
On Thu, Dec 30, 1999 at 11:16:31AM -0500, Dan Malek wrote:
> Magnus Damm wrote:
>
> > Another thing is that if I stick to access the ATA registers
> > all CompactFlash cards (even the Viking) work.
>
> I haven't been very successful using Flash cards (PCMCIA or
> Compact Flash) as pure memory devices. I have always ended up
> using them as ATA disk drives.
I don't know of any cards that can actually be used either way (either
as a plain memory card, or as an ATA device). As far as I know, they
are either one or the other. All PCMCIA ATA devices are supposed to
support a memory mapped access mode, but that just puts the ATA
registers in memory space instead of IO space.
-- Dave
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CompactFlash Viking problem
1999-12-30 12:46 Magnus Damm
1999-12-30 16:16 ` Dan Malek
@ 1999-12-30 18:41 ` David Hinds
1 sibling, 0 replies; 5+ messages in thread
From: David Hinds @ 1999-12-30 18:41 UTC (permalink / raw)
To: Magnus Damm; +Cc: dhinds, linuxppc-embedded, phr-pcmcia, nknack
On Thu, Dec 30, 1999 at 01:46:47PM +0100, Magnus Damm wrote:
>
> My code reads the attribute space on each card
> and parses the tuples. The problem is that the
> Viking card gives me correct CIS sometimes,
> but mostly crap (I guess some kind of test-pattern).
> This leads to no end-of-cis marker, which is bad.
It's possible that the card is reporting "ready" too early, before the
CIS is actually readable. You might try working around the problem by
increasing the delays in the power-up sequence.
-- Dave
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-01-04 1:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-04 1:12 CompactFlash Viking problem Paul Rubin
-- strict thread matches above, loose matches on Subject: below --
1999-12-30 12:46 Magnus Damm
1999-12-30 16:16 ` Dan Malek
1999-12-30 18:39 ` David Hinds
1999-12-30 18:41 ` David Hinds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).