I had found a part of my problem. Now I can read the CIS of my PCMCIA card
with pin utility. The informations return to me are :
pin
Sock Func Type Flags PID Base Size IRQ
1 Empty ----MF---------- None
1 Empty ----MF---------- None
2 0 Disk C—I-±-------- None 0x200 16 5
2 Empty ----MF---------- None
\
pin cis
Socket : 2 - Function : 0
Device : Function Specific 2k
Other conditions (com) : MWait 3.3V
Device : Function Specific 2k
Common memory JEDEC : 0xdf01
Manufacturer ID : 0x45 0x401
Card tuple version : 4.01
Manufacturer : SunDisk
Name of Product : SDP
Add’nl info (lot #) : 5/3 0.6
Tuple 0x80 link=3 : 14 08 00
PC Card function : Fixed Disk
POST : 0x1
Tuple 0x22 link=2 : 01 01
Tuple 0x22 link=3 : 02 0c 0f
Configuration base/st : 0x200 0-subtuples
Configuration Index : 0x0 Default
Interface : MWait Req’d, RdyBsy Active, Memory
Feature : 0xa1
Memory Space : 0x0-0x7ff
Misc :
Configuration Index : 0x0
Feature : 0x1
Configuration Index : 0x1 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus16 Bus8 0x0-0xF(4 lines)
IRQ Description : Share Pulse Level 0 1 2 3 4 5 6 7 8 9 10 11 12
13 14
15
Misc :
Configuration Index : 0x1
Feature : 0x1
Configuration Index : 0x2 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus16 Bus8 0x1F0-0x1F7 0x3F6-0x3F7
IRQ Description : Share Pulse Level 14
Misc :
Configuration Index : 0x2
Feature : 0x1
Configuration Index : 0x3 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus16 Bus8 0x170-0x177 0x376-0x377
IRQ Description : Share Pulse Level 14
Misc :
Configuration Index : 0x3
Feature : 0x1
Configuration Index : 0x7 Last
Feature : 0x0
I’m trying to install a sandisk PCMCIA ATA flash card (4 Mb)
When I insert the card I can read :
Socket state 40
Card Removed
Socket state 90
Card Inserted
5.0V Card
Powered up 2
00000000: 0100 0400 df00 7200 0100 ff00 1c00 0400 “…r…”
00000010: 0300 d900 0100 ff00 1800 0200 df00 0100 “…”
00000020: 2000 0400 4500 0000 0100 0400 1500 1700 " …E…"
00000030: 0400 0100 5300 7500 6e00 4400 6900 7300 “…S.u.n.D.i.s.”
00000040: 6b00 0000 5300 4400 5000 0000 3500 2f00 “k…S.D.P…5./.”
00000050: 3300 2000 3000 2e00 3600 0000 ff00 8000 “3. .0…6…”
00000060: 0300 1400 0800 0000 2100 0200 0400 0100 “…!..”
00000070: 2200 0200 0100 0100 2200 0300 0200 0c00 “”…"…"
00000080: 0f00 1a00 0500 0100 0700 0000 0200 0f00 “…”
00000090: 1b00 0b00 c000 c000 a100 2700 5500 4d00 “…’.U.M.”
000000a0: 5d00 7500 0800 0000 2100 1b00 0600 0000 “].u…!..”
000000b0: 0100 2100 b500 1e00 4d00 1b00 0d00 c100 “…!..M…”
000000c0: 4100 9900 2700 5500 4d00 5d00 7500 6400 “A…’.U.M.].u.d.”
000000d0: f000 ff00 ff00 2100 1b00 0600 0100 0100 “…!..”
000000e0: 2100 b500 1e00 4d00 1b00 1200 c200 4100 “!..M…A.”
000000f0: 9900 2700 5500 4d00 5d00 7500 ea00 6100 “…’.U.M.].u…a.”
00000100: f000 0100 0700 f600 0300 0100 ee00 2100 “…!.”
00000110: 1b00 0600 0200 0100 2100 b500 1e00 4d00 “…!..M.”
00000120: 1b00 1200 c300 4100 9900 2700 5500 4d00 “…A…’.U.M.”
00000130: 5d00 7500 ea00 6100 7000 0100 0700 7600 “].u…a.p…v.”
00000140: 0300 0100 ee00 2100 1b00 0600 0300 0100 “…!..”
00000150: 2100 b500 1e00 4d00 1b00 0400 0700 0000 “!..M…”
00000160: 2800 d300 1400 0000 ff00 ff00 ff00 ff00 “(…”
00000170: ff00 ff00 ff00 ff00 ff00 ff00 ff00 ff00 “…”
…
000001f0: ff00 ff00 ff00 ff00 ff00 ff00 ff00 ff00 “…”
Socket state c0
Card Inserted
When I launch ata driver with the following command :
devb-eide eide cam -v eide ioport=0x200,irq=5 &
I read on my screen :
Path=0 - EIDE
target=0 lun=0 Direct-Access(0) - SÿnÿiÿkÿSÿPÿBÿ4ÿ Rev:
and I have a “/dev/hd0” entry on my system. But fdisk utility returns to me
that I have a 8159 Mbytes pcmcia card size (255 head, 255 Sectors/track, 257
cylinders).
thanks for your help
Erick Muis a écrit dans le message <9drpbu$q54$1@nntp.qnx.com>…
The output is still garbage, is it at all possible to send in your hardware
and the documentation for your hardware?
Erick.
[clip]