Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: blanning on October 03, 2008, 03:59:42 AM

Title: ide compact flash adapters
Post by: blanning on October 03, 2008, 03:59:42 AM
What will happen if I attach an ide to compact flash adapter to a buddha board, then pull the compact flash card out of the adapter while the amiga is on, then put it back?  Is this ok or should I be shutting down first?

brian
Title: Re: ide compact flash adapters
Post by: rkauer on October 03, 2008, 04:42:44 AM
 First your Amiga will burn something, more likely the IDE controller (Gayle).

 After a mob of raged Amiga fans will break into your house and justice you. You'll deserve it!
Title: Re: ide compact flash adapters
Post by: alexh on October 03, 2008, 08:38:34 AM
Quote

rkauer wrote:
First your Amiga will burn something, more likely the IDE controller (Gayle).

Dunno how it will set fire to his Gayle when the card is plugged into a Zorro II Buddha board? ;-)

While it is not good practice, all that will really happen is you will corrupt the contents of your card if you have written to it while it was removed or you plugged in a different card.
Title: Re: ide compact flash adapters
Post by: Marcb on October 03, 2008, 12:07:32 PM
What about damage to the Buster chip?
Could pulling out the CF do damage to it?
Title: Re: ide compact flash adapters
Post by: McVenco on October 03, 2008, 01:08:02 PM
Quote

blanning wrote:

Is this ok or should I be shutting down first?




No. Yes.



 :-)
Title: Re: ide compact flash adapters
Post by: ZeBeeDee on October 03, 2008, 01:26:44 PM
/me looks at OP, sighs then slowly walks away
Title: Re: ide compact flash adapters
Post by: blanning on October 03, 2008, 06:30:18 PM
Quote

ZeBeeDee wrote:
/me looks at OP, sighs then slowly walks away


I was hoping the ide adapters were smart enough to disconnect the "drive" upon removal.  How does the amiga handle old syquest removable drives?  What happens when it's a pcmcia CF reader plugged into a 1200?  Or an ejected cdrom?  Wishful thinking i guess.

brian
Title: Re: ide compact flash adapters
Post by: adolescent on October 03, 2008, 06:48:58 PM
That's the difference between an ATA (HD, fixed storage) and ATAPI (CD-ROM, DVD-ROM, or removable media device) device.  ATA devices don't support hot swaps.  It could be possible to have an ATAPI (ARMD) CF adapter, but I haven't seen any.  And, they certainly wouldn't be <$5 eBay models.
Title: Re: ide compact flash adapters
Post by: darksun9210 on October 03, 2008, 06:55:50 PM
the old syquests and cdroms eject the media. ie, the bit that holds the data. not the actual drive electronics.
the drives controller logic remains attached to the IDE/SCSI bus and tells the computer that the media has been
ejected (dismount logical drive)
inserted (read partition table / TOC, and mount logical drives from the index information)
drive is empty (nothing here, all information requests get "media not available" message)
media is ok (read/write operations as normal)
 
in the case of compact flash, pulling it out of an IDE adapter is the same as pulling the whole hard disk off of the IDE channel - as for telling the computer it is going to be removed, you are actually removing the electronics that would tell the computer that it has been removed.... the computer is left going "huh? wtf?!, i'm sure there was something there, i'm sending request data, and nothing is comming back" - data corruption. if you're lucky.
if you are unlucky, you may have sent a voltage spike down the data lines and blown a controller chip.

PCMCIA does have some "hot plugging" capability, and in this case, i'd guess you aren't booting off of it, so you may be ok. i've never done this so i don't know.
all i do know, is that hot swapping CF cards using cheap IDE2CF adapters is not a good thing. :-)
Title: Re: ide compact flash adapters
Post by: rkauer on October 03, 2008, 07:05:03 PM
 ATAPI drivers don't physically disconnect itself from the computer. Just the media inside it does.

 You cannot take the IDE cable from a CD or DVD unit when it's turned on.
Title: Re: ide compact flash adapters
Post by: blanning on October 03, 2008, 07:06:11 PM
Thanks for the info.  I didn't realize there was more than just memory in a CF card.
Title: Re: ide compact flash adapters
Post by: alexh on October 03, 2008, 09:17:21 PM
Quote

blanning wrote:
I was hoping the ide adapters were smart enough to disconnect the "drive" upon removal.

Why? They are just wires, nothing else. CF cards are little more than IDE devices and the adapters just change the connector shape.

Quote

blanning wrote:
Thanks for the info.  I didn't realize there was more than just memory in a CF card.

There is a PCMCIA PC-Card to NAND flash controller chip.