--- In "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.
>
Hey guys, thanks so much for your input. I'm not sure how to implement either
solution though. What I know how to do so far is take a xxx.c file run it
through the gcc compiler, and make an a.out.
Paul,
I can't use the pascal (although I'd love to!!) as I have other developer's
working with me so I have to base my code in C. I also don't have any idea how
to make an a.out out of what's in that tar file.
ynezz,
I'm not familiar with your environment either. I've never heard of "lua" and
I don't know what this link is for:
git://github.com/ynezz/librs232.git
you say you use the information in your links on a TS ARM board, but I don't
know the steps on how to do that to get an a.out
I guess I'm just a dinosaur. I was hoping for a source code program written in
c, say like "simple_uart.c" that I can gcc compile, get an a.out, run it with
a level shifter between the two pins (RX and TX) that are the uart (I not even
sure how in debian linux C to declare what pins go to what uart using the
TS-7xxx processor)
and when I hook up those two wires to a hyper terminal session the characters
"hello uart\n" pop out every 10 seconds.
That would be a great starting point for me. If the "simple_uart.c" turns out
to be multiple c and h files, I imagine an appropriate makefile should also
accompany it.
This is the way I program, am I willing to learn a new way, either way, but I
need a soup to nuts example of a project.
TIA,
Jon
------------------------------------
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/
|