Remoting the serial debug port

Discussion to talk about software related topics only.
Post Reply
craiglindley
Posts: 19
Joined: Sat Apr 26, 2008 6:19 am

Remoting the serial debug port

Post by craiglindley »

Has anyone successfully redirected/remoted the serial debug port on the 5270 to work across the network?

It would allow me to debug my applications without having to have a physical serial connection between the development board and my development computer.

TIA

Craig Lindley
User avatar
yevgenit
Posts: 84
Joined: Fri Apr 25, 2008 12:47 am
Contact:

Re: Remoting the serial debug port

Post by yevgenit »

You can use any serial-to-ethernet device.
The example of such device is Advantech ADAM-4571L 1-port RS-232 Serial Device Server (http://www.advantech.com.tw/products/se ... ord=serial)

But, regular connecting of Netburner debugger via ethernet is much more convenient.
Instead of listening the mod5270 serial port, you can brodcast the debug messages from mod5270 via UDP using Netburner logging library.

> Has anyone successfully redirected/remoted the serial debug port on the 5270 to work across the network?
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Remoting the serial debug port

Post by rnixon »

NetBurner also has a number of serial to ethernet devices: SB70, SB72, SB72EX, CB34EX. The one I am using right now is a SB72EX, which comes in a metal enclosure. Never tried the debugger through this method though - that would be an experiment.
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: Remoting the serial debug port

Post by Ridgeglider »

Several resources: First two are TCP, 3rd is UDP

1) See the example in C:\Nburn\examples\serial\DualTcpToSerial
2) Paul posted a similar, but slightly different version to the old yahooo group last february. (attached).
3) Finally, see the syslog example: C:\Nburn\examples\syslog
Attachments
dualstdio.zip
(4.13 KiB) Downloaded 489 times
craiglindley
Posts: 19
Joined: Sat Apr 26, 2008 6:19 am

Re: Remoting the serial debug port

Post by craiglindley »

Ridgeglider

The dual stdio stuff worked perfectly. Thanks for posting it

Craig Lindley
Post Reply