On Fri, February 15, 2008 1:54 pm, Gottfried Leibniz wrote:
> Sorry if this is a dumb question, but I'm trying to make use of the
> additional serial ports hiding in the COM1 and COM3 headers. I can
> find documentation that tells me the pins to use, but it says they
> have to be turned on with software. That's the part I cannot find.
> How do I activate the extra serial ports?
Make sure you have the latest drivers at
ftp://ftp.embeddedARM.com/tsuart-2.6/
The drivers you will need are tsuart1.ko and tsuart7800.ko. Those are
also the order you will need to insmod or modprobe in. Once the drivers
are loaded you may need to run "mdev -s" (unless you are running udev) to
make the new device nodes show up in /dev. The latest driver
automatically handles setting the bits as needed for the ports on the
PC104 bus (uart 8 and 9). When you open the device node for the
appropriate port, the function will automatically be activiated, i.e. if
you open uart 5 then pins 7 and 8 on COM3 will switch from their normal
function (CTS/RTS IIRC) to Tx/Rx for the newly opened port. If you are
not using the driver the change happens when you write a non-zero baud
rate to the STAT register of the UART.
> Also, my first COM3 serial port is not activated. Will that use the
> same process as the extra ports? Or is there something else I'm
> supposed to do to get this going?
>
> Thanks
>
Normal COM3 functionality is accessed through the device for UART 4. The
device node should be something like /dev/ttts4 or /dev/tt8s4.
______ Best Regards,
|__ __/ Michael Schmidt
|| Software Engineer
||echnologic Systems (EmbeddedARM.com)
|| (480) 16610 East Laser Drive #10
|/ 837-5200 Fountain Hills, AZ 85268
http://oz.embeddedarm.com/~michael
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/
|