English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 03 July 2020, 07:00   #1
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
Can SD-card to IDE adapter work as removable drive?

Hi guys.


So I purchased a cheapo SD-IDE adapter off eBay. I managed to mount it in a floppy bay on my A4000D so I can use it to plug cards in and out from the front. My poor man USB alternative to a real USB card lol.


I successfully hooked it up to the IDE port and confirmed it was working with HDToolbox. Which could pick up the device, even when no SD card was inserted, so the IDE/SCSI driver is working fine. I'm running OS3.9 also,


My problem is setting up a mount list. I installed the latest Fat95. I tried to follow the guide but it didn't budge. I couldn't get anything mounted. I then tried MountDos and AutoMounter to no effect. The later was hard to figure out with it's quirky command template and just didn't work. Nothing happened, nothing was mounted and it didn't give any error. Bump, next please. AmigaDOS can be annoying as mounted devices can be missing from the Info command. I tend to use Info to check if a device is listed.



I finally got somewhere after modifying an OS3.9 ZIP driver along with Fat95 guide. And my 2GB FAT32 formatted SD card mounted! However, as I expected, it has no removable support. It only mounts if the SD card is inserted on boot up. Removing the SD card has no effect. And if mounted without an SD card inserted it is not detected. In fact, I had expected this, but I issued a DiskChange command which didn't work. I didn't expect it not to detect a disk change. The closest I got was the device having disk status of no disk inserted. So, even after a fresh reboot, inserting my SD card, then doing a DiskChange didn't even detect it.


Now, this should work automatically really, as both Fat95 and scsi.device know about removable devices on the IDE bus. CDROM, ZIP and LS120 drives are all removable media devices, using ATAPI obviously.


So, is there a way to have a removable SD card mounted? Do I need something special in the mountlist? What am I missing here?
Hypex is offline  
Old 20 September 2020, 11:34   #2
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
I guess not.
Hypex is offline  
Old 20 September 2020, 11:38   #3
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
No, this will never work as removable.
Jope is offline  
Old 20 September 2020, 13:46   #4
McTrinsic
Registered User
 
Join Date: Feb 2014
Location: Germany
Posts: 527
You can unmount those manually.

And then mount the next one manually after SD swap.
McTrinsic is offline  
Old 20 September 2020, 16:44   #5
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
Quote:
Originally Posted by McTrinsic View Post
You can unmount those manually.

And then mount the next one manually after SD swap.

Using Dismount and then another Mount? Could be a goer.
Hypex is offline  
Old 20 September 2020, 20:44   #6
McTrinsic
Registered User
 
Join Date: Feb 2014
Location: Germany
Posts: 527
Yes, that’s what I meant.
I used „unmount“ because of the syntax of the mount command.
Please check this carefully.
Might actually be „assign“.

To create a mountlist, „giggledisk“ from aminet can help.
McTrinsic is offline  
Old 25 October 2020, 14:07   #7
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
Quote:
Originally Posted by McTrinsic View Post
Yes, that’s what I meant.

Well, I tried it. Didn't work. The only response I got was when I ran the Info command after dismounting and removing the card. It just stalled. I suspect this might be scsi.device not dealing with a removed device as I can cause the same behaviour if I remove the card then access it on Workbench.
Hypex is offline  
Old 25 October 2020, 14:36   #8
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
Here is some info on the device with card inserted from ProbeSCSI and SCSIQuery.

Code:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
          ProbeSCSI V0.08  ©1994 Ron Klinkien. All rights reserved.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Scanning 'scsi.device' Target 0 on 02-Sep-20 08:11:12 ...

Vendor  Indentification  : SINTECHI
Product Indentification  :  HighSpeed SD to
Revision Level           : Rev 

[Drive Capacity Info Page]
--------------------------------------------------------------------------------
Capacity in Blocks       : 15644672
Sector Size in Bytes     : 512
Capacity in Kb's         : 3628031 (3542 Mb)

[SCSI Inquiry Page]
--------------------------------------------------------------------------------
Peripheral Qualifier     : 0 Currently Connected
Peripheral Device Type   : 0 Direct Access Device (eg. Hard Disk)
Device Type Modifier     : 0
Removable Medium         : No
ISO  Version             : 0
ECMA Version             : 0
ANSI Approved Version    : 2 (ANSI X3.131-1990)
Async Event Notification : Not Supported
Terminate IO Process Msg : Not Supported
Response Data Format     : 2 (SCSI-2)
Additional List Length   : 1f
Inquiry 5 & 6 (Reserved) : 00, 00
Relative Addressing      : Not Supported
Wide Bus 32 Support      : Not Supported
Wide Bus 16 Support      : Supported
Synchronous Transfer     : Not Supported
Linked Commands          : Not Supported
Tagged Command Queuing   : Not Supported
Soft Reset               : Not Supported
Comment 1                :                     
Comment 2                :                                         
Comment 3                :                                         

NOTE: Found UnEqual Page Length in this Mode Sense Page!
      Probably because the Device doesn't Support Saved Pages.

[Mode Sense Page]                    Current  Changeable     Default       Saved
--------------------------------------------------------------------------------
Mode Sense Data Lenght                     5          27           5           5
Medium Type                                0           0           0           0
Device Specific Parameter                  0           0           0           0
Block Descriptor Length                    0           0           0           0
Density Code                         Unknown     Unknown     Unknown     Unknown
Number of Blocks                           0     1441792           0           0
Block Size                      

NOTE: Found More than One Page in this Mode Sense Page!
      Probably because the Device doesn't Support Saved Pages.

[Sense Data Page] [Read Defect List]
--------------------------------------------------------------------------------
Sense Key      : Illegal Request                                          (0x05)
Add. SenseCode : Invalid Command Operation Code                           (0x20)
SenseCode Qual :                                                          (0x00)

[Sense Data Page] [Read Defect List]
--------------------------------------------------------------------------------
Sense Key      : Illegal Request                                          (0x05)
Add. SenseCode : Invalid Command Operation Code                           (0x20)
SenseCode Qual :                                                          (0x00)
Code:
SCSIQuery 1.34 (15.12.2018) © THOR
Generic sense data : 

Good.

Device inquiry data : 

Device status           : connected.
Device class            : direct access device.
Fixed medium device.
Device type modifier    : 00.
ISO version             : 00.
ECMA version            : 00.
ANSI version            : SCSI-2.
Response data format    : SCSI-2.
Additional data length 1F.
Flags:
    Relative addressing not supported.
    32 bit wide SCSI not supported.
    16 bit wide SCSI supported.
    Synchron data transfer not supported.
    Linked commands not supported.
    Tagged queues not supported.
    Device reacts with hard reset.
Vendor                  : SINTECHI
Product                 :  HighSpeed SD to
Version                 : Rev 
Date                    : 
Comment                 : 

Extended inquiry data : 

    00 00 00 00 00 00 00 00  ........
    00 00 00 00 00 00 00 00  ........
    00 00 00 00 00 00 00 00  ........
    00 00 00 00 00 00 00     ....... 



Control page information:

Mode Data Length : 5
Medium Type      : 0
Device specific  : 0
Block des. len   : 0



Device capacity : 
Capacity in blocks : 15644672.
Block length       : 512.

Blocks from start up to a substiantial delay : 
Number of blocks   : 1008.



Primary defect list:
Read Defect List Header returned error : 
Check Condition         : Details as below.
LBA not valid.
Error code of last command.
Segment ID              : 00.
SenseFlags              :
Sense Key               : Illegal request.
Additional sense length : 10.
Cmd information bytes   : 00 00 00 00.
Drive specific flags    :
Extended sense code ASC : 0x20.
Extended sense code ASCQ: 0x00.
ASC,ASCQ encoded error is invalid command operation code.
Field replaceable unit code FRUC 0x00.
Additional flags        :
    Error data output.
    Byte error.
    Bit position 0x00.
Byte position           : 0x00 0x00.


Grown defect list:
Read Defect List Header returned error : 
Check Condition         : Details as below.
LBA not valid.
Error code of last command.
Segment ID              : 00.
SenseFlags              :
Sense Key               : Illegal request.
Additional sense length : 10.
Cmd information bytes   : 00 00 00 00.
Drive specific flags    :
Extended sense code ASC : 0x20.
Extended sense code ASCQ: 0x00.
ASC,ASCQ encoded error is invalid command operation code.
Field replaceable unit code FRUC 0x00.
Additional flags        :
    Error data output.
    Byte error.
    Bit position 0x00.
Byte position           : 0x00 0x00.
Hypex is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will any CF to IDE adapter work in an A4000? Starglider 2 support.Hardware 14 20 January 2019 15:45
CF-card with IDE adapter from A-1200 does not work in SX-32 Overdoc support.Hardware 5 10 June 2013 00:58
A1200 Gaming-Tower with 5 Controlports and removable IDE-CF-Card Ebster Hardware pics 11 23 January 2010 21:00
Bootable IDE to CF Compact Flash Card 40 Pin Adapter Kitty support.Hardware 14 22 October 2009 23:52
CF to IDE adapter - Max size card? crispywotsits support.Other 11 19 February 2009 16:38

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:51.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.39573 seconds with 15 queries