Page 1 of 1
Remoting the serial debug port
Posted: Tue Oct 07, 2008 6:02 pm
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
Re: Remoting the serial debug port
Posted: Tue Oct 07, 2008 7:28 pm
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?
Re: Remoting the serial debug port
Posted: Tue Oct 07, 2008 8:25 pm
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.
Re: Remoting the serial debug port
Posted: Tue Oct 07, 2008 8:38 pm
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
Re: Remoting the serial debug port
Posted: Tue Nov 04, 2008 10:56 am
by craiglindley
Ridgeglider
The dual stdio stuff worked perfectly. Thanks for posting it
Craig Lindley