EHS6T USB no connection to RS232 | Telit Cinterion IoT Developer Community
October 9, 2015 - 10:17am, 13127 views
Hello! I have the Gemalto EHS6T USB and can not write/read to the RS232 connection. My config:
at^scfg?
^SCFG: "Call/ECC","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","std"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","std"
^SCFG: "Gpio/mode/DSR0","std"
^SCFG: "Gpio/mode/DTR0","std"
^SCFG: "Gpio/mode/FSR","gpio"
^SCFG: "Gpio/mode/HSIC","rsv"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","std"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","std"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/Otap","0"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","asc0",,,,"off"
^SCFG: "Userware/Watchdog","0"
OK
at&v
ACTIVE PROFILE:
E1 Q0 V1 X0 &C1 &D2 &S0 \Q3
S0:000 S3:013 S4:010 S5:008 S6:000 S7:060 S8:000 S10:002
+CBST: 0,0,1
+CRLP: 61,61,78,6
+CR: 0
+CRC: 0
+CMGF: 0
+CNMI: 1,0,0,0,0
+CMEE: 0
+CSMS: 0,1,1,1
+CREG: 0,1
+CLIP: 0,2
+COPS: 0,0,"Telekom.de",2
+CGSMS: 1
OK
at^spow?
^SPOW: 1,0,0
OK
My java
CommConnection serial = (CommConnection) Connector.open("comm:COM1;baudrate=19200");
DataInputStream serial_in = serial.openDataInputStream();
DataOutputStream serial_out = serial.openDataOutputStream();
serial_out.write(0x52);
I tried it with ASC0/1 Com0/1...
Hello,
In such case please connect RTS with CTS and use HW flow control on the module. This will not be a real flow control because there's no flow control on your device so you should be aware that there will still be a risk of buffer overflow.
There's the same module on the Concept Board and in the terminal but there's some hardware in the terminal which causes that the communication may not function correctly without HW flow control.
Best regards,
Bartłomiej
ok, thank you. it works with RTS/CTS.
Is there a possible to communicate without Handshaking or HW flow control?
Best regards,
Derlich
Hello,
This is the workaround for devices that has no HW flow control, the HW flow control is on the module only.
Can you check the ATI reply?
There was some changes in flow control in the firmware in revision 3.
Regards,
Bartłomiej
its Revision 02.000
In revision 3 software flow control has been added for ASC0 (new parameter for AT\Q command).
There's some chance that after updating the module to revision 3 the communiction on ASC0 might work without RTS/CTS under Java. But that would need to be tested.
Hi Bartłomiej
I have the same Problem with an EHS6T. I have a Software here which does only support software flow control. I updated to Software rev 3 and entered the command AT\Q1.I'm directly connected to the Serial RS232-Port, but XON/XOFF does still not work. It works for a short time, then it stopps and I have to switch back to RTS/CTS.
I'm using Putty to enter the commands. Can you help me? It's urgent, because we need this modem to replace the old ISDN/Analog Modems.
Hello,
Can you write more details - which serial port are you using, ATI1, AT^SCFG? reply. You are not using Java as I understand? Have you tried to connect RTS with CTS? Do you also have the module without terminal? Have you tried with other terminal or device?
Regards,
Bartłomiej
Hi Bartłomiej
Sorry for my late answer. I use the EHS6 Terminal with the onboard RS232 (Sub-D) Port. I'm not using Java, I connect with PuTTY to send some AT-commands over Serial.
I have no other EHS6T terminal to test, but due to lack of time I switched to another vendor with cinterion chipset and there it works out of the box.
Will be happy if it works with EHS6T:
Here is the at^scfg? output:
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","gpio"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","gpio"
^SCFG: "Gpio/mode/DSR0","gpio"
^SCFG: "Gpio/mode/DTR0","gpio"
^SCFG: "Gpio/mode/FSR","gpio"
^SCFG: "Gpio/mode/HSIC","gpio"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","gpio"
^SCFG: "Gpio/mode/SPI","gpio"
^SCFG: "Gpio/mode/SYNC","gpio"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEShutdown/sVsup/threshold","0","0"
^SCFG: "MEopMode/CFUN","0","1"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/Mtpl","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","0","0"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/OTAP","0"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","off"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","null",,,,"off"
^SCFG: "Userware/Watchdog","0"
Hello,
How about at^spow? reply? Don't you have power saving on serial interface?
You have some ASC0 lines configured as GPIO: DCD0, DTR0, DSR0, RING0.
Have you tried to connect RTS with CTS on the terminal?
Regards,
Bartłomiej
Hi,
SPOW output shows me, that there is some Power saving.
^SPOW: 2,1000,3
I don't want power saving, what do I have to configure? Do I have to set AT^SPOW=1,0,0?
I just want to use the Serial RS232 (Sub-D) to communicate with the modem, what should I configure? If I want to use XON/XOFF, do I still have to connect RTS with CTS? Do I have also to make changes on the GPIO's?