Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2001 10:01:41 -0700
From:      Kenneth Ingham <ingham@i-pi.com>
To:        questions@freebsd.org
Subject:   Flash memory problems
Message-ID:  <20010109100141.D30829@Tesla.i-pi.com>

next in thread | raw e-mail | index | archive | help
I have four flash memory cards for my digital camera.  I can mount three
of them with no problems (I had to write new pccard.conf entries for
them, but that was no big deal).  The fourth card will not get a driver
assigned.  

I am running 4.2-RELEASE on a IBM Thinkpad and I have an adapter to plug
the flash into the PCMCIA slot.

The messages I get when I plug the flash in are:
pccard: card inserted, slot 0
Jan  9 09:55:57 socrates pccardd[48]: Card "CF"("032MB") [] [(null)] has function ID 4 
Jan  9 09:56:02 socrates pccardd[48]: driver allocation failed for (null)((null)): Device not configured

The pccard.conf entry I am using is:
#       config  auto "ata" ? iosize 16
#       config  default "ata" ?
card "CF" ".*MB"
        config  0x01 "ata" ? iosize 16
        insert  logger -s Generic Flash ATA inserted
        remove  logger -s Generic Flash ATA removed
I have tried the commented out lines as well as some other config
indices with no improvement.

I have attached the output of a pccardc dumpcis to the end of this
message.

Any ideas why this flash won't work?  I'd like to get the pics off
this flash.

-- 
Kenneth Ingham
ingham@i-pi.com

# pccardc dumpcis
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 4
    000:  df 4a 01 ff
	Common memory device information:
		Device number 1, type Function specific, WPS = ON
		Speed = 4.0 x 100 ns, Memory block size = reserved, 32 units
		Device number 2, type No device, WPS = OFF
		Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x1c (Other conditions for common memory), length = 4
    000:  02 d9 01 ff
	 (3V card)
Tuple #3, code = 0x18 (JEDEC descr for common memory), length = 2
    000:  df 01
Tuple #4, code = 0x20 (Manufacturer ID), length = 4
    000:  0a 00 00 00
	PCMCIA ID = 0xa, OEM ID = 0x0
Tuple #5, code = 0x15 (Version 1 info), length = 13
    000:  04 01 43 46 00 30 33 32 4d 42 00 00 ff
	Version = 4.1, Manuf = [CF], card vers = [032MB]
	Addit. info = []
Tuple #6, code = 0x21 (Functional ID), length = 2
    000:  04 01
	Fixed disk card - POST initialize
Tuple #7, code = 0x22 (Functional EXT), length = 2
    000:  01 01
	Disk interface: IDE
Tuple #8, code = 0x22 (Functional EXT), length = 3
    000:  02 0c 0f
	Disk features: Silicon, Unique, Single
		Sleep, Standby, Idle, Low power, 
Tuple #9, code = 0x1a (Configuration map), length = 5
    000:  01 03 00 02 0f
	Reg len = 2, config register addr = 0x200, last config = 0x3
	Registers: XXXX---- 
Tuple #10, code = 0x1b (Configuration entry), length = 8
    000:  c0 c0 a1 01 55 08 00 20
	Config index = 0x0(default)
	Interface byte = 0xc0 (memory)  +RDY/-BSY active, wait signal supported
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
	Memory space length = 0x8
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #11, code = 0x1b (Configuration entry), length = 6
    000:  00 01 21 b5 1e 4d
	Config index = 0x0
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Max current average over 10 ms: 4.5 x 10mA
Tuple #12, code = 0x1b (Configuration entry), length = 10
    000:  c1 41 99 01 55 64 f0 ff ff 20
	Config index = 0x1(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
	Card decodes 4 address lines, full 8/16 Bit I/O
		IRQ modes: Level, Pulse, Shared
		IRQs:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #13, code = 0x1b (Configuration entry), length = 6
    000:  01 01 21 b5 1e 4d
	Config index = 0x1
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Max current average over 10 ms: 4.5 x 10mA
Tuple #14, code = 0x1b (Configuration entry), length = 15
    000:  c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20
	Config index = 0x2(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x1f0 block length = 0x8
		I/O address # 2: block start = 0x3f6 block length = 0x2
		IRQ modes: Level, Pulse, Shared
		IRQ level = 14
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #15, code = 0x1b (Configuration entry), length = 6
    000:  02 01 21 b5 1e 4d
	Config index = 0x2
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Max current average over 10 ms: 4.5 x 10mA
Tuple #16, code = 0x1b (Configuration entry), length = 15
    000:  c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20
	Config index = 0x3(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x170 block length = 0x8
		I/O address # 2: block start = 0x376 block length = 0x2
		IRQ modes: Level, Pulse, Shared
		IRQ level = 14
	Max twin cards = 0
	Misc attr: (Power down supported)
Tuple #17, code = 0x1b (Configuration entry), length = 6
    000:  03 01 21 b5 1e 4d
	Config index = 0x3
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Max current average over 10 ms: 4.5 x 10mA
Tuple #18, code = 0x14 (No link), length = 0
Tuple #19, code = 0xff (Terminator), length = 0
2 slots found


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010109100141.D30829>