ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-SER2

To:
Subject: [ts-7000] Re: TS-SER2
From: "Jesse Off" <>
Date: Fri, 17 Jun 2005 23:20:14 -0000
Keep in mind you can only have one TS-SER2 board per TS-7xxx.  While
our other peripheral boards can share IRQs by switching IRQ lines to
high-Z while not asserted, the TS-SER2 cannot and always drives the
IRQ signals low or high.

The UART driver will still mostly work without interrupts, but not
very well. (dropped characters, etc..)  You do have to set the jumpers
on the TS-SER2 to use either IRQ6 or IRQ7 and then make sure they
match where the kernel things they are using setserial.  setserial
expects ARM interrupt numbers, not ISA interrupt numbers.

ISA IRQ6 is ARM interrupt 33 and ISA IRQ7 is ARM interrupt 40.

Linux enforces one common contiguous number space for all interrupts
in its driver API and has no mechanism/abstraction to allow for the
encapsulation of this IRQ mapping knowledge within the kernel.  (i.e.
whereas BSD has isa_intr_establish() for ISA drivers, Linux has
request_irq() for ALL drivers)  Therefore, these types of details
bubble-up and have to be known by the end-user of the driver in Linux.
    Sorry...

//Jesse Off

--- In  "Tarun Tuli" <> wrote:
> Hi.
> 
> We recently picked up a few TS-SER2 boards to go along with our
> TS-7250 SBCs.
> 
> I am having some problems getting them to do anything however.  Linux
> detects them on 
> startup:
> 
> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
> enabled
> ttyS02 at 0x89c003e8 (irq = 40) is a 16550A
> ttyS03 at 0x89c002e8 (irq = 33) is a 16550A
> 
> But when trying to use them through termios, I can't seem to get them
> to do anything 
> (using the same code I used to successfully access the onboard
> ttyAM1).
> 
> The device nodes im using are at /dev/tts/2  and /dev/tts/3
> 
> Is there some obvious I need to do to make these work?  One thing I
> don't understand is 
> the IRQ mapping and what effect (if any) the IRQ jumpers on the
> TS-SER2 have.  Do I have 
> to implicity tell the port to operate on the same IRQ as the jumper
> on the board using 
> something like setserial (I tried this btw -- no change).
> 
> Thank you.





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

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