I’ve already sent this message to the ‘embedded’ newsgroup with no
answer…
Is it a silly question or was a matter of newsgroup ?
I’m trying to use a PCMCIA ATA flash card on my x86 system and
I’m having some
troubles with (I suppose) pccard-launch utility.
The devp-pccard& command seems to work correctly (see pin
command below) but if I use (in the buildfile)
pccard-launch command with single quotes as in:
pccard-launch -vvv ‘0x0400, devb-eide eide
ioport=0x0200,irq=7,nobios blk automount=hd1t11:/flash:dos’ &
I get a message: “No entries to act on”.
The same command run from the console work fine.
Using the same pccard-launch command (in the buildfile) with double
quotes:
pccard-launch -vvv “0x0400, devb-eide eide
ioport=0x0200,irq=7,nobios blk automount=hd1t11:/flash:dos” &
result in the following error messages:
received pulse
iotype=401 l->type = 400
Loking ioport= 200-20f ioport2=0-ffffffff irq=7 in socket 0
Error, so unlocking
I also tryied some backslash to avoid quotes interpretation but had no
success.
The pin and pin cons commands shows the following:
pin
Sock Func Type Flags PID Base Size IRQ
1 0 Disk C—I-±-------- None 0x200 16 7
1 Empty ----MF---------- None
2 Empty ----MF---------- None
2 Empty ----MF---------- None
\
pin con
; socket 1
[device]
manufacturer = “HITACHI”
product = “FLASH”
info1 = “4.0”
regbase = 0x200
, mem any+0x800
config = 0x01, 0x0400, irq any, io any+16 (width=16)
config = 0x01, 0x0400, irq any, io any+16 (width=16)
config = 0x02, 0x0400, irq 14, io 0x1f0-0x1f7 (width=16), io
0x3f6-0x3f7 (width=16)
config = 0x02, 0x0400, irq 14, io 0x1f0-0x1f7 (width=16), io
0x3f6-0x3f7 (width=16)
config = 0x03, 0x0400, irq 14, io 0x170-0x177 (width=16), io
0x376-0x377 (width=16)
config = 0x03, 0x0400, irq 14, io 0x170-0x177 (width=16), io
0x376-0x377 (width=16)
register = 0, 0x40, 0x40 ; level mode interrupts
To avoid time related problems I put after the “devp-pccard &”
command
a “waitfor” command.
Can someone help ?
Thanks in advance
Alberto