ts-7000
[Top] [All Lists]

[ts-7000] New to TS-7xxx ARM SBC, looking for basic RS232 loopback test

To:
Subject: [ts-7000] New to TS-7xxx ARM SBC, looking for basic RS232 loopback test program. (TS-7500
From: "Jon L" <>
Date: Thu, 10 Dec 2009 18:13:36 -0000
Current architecture:

TS-7500 mounted on the TS-752 development kit, 
Talk to the TS-7500 through the TS-752 Console port using a hypertrm session 
running from a Windows XP pro PC. 


And its been 9 years since I programmed in a unix environment too :-/ (and at 
that not programming at the hardware level) 
so please be kind. 

The skinny is, 

I want to make a simple loopback test, send out, say 5 characters, on one port, 
and every time the second port receives the 5 characters it sends back a 
message "got 5 chars".  If the receiving process gets the first char, but 
within say 3 seconds doesn't get the 5th, it sends the string "got less than 5 
chars". 


Here's what I've got so far:

I wrote a bunch of Uart handlers software for a Rabbit Processor and they all 
work fine, but my boss wants it to run on the busybox linux processor on the 
TS-7500 board.  So I got me a TS-7500 that has the busybox linux on the flash 
memory for fast boot, and the full debian linux on the removable card for a 
development suite. I got my hello world program working just fine (writing to 
stdio), and it even runs fine on the busybox linux (you must compile with the 
--static option!!!) 

I've got my TS-7500 mounted on the development kit TS-752 that has broken out 
all sorts of the pins as described here: 

http://www.embeddedarm.com/about/resource.php?item=414  (section "3.1") 

meantime along with confusion about the pinouts (looks like there are typos 
describing pins 28 and 29 for example) 

I'm lost on how to begin.  Can anybody point me in the right direction to 
programming the UART's in this TS-7xxx environment? Even if its for one of the 
other boards, I'm sure it should be not too difficult to convert it. 








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

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