Re: loading memory_cs.o instead of ide-cs.o !?!?

Steven Scholz <[email protected]> Wed, 02 Jul 2003 08:41:22 +0200
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
I wrote:

> my system (linux-2.4.20 /w Linux PCMCIA Card Services 3.2.4) sometimes 
> (e.g. after warm start) tries to load memory_cs.o (or even sram_mtd.o) 
> instead of ide-cs.o for some PCMCIA flash disks!
> 
> A SanDisk is working fine. But a "SipleTech 90MB ATA Flash Storage" 
> shows this problem!
> 
> Anyone any idea? Or seen that before?

I might have found the problem!

The troublemaking SimpleTech cards do know a "True IDE Mode" which is 
activated if -OE is kept low. If -OE is high during power-up the card 
will come up in "normal" IO/Memory-Mode.

I found out that these cards only have a weak internal pull-up 
(~100k). So apparently in conjunction with our buffers drivers (with 
integrated Bus-Hold-Technology) the -OE signal is not pulled high 
(enough). So the card tries to start in "True IDE Mode" which of 
course confuses the PCMCIA CS, i.e. getting garbage while reading CIS 
and thus trying "Anonymous Memory".

Adding a strong external pull-up on -OE solved the problem!

Thanks.

Steven



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01