problem accessing a sandisk compactflash card

bridged with qdn.public.ddk.usb
Post Reply
Boris Langendoen

problem accessing a sandisk compactflash card

Post by Boris Langendoen » Wed Oct 09, 2002 12:38 pm

hello,

I am working on getting access to a 'flash' card using a cardreader. The
idea is to develop on a pc host and then transfer the system on the
flashcard to a pc104 board (we are working on a unmanned helicopter). I get
it to work on win2000 and linux, but am unsuccessfully on qnx.

hardware I use: Sandisk 128 Mb compactflash,
apacer AP-CFCRIIU10 usb card reader

what I tried (as root):

#devu-uhci -V &

returned:
USB(UHCI), V1.10,V1.01, Jun 22 2001

tried:
#usb -t -vvv -V
returned:

USB (UHCI) v1.10, v1.01 DDK
Control, Interrupt, Bulk, Isoch, Low speed, High speed

Device Address : 1
Vendor : 0x07c4 (DataFab Systems Inc.)
Product : 0xb000 (USB CF )
Device Release : r3.08
USB Spec Release : v1.10
Serial Number : C039003A39
Class : 0x00 (Independant per interface)
Max PacketSize0 : 8
Languages : 0x0409 (English)
Current Frame : 515 (1024 bytes)
Configurations : 1
+ Configuration : 1
| Attributes : 0x80 (Bus-powered)
| Max Power : 100 mA
| Interfaces : 1
| + Interface : 0 / 0
| | Class : 0x08 (Mass Storage)
| | Subclass : 0x06 (SCSI)
| | Protocol : 0x50
| | Endpoints : Control + 2
| | + Endpoint : 0
| | | Attributes : Control
| | | Max Packet Size: 8
| | + Endpoint : 1
| | | Attributes : Bulk/OUT
| | | Max Packet Size: 64
| | + Endpoint : 2
| | | Attributes : Bulk/IN
| | | Max Packet Size: 64

Now I am unsure how to proceed, it looks like the flashdisk is detected as
a SCSI device (which it also is in linux), but I don't know what SCSI
driver to use or if that will work. I tried the devb-aha2 and further, but
they do not seem to work.

my question is if someone already encountered this problem and found a
solution. or if I need to get another way to access the flashcard. in the
pc104 board it is detected as a ide drive, and there is no problem
installing the complete qnx on it. so perhaps I need to get a ide
cardreader.

Thanks alot for your time,

Boris Langendoen
faculty of aerospace engineering,
TU Delft, The Netherlands

Mario Charest

Re: problem accessing a sandisk compactflash card

Post by Mario Charest » Wed Oct 09, 2002 4:00 pm

AFAIK USB card reader are not supported

"Boris Langendoen" <jklang@xs4all.nl> wrote in message
news:ao17lk$5st$1@inn.qnx.com...
hello,

I am working on getting access to a 'flash' card using a cardreader. The
idea is to develop on a pc host and then transfer the system on the
flashcard to a pc104 board (we are working on a unmanned helicopter). I
get
it to work on win2000 and linux, but am unsuccessfully on qnx.

hardware I use: Sandisk 128 Mb compactflash,
apacer AP-CFCRIIU10 usb card reader

what I tried (as root):

#devu-uhci -V &

returned:
USB(UHCI), V1.10,V1.01, Jun 22 2001

tried:
#usb -t -vvv -V
returned:

USB (UHCI) v1.10, v1.01 DDK
Control, Interrupt, Bulk, Isoch, Low speed, High speed

Device Address : 1
Vendor : 0x07c4 (DataFab Systems Inc.)
Product : 0xb000 (USB CF )
Device Release : r3.08
USB Spec Release : v1.10
Serial Number : C039003A39
Class : 0x00 (Independant per interface)
Max PacketSize0 : 8
Languages : 0x0409 (English)
Current Frame : 515 (1024 bytes)
Configurations : 1
+ Configuration : 1
| Attributes : 0x80 (Bus-powered)
| Max Power : 100 mA
| Interfaces : 1
| + Interface : 0 / 0
| | Class : 0x08 (Mass Storage)
| | Subclass : 0x06 (SCSI)
| | Protocol : 0x50
| | Endpoints : Control + 2
| | + Endpoint : 0
| | | Attributes : Control
| | | Max Packet Size: 8
| | + Endpoint : 1
| | | Attributes : Bulk/OUT
| | | Max Packet Size: 64
| | + Endpoint : 2
| | | Attributes : Bulk/IN
| | | Max Packet Size: 64

Now I am unsure how to proceed, it looks like the flashdisk is detected as
a SCSI device (which it also is in linux), but I don't know what SCSI
driver to use or if that will work. I tried the devb-aha2 and further, but
they do not seem to work.

my question is if someone already encountered this problem and found a
solution. or if I need to get another way to access the flashcard. in the
pc104 board it is detected as a ide drive, and there is no problem
installing the complete qnx on it. so perhaps I need to get a ide
cardreader.

Thanks alot for your time,

Boris Langendoen
faculty of aerospace engineering,
TU Delft, The Netherlands

Phil Olynyk

Re: problem accessing a sandisk compactflash card

Post by Phil Olynyk » Wed Oct 09, 2002 10:48 pm

You might try getting a CF->PCMCIA adapter, and plugging in to a
laptop,
or maybe you can find a PCMCIA to ISA or PCI bus adapter. Then you start
a new copy of the eide driver with the info from the pcmcia commands
(pin, etc).
The problem with the usb solution is that QSSL hasn't released any
block
device or filesystem API information yet. - if ever!?

Phil Olynyk - OBT Software Corp.

Mario Charest wrote:
AFAIK USB card reader are not supported

"Boris Langendoen" <jklang@xs4all.nl> wrote in message
news:ao17lk$5st$1@inn.qnx.com...
hello,

I am working on getting access to a 'flash' card using a cardreader. The
idea is to develop on a pc host and then transfer the system on the
flashcard to a pc104 board (we are working on a unmanned helicopter). I
get
it to work on win2000 and linux, but am unsuccessfully on qnx.

hardware I use: Sandisk 128 Mb compactflash,
apacer AP-CFCRIIU10 usb card reader

what I tried (as root):

#devu-uhci -V &

returned:
USB(UHCI), V1.10,V1.01, Jun 22 2001

tried:
#usb -t -vvv -V
returned:

USB (UHCI) v1.10, v1.01 DDK
Control, Interrupt, Bulk, Isoch, Low speed, High speed

Device Address : 1
Vendor : 0x07c4 (DataFab Systems Inc.)
Product : 0xb000 (USB CF )
Device Release : r3.08
USB Spec Release : v1.10
Serial Number : C039003A39
Class : 0x00 (Independant per interface)
Max PacketSize0 : 8
Languages : 0x0409 (English)
Current Frame : 515 (1024 bytes)
Configurations : 1
+ Configuration : 1
| Attributes : 0x80 (Bus-powered)
| Max Power : 100 mA
| Interfaces : 1
| + Interface : 0 / 0
| | Class : 0x08 (Mass Storage)
| | Subclass : 0x06 (SCSI)
| | Protocol : 0x50
| | Endpoints : Control + 2
| | + Endpoint : 0
| | | Attributes : Control
| | | Max Packet Size: 8
| | + Endpoint : 1
| | | Attributes : Bulk/OUT
| | | Max Packet Size: 64
| | + Endpoint : 2
| | | Attributes : Bulk/IN
| | | Max Packet Size: 64

Now I am unsure how to proceed, it looks like the flashdisk is detected as
a SCSI device (which it also is in linux), but I don't know what SCSI
driver to use or if that will work. I tried the devb-aha2 and further, but
they do not seem to work.

my question is if someone already encountered this problem and found a
solution. or if I need to get another way to access the flashcard. in the
pc104 board it is detected as a ide drive, and there is no problem
installing the complete qnx on it. so perhaps I need to get a ide
cardreader.

Thanks alot for your time,

Boris Langendoen
faculty of aerospace engineering,
TU Delft, The Netherlands

Boris Langendoen

Re: problem accessing a sandisk compactflash card

Post by Boris Langendoen » Thu Oct 10, 2002 8:36 am

hi,

Thanks alot for your time, good to know I did not just have some settings
wrong. I will try to find a CF->PCMCIA + PCMCIA->PCI adapter or a CF->PCI
or something alike. And go from there...

Boris Langendoen

Phil Olynyk wrote:
You might try getting a CF->PCMCIA adapter, and plugging in to a
laptop,
or maybe you can find a PCMCIA to ISA or PCI bus adapter. Then you start
a new copy of the eide driver with the info from the pcmcia commands
(pin, etc).
The problem with the usb solution is that QSSL hasn't released any
block
device or filesystem API information yet. - if ever!?

Phil Olynyk - OBT Software Corp.

Mario Charest wrote:

AFAIK USB card reader are not supported

"Boris Langendoen" <jklang@xs4all.nl> wrote in message
news:ao17lk$5st$1@inn.qnx.com...
hello,

I am working on getting access to a 'flash' card using a cardreader.
The idea is to develop on a pc host and then transfer the system on the
flashcard to a pc104 board (we are working on a unmanned helicopter). I
get
it to work on win2000 and linux, but am unsuccessfully on qnx.

hardware I use: Sandisk 128 Mb compactflash,
apacer AP-CFCRIIU10 usb card reader

what I tried (as root):

#devu-uhci -V &

returned:
USB(UHCI), V1.10,V1.01, Jun 22 2001

tried:
#usb -t -vvv -V
returned:

USB (UHCI) v1.10, v1.01 DDK
Control, Interrupt, Bulk, Isoch, Low speed, High speed

Device Address : 1
Vendor : 0x07c4 (DataFab Systems Inc.)
Product : 0xb000 (USB CF )
Device Release : r3.08
USB Spec Release : v1.10
Serial Number : C039003A39
Class : 0x00 (Independant per interface)
Max PacketSize0 : 8
Languages : 0x0409 (English)
Current Frame : 515 (1024 bytes)
Configurations : 1
+ Configuration : 1
| Attributes : 0x80 (Bus-powered)
| Max Power : 100 mA
| Interfaces : 1
| + Interface : 0 / 0
| | Class : 0x08 (Mass Storage)
| | Subclass : 0x06 (SCSI)
| | Protocol : 0x50
| | Endpoints : Control + 2
| | + Endpoint : 0
| | | Attributes : Control
| | | Max Packet Size: 8
| | + Endpoint : 1
| | | Attributes : Bulk/OUT
| | | Max Packet Size: 64
| | + Endpoint : 2
| | | Attributes : Bulk/IN
| | | Max Packet Size: 64

Now I am unsure how to proceed, it looks like the flashdisk is detected
as a SCSI device (which it also is in linux), but I don't know what
SCSI driver to use or if that will work. I tried the devb-aha2 and
further, but they do not seem to work.

my question is if someone already encountered this problem and found a
solution. or if I need to get another way to access the flashcard. in
the pc104 board it is detected as a ide drive, and there is no problem
installing the complete qnx on it. so perhaps I need to get a ide
cardreader.

Thanks alot for your time,

Boris Langendoen
faculty of aerospace engineering,
TU Delft, The Netherlands

Post Reply

Return to “qdn.public.ddk.usb”