Flash Card

Hi, all
I’m trying to use a PCMCIA Flash memory Card with no success.
After a few attempt I’ve heard, only FLASH DISK are supported
while FLASH MEMORY cards are not working fine.
Has anyone experienced this ?


Thanks,
Alberto

Alberto Catoni <catoni@pisa.intecs.it> wrote:

Hi, all
I’m trying to use a PCMCIA Flash memory Card with no success.
After a few attempt I’ve heard, only FLASH DISK are supported
while FLASH MEMORY cards are not working fine.
Has anyone experienced this ?

Flash memory cards (ones that use linear NOR flash technology) are
supported by the devf-i365sl driver (currently only on x86).
If you use this driver, don’t use devp-pccard at the same time.


Dave Green (dgreen@qnx.com)

QNX Software Systems Ltd.
http://www.qnx.com

Hi Dave,
first of all, thanks for helping me…

I’ve tried the devf-i365sl driver but it does not work (after launching
it, the /dev/fsxxx entry is missed)
and also, it immediately exits without writing anything.
Running it with -vvv option shows a list of:
Trying device width = 1
devf: bus width = 1
devf: trying chip inter = 1
devf: bus width = 2


and then it exits.

I tryied also ALL the others devf-* drivers available under, but no one
seems to work.

While trying the devf-generic driver I had to provide some values for
the -s option
and I gave it almost randomly… Maybe some clever value can work ? Do
you have any idea
on how can I find out what values should I use ?
Do you know if the problem is related ONLY to the specific card (a
FUJITSU 8MB Flash Card )
or is more general Card + PCMCIA slots etc etc ?

Thanks again, Alberto


Dave Green wrote:

Alberto Catoni <> catoni@pisa.intecs.it> > wrote:
Hi, all
I’m trying to use a PCMCIA Flash memory Card with no success.
After a few attempt I’ve heard, only FLASH DISK are supported
while FLASH MEMORY cards are not working fine.
Has anyone experienced this ?

Flash memory cards (ones that use linear NOR flash technology) are
supported by the devf-i365sl driver (currently only on x86).
If you use this driver, don’t use devp-pccard at the same time.


Dave Green (> dgreen@qnx.com> )

QNX Software Systems Ltd.
http://www.qnx.com


Alberto Catoni
Intecs HRT S.p.A.
V. Gereschi 32,
56127 Pisa - Italia
Tel: +39 050 545256 Fax: +39 050 545200

Alberto Catoni <catoni@pisa.intecs.it> wrote:

Hi Dave,
first of all, thanks for helping me…

I’ve tried the devf-i365sl driver but it does not work (after launching
it, the /dev/fsxxx entry is missed)
and also, it immediately exits without writing anything.
Running it with -vvv option shows a list of:
Trying device width = 1
devf: bus width = 1
devf: trying chip inter = 1
devf: bus width = 2


and then it exits.

I tryied also ALL the others devf-* drivers available under, but no one
seems to work.

While trying the devf-generic driver I had to provide some values for
the -s option
and I gave it almost randomly… Maybe some clever value can work ? Do
you have any idea
on how can I find out what values should I use ?
Do you know if the problem is related ONLY to the specific card (a
FUJITSU 8MB Flash Card )
or is more general Card + PCMCIA slots etc etc ?

Thanks again, Alberto

Hi Alberto,

First of all, no other driver besides devf-i365sl will work, because the
other drivers (including devf-generic) expect to access linear flash directly
at a particular offset (or the specified offset), not via the PCMCIA interface.

As for why the devf-i365sl driver isn’t working for you, the most likely reason
is that your Fujitsu flash card uses flash components which aren’t recognized
by the current driver. Fujitsu flash parts are normally identical to their
AMD counterparts, except that the JEDEC manufacturer ID is different. We do
support Fujitsu flash, but perhaps your card uses a newer part, for which
we haven’t yet added support to our flash MTD (Memory Technology Driver) layer.

Would it be possible for you (without breaking the card open) to determine
exactly which flash parts your card uses?


Thanks,

Dave


Dave Green wrote:

Alberto Catoni <> catoni@pisa.intecs.it> > wrote:
Hi, all
I’m trying to use a PCMCIA Flash memory Card with no success.
After a few attempt I’ve heard, only FLASH DISK are supported
while FLASH MEMORY cards are not working fine.
Has anyone experienced this ?

Flash memory cards (ones that use linear NOR flash technology) are
supported by the devf-i365sl driver (currently only on x86).
If you use this driver, don’t use devp-pccard at the same time.


Dave Green (> dgreen@qnx.com> )

QNX Software Systems Ltd.
http://www.qnx.com


Alberto Catoni
Intecs HRT S.p.A.
V. Gereschi 32,
56127 Pisa - Italia
Tel: +39 050 545256 Fax: +39 050 545200

Dave Green (dgreen@qnx.com)

QNX Software Systems Ltd.
http://www.qnx.com

<!doctype html public “-//w3c//dtd html 4.0 transitional//en”>

Hi and thanks Dave,
since we are talking...
can you suggest any good readings for me to learn the basis on theses topics ?
 

Dave Green wrote:

Alberto Catoni <> wrote:
> Hi Dave,
> first of all, thanks for helping me....

> I've tried the devf-i365sl driver but it does not work (after launching
> it, the /dev/fsxxx entry is missed)
> and also, it immediately exits without writing anything.
> Running it with -vvv option shows a list of:
> Trying device width = 1
> devf: bus width = 1
> devf: trying chip inter = 1
> devf: bus width = 2
> ....
> ....
> and then it exits.

> I tryied also ALL the others devf-* drivers available under, but no one
> seems to work.

> While trying the devf-generic driver I had to provide some values for
> the -s option
> and I gave it almost randomly... Maybe some clever value can work ? Do
> you have any idea
> on how can I find out what values should I  use ?
> Do you know if the problem is related ONLY to the specific card (a
> FUJITSU 8MB Flash Card )
> or is more general Card + PCMCIA slots etc etc ?

> Thanks again, Alberto

Hi Alberto,

First of all, no other driver besides devf-i365sl will work, because the
other drivers (including devf-generic) expect to access linear flash directly
at a particular offset (or the specified offset), not via the PCMCIA interface.
 

Thanks for explanation.
 
As for why the devf-i365sl driver isn't working for you, the most likely reason
is that your Fujitsu flash card uses flash components which aren't recognized
by the current driver. Fujitsu flash parts are normally identical to their
AMD counterparts, except that the JEDEC manufacturer ID is different. We do
support Fujitsu flash, but perhaps your card uses a newer part, for which
we haven't yet added support to our flash MTD (Memory Technology Driver) layer.
 
I doubt the card is too new, maybe too old...
It was given to me from  a collegue that doesn't know anything about it.
 
Would it be possible for you (without breaking the card open) to determine
exactly which flash parts your card uses?
 
I'm not sure I've completely understood your request ...
anyway here follow all the info I think useful.
If you need other info about the card, please ask me again.

On the card all I can read is FUJITSU 8MB Flash Card and the following code:
81373-15 S000 9908 C03. Then there are only some reccomendation like
"Do not burn" etc etc...

Other info I gathered running the devp-pcard driver and then pin cis;
don't know if this is usefull... anyway:

Socket    : 2 - Function    : 0
Device                   : Flash 8192k
Card tuple version       : 4.01
Manufacturer             : FUJITSU
Name of Product          : MB98A80073series
Attribute Device         : EEPROM 2k
Common memory JEDEC      : 0x043d
Device Geometry          : buswidth=16 bits
                         : erase=131072 bytes
                         : read=2 bytes
                         : write=2 bytes
                         : partition=131072 bytes
Checksum addr, len, val  : 0xffca 60 0xad
 
 

bye
Alberto

 
Thanks,

Dave

> Dave Green wrote:

>> Alberto Catoni <> wrote:
>> > Hi, all
>> > I'm trying to use a PCMCIA Flash memory Card with no success.
>> > After a few attempt I've heard, only FLASH DISK are supported
>> > while FLASH MEMORY cards are not working fine.
>> > Has anyone experienced this ?
>>
>> Flash memory cards (ones that use linear NOR flash technology) are
>> supported by the devf-i365sl driver (currently only on x86).
>> If you use this driver, don't use devp-pccard at the same time.
>>
>> ---
>>
>> Dave Green ()
>>
>> QNX Software Systems Ltd.
>> http://www.qnx.com

> --
> Alberto Catoni
> Intecs HRT S.p.A.
> V. Gereschi 32,
> 56127 Pisa - Italia
> Tel: +39 050 545256 Fax: +39 050 545200

--
---

Dave Green ()

QNX Software Systems Ltd.
http://www.qnx.com

-- 
Alberto Catoni
Intecs HRT S.p.A.
V. Gereschi 32,
56127 Pisa - Italia
Tel: +39 050 545256 Fax: +39 050 545200

 

Alberto Catoni <catoni@pisa.intecs.it> wrote:

Hi and thanks Dave,
since we are talking…
can you suggest any good readings for me to learn the basis on theses
topics ?

Alberto,

The best place to start would be with the online documentation for the flash filesystem:

http://support.qnx.com/support/docs/embedding_sdk_en/building/flashfsys.html

Your last post was a bit scrambled with html tags, but one of the things I found
was:

Common memory JEDEC      : 0x043d

The 04 is the JEDEC manufacturer ID (Fujitsu) and the 3d corresponds to AMD’s
device ID for this part, which is the AM29F017B. Fujitsu’s equivalent part
number would be MBM29F017, or something similar. The card you are using is
likely made from four of these 2M Fujitsu parts.

I investigated further here, and determined that devf-i365sl has had some
fixes implemented for card recognition since version 6.1.0 of the OS shipped,
so I’m having an updated version posted on the developers.qnx.com website,
under the “fixes” section of the R&D Developer’s Corner.

go to:

http://developers.qnx.com/

and click on the “fixes” link.

The driver may not be posted there immediately; check back periodically
until it appears.

Hopefully the updated driver will work for you. If not, it would be necessary
for you to arrange for a custom driver to be developed for the card, via our
Custom Engineering Services department. A much cheaper solution would be to
simply purchase (or borrow) a different flash card, such as an Intel or AMD
card, which is more likely to be recognized by our driver.


Dave Green (dgreen@qnx.com)

QNX Software Systems Ltd.
http://www.qnx.com