timwen7 wrote:
> Michael,
>
> The drivers are installed and I see "/dev/ttts0",etc. with 'dmseg'
> command.
> I found some code you provided in message 11393 (using select()) and
> compiled it with term.c. Still no luck on /dev/ttts4.
> I ran the same code on CPU COM2 and it works...
Ok, ttts4 is the Tx/Rx pins on the COM3 port. How far is your data
getting when you send (or receive)? You can use the portDebug parameter
when insmodding tsuart7800 to get various debug info from the driver,
including when bytes are transmitted and received at the driver level.
(Consult tsuart1.h for DEBUG_* values to pass, they are additive). If
data is getting that far you could also monitor the pins with a logic
probe or scope and see if the data is making it out onto the wire.
Though actually now that I re-read your message since you are using
select() it sounds like you are having trouble receiving bytes, so for
that you would reverse the order, i.e. first look at the receive line
when the remote is sending, then look at the debug values from the driver.
You might also check if you code works on any of the other TS-UART ports.
> Tim
______ 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/
|