Author Topic: Understanding Xport  (Read 1607 times)

0 Members and 1 Guest are viewing this topic.

Offline Gandalf_SrTopic starter

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Understanding Xport
« on: March 22, 2019, 03:18:51 pm »
I have designed a project that has a PSoC 6 processor talking to an Xport and I am looking for insight on how to send files over the link.  I wrote all the PSoC 6 code in C so I have full control at my end, I also wired all the spare pins on the Xport to PSoC6 pins so I can implement flow control if required.

I can connect to the Xport over Ethernet from a PC running TeraTerm and send/receive serial data reliably using a TCP/IP connection.  My project captures sensor data and stores it in flash(data sets can be up to 100k Bytes long) and now I want to set up a link with a remote machine that will interact with my project to request and then receive the data sets; the problem/gap in my understanding is how to 'talk' to the Xport in any other way than raw serial data.

The Xport Pro seems to have a command line interface (CLI) and maybe this is a way to go?
Maybe all I need to do is to pick some standard format and then install drivers at each end?

Can anyone advise me or point me to relevant documentation?

Thanks in advance
If at first you don't succeed, get a bigger hammer
 

Offline 2N3055

  • Super Contributor
  • ***
  • Posts: 7462
  • Country: hr
Re: Understanding Xport
« Reply #1 on: March 22, 2019, 04:30:03 pm »
Whole point of Xport  is to be transparent ethernet/serial gateway.
You setup connection and than you speak serial end to end....
On windows you can install virtual serial port that speaks with xport...
You can also make telnet to serial link..
It is not ethernet /tcp/ip module...
"Just hard work is not enough - it must be applied sensibly."
Dr. Richard W. Hamming
 
The following users thanked this post: Gandalf_Sr

Offline Gandalf_SrTopic starter

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: Understanding Xport
« Reply #2 on: March 22, 2019, 05:36:50 pm »
Will the Xport Pro do what I need or do you think it is simply a case of Xport + software/driver at each end?
If at first you don't succeed, get a bigger hammer
 

Offline 2N3055

  • Super Contributor
  • ***
  • Posts: 7462
  • Country: hr
Re: Understanding Xport
« Reply #3 on: March 22, 2019, 06:03:33 pm »
Pro is same with richer management and security on ethernet side and MODBUS..

You either have end to end two Xport connected with ethernet and get virtual serial cable or you have one side Xport and driver on Windows that works same as would usb/serial cable...

Xport serial is TTL so you need MAX232 type chip (RS232 transciever)to be RS232. RS485 is also supported.
"Just hard work is not enough - it must be applied sensibly."
Dr. Richard W. Hamming
 

Offline Gribo

  • Frequent Contributor
  • **
  • Posts: 649
  • Country: ca
Re: Understanding Xport
« Reply #4 on: March 22, 2019, 07:47:31 pm »
You can implement ZModem protocol on the PSOC. This will allow you to send files over the serial link.
I am available for freelance work.
 

Offline Gandalf_SrTopic starter

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: Understanding Xport
« Reply #5 on: March 22, 2019, 08:34:05 pm »
Xport serial is TTL so you need MAX232 type chip (RS232 transciever)to be RS232.
A MAX232 isn't needed unless you're interfacing with 'real' RS232 signals where there are + & - voltages, my processor uses +3.3V Vcc as does Xport and so no voltage translator IC is needed; PSoC 6 connects directly yo the Xport pins.
Thanks for the advice though.
If at first you don't succeed, get a bigger hammer
 

Offline Gandalf_SrTopic starter

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: Understanding Xport
« Reply #6 on: March 22, 2019, 08:35:07 pm »
You can implement ZModem protocol on the PSOC. This will allow you to send files over the serial link.
Thanks, I'll look into that.
If at first you don't succeed, get a bigger hammer
 

Offline Gandalf_SrTopic starter

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: us
Re: Understanding Xport
« Reply #7 on: March 24, 2019, 02:04:44 pm »
Can anyone point me to a download for using zmodem on the PSoC (GCC compiler in PSoC Creator IDE)?  I'm struggling to find it.  Maybe there are other options like Kermit, Xmodem or Y modem?

Thanks
If at first you don't succeed, get a bigger hammer
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf