Zload over TCP

Questions and discussion about the ZBasic IDE.
Post Reply
pdubinsky
Posts: 70
Joined: 24 November 2005, 18:19 PM
Location: South Carolina
Contact:

Zload over TCP

Post by pdubinsky »

I've watched the recent discussion of wireless updates for the ZVM with some interest. Has anyone done updates over ethernet/TCP?

Paul
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Post by stevech »

yes, some time ago I used a Lantronix WiPort serial to WiFi ethernet converter to do so. Virtual COM port on PC side. I think I also did it with a Moxa NPORT.
pdubinsky
Posts: 70
Joined: 24 November 2005, 18:19 PM
Location: South Carolina
Contact:

Zload over TCP

Post by pdubinsky »

Do I understand that the zload thought it was using a serial port? My ZX24 device uses a Wiznet RS232 - Ethernet converter to put the device on the network. I'm going to try putting another Wiznet on the box that has the zload and sure that I can get that to work.

What I'm looking for, however, is method for loading directly to the ip address w/o a converter at the zload end. I looked at the zload.dll and using that as a basis for a TCP capable zload is a bit daunting.

Thx,
Paul
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Zload over TCP

Post by dkinzer »

pdubinsky wrote:Do I understand that the zload thought it was using a serial port?
Yes, a ethernet-to-serial converter was being used. This is similar in concept to using a USB-to-serial converter. In both cases, a special device driver is needed that provides a virtual comm port (VCP).

The zload code is written specifically to use a COMx port for communication with the ZX device. If you knew the correct protocol to use (probably UDP) and the format of the data packets it might be possible to eliminate the VCP and communicate with the endpoint device directly over the Ethernet connection.
- Don Kinzer
Post Reply