Hi Jon,
On Thu, Dec 10, 2009 at 06:13:36PM -0000, Jon L wrote:
> 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.
>
Are you trying to use the UARTs on top of bare-bones metal or on "busybox
linux" as
you described above? For the later, it is easy: just check for example:
http://tldp.org/HOWTO/Serial-Programming-HOWTO/
or something similar for starters.
If, on the other hand, you are trying to use UARTs without any OS, then you need
to get yourself familiar with the machine you are working with. TS has rather
good
documentation so that should get you started. At least in my TS-7260 this kind
of
test software was pretty easy to build, once I got cross-compilers etc. running.
Hope this helps,
MW
------------------------------------
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/
|