Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Dual Compact Flash datalogger slave card detection
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
SweetCraspy  
View profile   Translate to Translated (View Original)
 More options 5 Nov, 15:07
Newsgroups: comp.arch.embedded
From: "SweetCraspy" <sweetcra...@gmail.com>
Date: Thu, 05 Nov 2009 09:07:51 -0600
Local: Thurs 5 Nov 2009 15:07
Subject: Dual Compact Flash datalogger slave card detection
Hello,

I'm attempting to modernize a datalogger by upgrading it from a 2.5 inch
IDE hard drive to two compact flash cards in a 2.5 inch IDE adapter.  My
application is actually almost identical to the one found in this thread:

http://www.embeddedrelated.com/usenet/embedded/show/97443-1.php

I have a 2.5 inch IDE to Compact Flash adapter from Addonics that has both
a master and slave CF slot.  When I populate both slots and plug it into an
external drive enclosure, my XP PC detects and can interact with both
cards.  I believe the adapter works in a Cable Select mode, because the
master's pin 28 is grounded and the slave's pin 28 is not connected to
anything.

When I plug the populated adapter into my datalogger, I can only interact
with the card in the master/Device 0 slot.  When I try to read the slave
card's status register I never get a DRDY (device ready) bit set.  

My level of interaction is with the actual device registers, i.e. setting
the number of sectors to write, giving an address to the
sector/cylinder/head registers and then issuing a Write Sector command.
The language I'm using is C, if it matters.

I've been using the ATA-ATAPI-5 specification to try to learn how to deal
with two devices on the same IDE port, but it seems to imply that switching
devices with the DEV bit in the device/head register should just work.

Is there anything special I need to do, perhaps at startup, to get the two
cards to configure themselves properly?

Thanks much!

---------------------------------------        
This message was sent using the comp.arch.embedded web interface on
http://www.EmbeddedRelated.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
SweetCraspy  
View profile   Translate to Translated (View Original)
 More options 5 Nov, 16:10
Newsgroups: comp.arch.embedded
From: "SweetCraspy" <sweetcra...@gmail.com>
Date: Thu, 05 Nov 2009 10:10:43 -0600
Local: Thurs 5 Nov 2009 16:10
Subject: Re: Dual Compact Flash datalogger slave card detection

>I believe the adapter works in a Cable Select mode, because the
>master's pin 28 is grounded and the slave's pin 28 is not connected to
>anything.

EDIT: Make that pin 39 for both.  I was counting them like header pins.  

---------------------------------------        
This message was sent using the comp.arch.embedded web interface on
http://www.EmbeddedRelated.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
SweetCraspy  
View profile   Translate to Translated (View Original)
 More options 5 Nov, 16:43
Newsgroups: comp.arch.embedded
From: "SweetCraspy" <sweetcra...@gmail.com>
Date: Thu, 05 Nov 2009 10:43:06 -0600
Local: Thurs 5 Nov 2009 16:43
Subject: Re: Dual Compact Flash datalogger slave card detection
Hmmm.  It seems that my issue may have been the fault of a CF card that
does not play well with others.  

This Kingston elite pro 133X 32GB doesn't seem to like dealing with a
slave, though it's been working fine on it's own.

Thanks for reading!

---------------------------------------        
This message was sent using the comp.arch.embedded web interface on
http://www.EmbeddedRelated.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
LittleAlex  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 17:56
Newsgroups: comp.arch.embedded
From: LittleAlex <alex.lo...@email.com>
Date: Fri, 6 Nov 2009 09:56:40 -0800 (PST)
Local: Fri 6 Nov 2009 17:56
Subject: Re: Dual Compact Flash datalogger slave card detection
On Nov 5, 8:43 am, "SweetCraspy" <sweetcra...@gmail.com> wrote:

> Hmmm.  It seems that my issue may have been the fault of a CF card that
> does not play well with others.  

> This Kingston elite pro 133X 32GB doesn't seem to like dealing with a
> slave, though it's been working fine on it's own.

> Thanks for reading!

> ---------------------------------------        
> This message was sent using the comp.arch.embedded web interface onhttp://www.EmbeddedRelated.com

FWIW, Kingston is my *least* favorite FLASH vendor.  Typical response
from their tech support is "too bad".

AL


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google