Hello,
I am having problems trying to access a 16-bit PC104 card,
specifically a Sensoray Model 526, using a TS7800. The Sensoray is
"controlled through a set of 27 registers mapped into I/O space ...
all register accesses are 16-bit; 1 byte and odd addresses are not
supported" (from Sensoray 526 manual). I first discovered my problems
trying to access this board while writing a kernel driver for it where
the data I was expecting to find did not seem correct. So I am now
troubleshooting my access using `peekpoke' on the command line.
The Sensoray board has it's base address set to 0x2C0 (via a set of
jumpers) and has a "signature register" located at address 0x34 where
I expect to see: 0x526X (where X = firmware revision number) after a
16-bit read. So, what I am doing is this:
# peekpoke 16 0xEF0002F4
NOTE: The address of 0xEF0002F4 is derived by: 0xEF000000 + 0x2C0 + 0x34
NOTE2: Per the TS7800 manual
(http://www.embeddedarm.com/about/resource.php?item=303#pc104bus
) 16-bit I/O base address is 0xEF000000.
Prior to trying to access the Sensoray board, I do the following:
# pc104on
And I verify the following via `peekpoke':
# peekpoke 32 0xE8000030
0x55555555
# peekpoke 32 0xE8000034
0x55555555
# peekpoke 32 0xE8000038
0x55555
# peekpoke 32 0xE800003C
0x55555
Also NOTE that on the Sensoray message forum, with respect to another
one of their peripherals, I read a post from a Sensoray engineer who
stated that SBCs that perform 16-bit data transfers as two consecutive
8-bit accesses will not work:
http://www.sensoray.com/forum/viewtopic.php?t=10&highlight=isa
Is this the case with the TS7800?
For the record, this particular TS7800 has been used with 8-bit PC104
cards successfully.
Any other pointers from the list members or TS tech support is greatly
appreciated.
Thanks,
Tom.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|