From: Willy Tarreau <willy@w.ods.org>
To: Gene Heskett <gene.heskett@verizon.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Need hardware (chip) guru
Date: Wed, 29 Dec 2004 06:34:28 +0100 [thread overview]
Message-ID: <20041229053428.GO17946@alpha.home.local> (raw)
In-Reply-To: <200412282110.59601.gene.heskett@verizon.net>
Hi Gene,
On Tue, Dec 28, 2004 at 09:10:59PM -0500, Gene Heskett wrote:
> I've read through the Intel pdf doc sheets on the Intel 82c55 about 4
> times now, looking for clues, but everything about the control
> register seems to be write only. Their logic diagrams don't even
> acknowledge the existance of the control register.
Look at Table 1 page 2 (pin description). There is a table which details
which data goes on the bus for each address in read and in write mode.
If you read address 3, it should return the control reg (according to
the table).
> Is there anyone here who can tell me how to read the current status of
> the ctl register in an 82C55?
>
> The std inb(ctl_address, byte); is returning 0xff regardless of what I
> write with the corresponding outb statement <10 microseconds in front
> of the read.
Have you tried delaying more ?
Honnestly, I don't remember if I have ever read the control reg. Since it's
more of a command than a register, it does not make much sense (depending
on bit 7, it does different things). So at most, you would read the last
command sent to the chip. I don't know if this can be very useful.
Regards,
Willy
PS: for any replies, please post off-list, it seems a little off-topic
prev parent reply other threads:[~2004-12-29 5:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-29 2:10 Gene Heskett
2004-12-29 5:34 ` Willy Tarreau [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041229053428.GO17946@alpha.home.local \
--to=willy@w.ods.org \
--cc=gene.heskett@verizon.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®