From: Terry Porter <tp@gr...> - 2000-04-06 03:13:52
For the first time the other day I used S51 outside of DDD, to connect to
a simulated serial port, and running Vikki Welch's vs1.c serial code
which loopbacks to the sender serial data sent to the micro.
I have to say this is very cool indeed, and works perfectly!
I used a xterm to connect to the S51 serial facility
$ s51 -s/dev/ttyp1 vs1.ihx
I've also got S51 running from a socket on my pc
tp@... ~/projects/vs1 >s51 -Z 5555 ./vs1.ihx -c/dev/tty
and have 2 xterms telnetted into it:-
tp@... ~ >telnet 220.127.116.11 5555
Connected to 18.104.22.168.
Escape character is '^]'.
ucsim 0.2.31, Copyright (C) 1997 Daniel Drotos, Talker Bt.
When I enter a line of text into the serial xterm, I can examine
the program from any of the telnetted xterms :)
I've put a pic on my site, for anyone who is interested.
The top LH term is a telnet connection to port 5555, and displays whatever
info desired, in this case the sfr "ds" after I've entered a "b" in the
top RH term (the one disconnected from the shell).
The lower LH term is the one running vs1.ihx
The top LH term has 3 lines in the middle :-
65.4289 sec: Accepting interrupt `serial receive' PC= 0000de
65.429 sec: Accepting interrupt `serial transmit' PC= 0000db
65.4296 sec: Accepting interrupt `serial transmit' PC= 0000e4
These occur each time I press a key on the serial term (top RH)
Note: RH = right hand, and LH = left hand.
Now if this isn't the coolest, tell me what is ???
I've left the port5555 connection open, so if anyone wants to try
it, note I'm a dial up connection (static ip) so it may not be on line :-
telnet 22.214.171.124 5555
no password required, please don't "run" or "g" tho as it will set my cpu
to 100%, commands like "h" or "dp" etc are welcome.
**** To reach me, use tjporter@... ****
My Desktop is powered by GNU/Linux, and has been
up 3 days 14 hours 38 minutes
** homepage http://www.odyssey.apana.org.au/~tjporter **
Get latest updates about Open Source Projects, Conferences and News.