ts-7000
[Top] [All Lists]

Re: [ts-7000] Accessing 16-bit device over PC104 on TS7800

To:
Subject: Re: [ts-7000] Accessing 16-bit device over PC104 on TS7800
From: Tom Panzarella <>
Date: Mon, 4 May 2009 14:14:04 -0400
For the benefit of others on the list who may run into this issue at  
some point in time, the fix to my issue was to set bit 11 ("TS special  
ISA pinout enable") of the PC104 control register (0xE800000C) to  
0 ... it was 1 by default. I can now access the board as normal.

Thanks for the help Grant (TS tech support).

On May 4, 2009, at 11:17 AM, Tom Panzarella wrote:

> 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
>
>
>


------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU