ts-7000
[Top] [All Lists]

Re: [ts-7000] Ts7500 with 752 board using XUART0 and Rs232 Console throu

To:
Subject: Re: [ts-7000] Ts7500 with 752 board using XUART0 and Rs232 Console through DB9
From: Alex McLain <>
Date: Tue, 10 Apr 2012 18:54:48 -0700


Yes, I have been able to get the 7500 + 752 to run the console and UART0 at the same time.  The DB9 port on the dev kit measured +/-7V so I ran it into an RS232 port.  However, I have also tapped the DIO header on the 752 for TTL, as well as removing the 7500 board from the kit and connecting to it directly.  In the latter two cases I used an FTDI TTL-232R-3V3 cable.

With everything connected properly, I ran the xuartctl command from the terminal.  I believe I passed the same flags as you've listed.  If I remember correctly, it mapped the UART to /dev/pts/1 and the console was on /dev/pts/0.  These devices don't always seem to map to the same location; for example, I could run xuartctl from a cron job and then start an SSH session and the devices would swap numbers.  Anyway, at this point I was able to run commands like cat and echo on /dev/pts/1 while the serial console was in operation at the same time.  Running a Picocom session worked fine too.

If you can get the UART listed in /dev and successfully echo some data to it, I think you could narrow it down to a software problem at that point.  Sometimes I've had to call "setuid(0)" within C before I could access the port.  It depends how permissions are set up.

-Alex


On Tue, Apr 10, 2012 at 2:38 PM, dannyd5000 <> wrote:
 


Hello, I have been trying to get this working for a while now without luck.

I am using the TS-7500 with the 752 (Eval Break out Board).

I cut a rs232 cable in half hooked up the good end to the Eval kit DB9 connector, and broke out the wires according the the 752 DB9 diagram. I ringed out all the pins so I am positive I mapped the wire to the proper pins.

My goal is to do the following

*break out serial console (pins 2,3,5) to another serial cable so i can get the console on my PC (SUCCESSFUL)

*Break out the XUART0TX and XUART0RX (Pins 7 and 8) to a TTL/RS232 converter and read and write to a serial device on the other end(FAILING)

For sanity sake, Is there anyone else out there using the 7500 with the 752 and also using the XUART0 with console? Also are you using it with a TTL/Rs232 converter?

When I open the XUART0 and write to it I am able to see garbage get written out. I used the settings in the xuart wiki example, with many many other variations. I am using Hyperterm on the other end for testing.

here are my termios settings
system("xuartctl --port 0 --speed 9600 --server");
newtio.c_cflag = CRTSCTS | CS8 | CLOCAL | CREAD | B9600;
newtio.c_iflag = IGNPAR;
newtio.c_oflag = 0;

/* set input mode (non-canonical, no echo,...) */
newtio.c_lflag = 0;

Thanks in advance...




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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