Embedded Application - Writing to I/O

We are using an embedded AMD K62 400 MGHz computer, and an I/O device at
memory location 0x00e6. We are trying to write to this I/O device. We used
the mmap function, as described on the QNX4 help pages, with no success.
Can anyone point us to any available resources other than shmem.txt?
Thanks!

Logan Wagoner

that seems to be a fairly low address, is a system management device? are you sure
it’s memory mapped, and not I/O?

Previously, Jon Wagoner wrote in qdn.public.qnx4:
{ We are using an embedded AMD K62 400 MGHz computer, and an I/O device at
{ memory location 0x00e6. We are trying to write to this I/O device. We used
{ the mmap function, as described on the QNX4 help pages, with no success.
{ Can anyone point us to any available resources other than shmem.txt?
{ Thanks!
{
{ Logan Wagoner
{
{
{


Pat Ford email: pford@qnx.com
QNX Software Systems, Ltd. WWW: http://www.qnx.com
(613) 591-0931 (voice) mail: 175 Terence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

Jon Wagoner <jlwago@umr.edu> wrote:

We are using an embedded AMD K62 400 MGHz computer, and an I/O device at
memory location 0x00e6. We are trying to write to this I/O device. We used
the mmap function, as described on the QNX4 help pages, with no success.
Can anyone point us to any available resources other than shmem.txt?
Thanks!

For an i/o device do you mean an i/o port? That address seems awfully
low for mappable memory. (Actually, it seems awfully low for an i/o
port as well.) Are you sure the address is 0x00e6? Anyway, if it is
an i/o port you might want to look at the inp/outp series of functions.

-David

And don’t forget to link -T1 & run as root


“David Gibbs” <dagibbs@qnx.com> wrote in message
news:8t6n60$4co$1@nntp.qnx.com
| Jon Wagoner <jlwago@umr.edu> wrote:
| > We are using an embedded AMD K62 400 MGHz computer, and an I/O device
at
| > memory location 0x00e6. We are trying to write to this I/O device. We
used
| > the mmap function, as described on the QNX4 help pages, with no success.
| > Can anyone point us to any available resources other than shmem.txt?
| > Thanks!
|
| For an i/o device do you mean an i/o port? That address seems awfully
| low for mappable memory. (Actually, it seems awfully low for an i/o
| port as well.) Are you sure the address is 0x00e6? Anyway, if it is
| an i/o port you might want to look at the inp/outp series of functions.
|
| -David