Re: wrflash and centennial 16MB flash

Keith Smith <[email protected]> Tue, 26 Aug 2003 22:22:04 -0700
Newsgroups gmane.linux.drivers.wireless.access-point
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Not really a clue.

NOTE: If the flash card is not 3.3v you are doomed.  You will need to write the
SRAM image 8 times.

Perhaps you should be using the block device /dev/mem0c0b?

Mordechai T. Abzug wrote:
| I have a Centennial/Nortel 16MB flash at work, which I'm trying to
| read and rewrite using Linux 2.2.25 and pcmcia-cs 3.1.33.  Reading
| using /dev/mem0c0c seems to work.  Writing using wrflash from openap
| or dd does not.  Ie:
| 
| # wrflash -i -e /dev/mem0c0c </dev/zero 
| Partition size = 16 mb, erase unit size = 128 kb, start address 0x0
| 
| 
| erasing block 1 of 128 (0x0-0x1FFFF)
| block erase failed: Input/output error
| ---> failure.
| 
| 
| cardctl ident says:
| 
| Socket 0:
|   product info: "3Com Corporation", "3C589", "TP/BNC LAN Card
|   Ver. 2a", "000002"
|   manfid: 0x0101, 0x0589
|   function: 6 (network)
| Socket 1:
|   product info: "Centennial Technologies, Inc.", "FL16M-20-11119", "16 MEG FLASH w/16 Mbit AMD devices", ""
| 
| 
|>From dump_cis (skipping socket 0):
| 
| Socket 1:
|   dev_info
|     FLASH 200ns, 16mb
|   common_jedec 0x01 0xad
|   common_geometry
|     width 2 erase 0x10000 read 0x1 write 0x1 partition 0x1 interleave 0x1
|   vers_1 4.1, "Centennial Technologies, Inc.", "FL16M-20-11119",
|     "16 MEG FLASH w/16 Mbit AMD devices", ""
| 
| Inserting the card causes these modules to load:
| 
| memory_cs               9152   0  (unused)
| sram_mtd                3296   0  (unused)
| 
| 
| Output of cardmgr -V:
| cardmgr version 3.2.2
| 
| Could someone clue me in on what I'm doing wrong?
| 
| Thanks!
| 
| - Morty
| 
| _______________________________________________
| LinuxAP-dev mailing list
| [email protected]
| http://linuxAP.ksmith.com/mailman/listinfo/linuxap-dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/TD/7z2CugoiX+Q0RAo/+AKCDh31ZTpg1e+i9MNvJME3/9YKVLwCcDgz/
x715itxSJG/54gEE8B4uAzg=
=AWYd
-----END PGP SIGNATURE-----