ttyUSB0 of ESH6T not recognised in Linux Ubuntu Server | Telit Cinterion IoT Developer Community
March 11, 2020 - 2:15am, 2779 views
Hi,
I'm trying to send some serial data via the ASC port connections via an FTDI chip mounted on the EHS6T to a usb cable attached to a server operating Ubuntu Server.
Would anyone be able to shed some light as to why Ubuntu recognises an attached FTDI chip, but cannot recognise the EHS6T modem and transfer serial data across between the terminal and server?
I just read a description in the EHS6T data sheet about some Linux Mac compliant mode so I am wondering if that's some switch I need to set in terminal config? or something I can set in Java?
Thanks.
N.
Hello,
If we are talking about EHS6T terminal without LAN port it should have USB and RS232 connectors on the casing. And the module mounted inside also has USB and RS232 interfaces. So it is not clear for me which connector you are using. Maybe you have an external USB-RS232 converter? As far as I know there's no switch or any other configuration needed to enable Linux compatibility.
Regards,
Bartłomiej
Hi,
I am using an FTDI converter ttl converter USB chip with corresponding jumper wires connected to the GPIO ASC1 port.
Tx pins of each socket are connected to each other, as is the RX pins. So there are no crossovers comms connections.
My simple midlet app can receive serial data from a Linux device but it seems the Linux device will not receive any serial data to it from the Gemalto terminal.
Thanks,
N.
Hello,
If the communication works in one direction the RX and TX lines are most probably connected properly. Please make sure that RTS/CTS lines are connected and hardware flow control is enabled on both sides (please verify the connection string in Java MIDlet). Please check if GND is connected and if there is an appropriate voltage connected to VCCref on the GPIO connector. Please verify ^SCFG: "GPIO/mode/ASC1" setting if it is set to "std". Please check AT^SPOW? setting.
You may also try without the MIDlet if AT commands are working over ASC1 (^SCFG: "Serial/Interface/Allocation" setting may need to be adopted).
Regards,
Bartłomiej
Hi sir,
Hope you are well.
Having read and followed your check list points , I have noted the following in my own config and setup:
1. The full hardware connection via the Weidmuller head connector of ASC1 GPIO port via a TTLUSB FTDI converter chip and breadboard is as follows:
Config is confirmed as follows:
Connection string in Java is **String strComm = "comm:COM1;blocking=off;baudrate=115200;bitsperchar=8;parity=none;stopbits=1;autocts=on;autorts=on";**
I note your suggestion about checking both programs including my Midlet and other Java app both have hardware control enabled. The Midlet program does, as per config and Java connection string above, but the Java app for PC / Linux does not, so I may have to revise code for the latter.
Does the RTS and CTS pins on Gemalto EHS6T have to be connected to the FTDI chip?
Thanks.
N.
Hello,
Hardware flow control should be used in case of terminal, I think that connecting RTS to CTS should also do a job.
I think that you should first try with AT commands. And please check AT^SCFG? output to verify the "Serial/Interface/Allocation" setting.
Regards,
Bartłomiej
Hi, I will attempt with AT commands as you have suggested above.
Thank you again.
Regards,
N.