ts-7000
[Top] [All Lists]

[ts-7000] Re: Accessing serial ports on pc104 expansion board with TS780

To:
Subject: [ts-7000] Re: Accessing serial ports on pc104 expansion board with TS7800
From: "charliem_1216" <>
Date: Mon, 09 Feb 2009 16:28:17 -0000
Hi Bill --

--- In  Bill Whiteley <> wrote:
>
> Thanks for the reply. Ok, so does this mean that the low irq on my
expansion
> board maps to a higher
> irq on the arm9 (if so where do I find the mapping), or do I need to
set my

I believe the mapping is:
IRQ5 -> 22
IRQ6 -> 33
IRQ7 -> 40
Not sure what IRQ maps to 70 on ARM ...

> expansion
> board to have a irq of 70? If it is the latter, the gps may just not be
> compatible.

No, you need to set your board to one of the common x86 oriented IRQ
numbers (assuming your board has jumpers for IRQ & COM[n]).

You might also search the newsgroup for TS-SER1 info, which is a
simple PC-104 board with a 16650.  It has jumpers for IRQ[4,5,6,7,9]
and COM[3,4,5], and probably looks a lot like your GPS board serial
port.  This post recommended COM3 and IRQ7:
http://tech.groups.yahoo.com/group/ts-7000/message/7495

The ts7800_isa16550 module can take "io" and "irq" as parameters when
you insmod the module; default is io=0x3e8 and irq=6.  In the driver,
it's remapped by "req.irq = 64 + irq" .... ah, OK, that's where the 70
comes from.  0x3e8 is the io address for COM3 in MS-DOS lingo.

regards, ......... Charlie

> Thanks,
> 
> Bill
> 
> On Sat, Feb 7, 2009 at 5:40 PM, Jason Stahls <> wrote:
> 
> >   bill.whiteley wrote:
> > > :eclipse# setserial /dev/ttyS2 irq 7
> > >
> > > When I read and write to /dev/ttyS2 in my application it doesn't
throw
> > > any errors. The read always returns 0 characters received and the
> > > write always returns the number of characters that I intended to
send,
> > > however the tx and rx fields never change int
/proc/tty/driver/serial:
> > >
> > > :eclipse# cat /proc/tty/driver/serial
> > > serinfo:1.0 driver revision:
> > > 0: uart:16550A mmio:0xF1012000 irq:3 tx:4658 rx:212
RTS|CTS|DTR|DSR|CD
> > > 1: uart:16550A mmio:0xF1012100 irq:4 tx:53 rx:0 RTS|DTR|DSR|CD
> > > 2: uart:XR16850 mmio:0xEE0003E8 irq:7 tx:0 rx:0 <-----HERE
> > >
> > > So I doubt that I am actually sending or receiving anything.
> > >
> > > Does any one have experience with getting serial ports to work on
> > > expansion boards or have any idea what I am missing??
> >
> > Don't forget that this is ARM not x86 so IRQ70 is totally valid
and may
> > not corrispond to the IRQ's set on a expansion board designed for
a x86
> > CPU. Often lower x86 IRQ's from ISA/PCI busses will end up mapped to
> > much higher IRQ's on the actual ARM CPU.
> >
> > Jason
> >  
> >
> 
> 
> 
> -- 
> Bill Whiteley
> 
>




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

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