Understanding Xport - Page 1
Forum section: electronics / projects

author: Gandalf_Sr
author_rank: Super Contributor
timestamp: March 22, 2019, 03:18:51 pm
content: I have designed a project that has a PSoC 6 processor talking to anXportand 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

author: 2N3055
author_rank: Super Contributor
timestamp: March 22, 2019, 04:30:03 pm
content: 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...

author: Gandalf_Sr
author_rank: Super Contributor
timestamp: March 22, 2019, 05:36:50 pm
content: Will the Xport Pro do what I need or do you think it is simply a case of Xport + software/driver at each end?

author: 2N3055
author_rank: Super Contributor
timestamp: March 22, 2019, 06:03:33 pm
content: 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.

author: Gribo
author_rank: Frequent Contributor
timestamp: March 22, 2019, 07:47:31 pm
content: You can implement ZModem protocol on the PSOC. This will allow you to send files over the serial link.

author: Gandalf_Sr
author_rank: Super Contributor
timestamp: March 22, 2019, 08:34:05 pm
content: Quote from: 2N3055 on March 22, 2019, 06:03:33 pmA 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.

author: Gandalf_Sr
author_rank: Super Contributor
timestamp: March 22, 2019, 08:35:07 pm
content: Quote from: Gribo on March 22, 2019, 07:47:31 pmThanks, I'll look into that.

author: Gandalf_Sr
author_rank: Super Contributor
timestamp: March 24, 2019, 02:04:44 pm
content: 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