XPort loader
agodwin
Posts: 72
Some time ago, I specified a Lantronix XPort for a prop board I was building. This device has been discussed here before - it's a serial to ethernet converter in an RJ45 socket. I chose it because as well as making an easy method for me to convert my interface from RS485 to ethernet, it also appeared to be possible to use it as a remote serial port so I could download code over the net, too.
Unfortunately, I could never get the DTR control in the serial port emulation to work correctly, so I stuck with a USB port.
The requirement to remotely download has come up again and I've had another look.
This time, I've started with Remy Blank's python loader. I don't know much python, but I've learned just enough to make the changes from serial to socket interfaces. The result seems to work fairly well, though I don't know how tolerant it will be to delays on the network connection.
I shall upload it here when I've cleaned it up a little, but if anyone's interested (perhaps if you have a YBox ?) I'd be glad of some extra testing. Also interested in Remy's comments - should I keep this as a separate loader or try to integrate it with yours ? I'm not sure my python's good enough to modularize the serial interface parts neatly.
-adrian
Unfortunately, I could never get the DTR control in the serial port emulation to work correctly, so I stuck with a USB port.
The requirement to remotely download has come up again and I've had another look.
This time, I've started with Remy Blank's python loader. I don't know much python, but I've learned just enough to make the changes from serial to socket interfaces. The result seems to work fairly well, though I don't know how tolerant it will be to delays on the network connection.
I shall upload it here when I've cleaned it up a little, but if anyone's interested (perhaps if you have a YBox ?) I'd be glad of some extra testing. Also interested in Remy's comments - should I keep this as a separate loader or try to integrate it with yours ? I'm not sure my python's good enough to modularize the serial interface parts neatly.
-adrian