EHS6T LAN - Will it work with the standard development environment? | Telit Cinterion IoT Developer Community
September 29, 2014 - 12:32pm, 8305 views
Hi, I see that the EHS6T LAN doesn't have USB. I understand the reason for this (it's being used by the ethernet controller) but I'd like to ask: how do we program it? The concept board and other terminals connects via USB for debugging and programming. Thanks - Jason
The LAN terminal has RS232 ports and it should be possible to connect it to the PC. There is ASC0 on DB9 connector and ASC1 on GPIO pins.
ASC0 should be available in all possible configurations (please see more for ^SCFG: "Serial/Interface/Allocation" parameter in AT Commands Specification document). By default there is a power saving active on serial interfaces (please see AT^SPOW command for more) and with that setting you need hardware flow control - please check if your RS232-USB adapter provides this if you use one.
It is possible that your RS232-USB adapter is the source of a problem - such adapters sometimes are problematic.
Besides the physical port you can also access AT command interpreter via telnet connection on 1234 port. Then the built-in OpenWrt system connects to the module over USB and you should be able to send AT commands over telnet in the same way as via physical interface.
I´ve tried to connect the PC to the ASC1 Serial Port according to the AT command (AT^SCFG) by changing "rsv" to "std" and appeared an error on the command.
Also I´ve tried to disable the power saving (AT^SPOW) and didn´t work to connect the PC to the module.
I made this adapter Diagrama de Conexión ASC1 to USB.pdf in order to connect the module to the PC using the ASC1 Serial Port.
I´ve also tried to connect the RS-232 -- USB adapter to the db9 gemalto modem port and didn´t work.
In my last effort to transfer the "HelloWorld" example to the modem, I used FTP to copy the JAR y JAD files
Can you help me checking if the diagram that I´ve made is coorect?
Is ther anything else that I can try?
Is correct using FTP to transfer those files to the modem ?
Thanks in advise.!!!!
So were you able to access AT interface via telnet? As you have been trying to send SCFG command I suppose that you were. Have you sent the following command? at^scfg="Gpio/mode/ASC1","std"
I think that your ASC1 connection is OK, there is only ground missing. It seems to be in accordance with the documentation:
Java Terminals are designed for use as a DCE. Based on the conventions for DCE-DTE connections
they communicate with the customer application (DTE) using the following signals:
• Port TXD @ application sends data to Java Terminal’s TXD1 signal line
• Port RXD @ application receives data from the Java Terminal’s RXD1 signal line
To use ASC1 you also need to configure "Serial/Interface/Allocation" to "1" and reboot the module.
But ASC0 should be also working.
If you configure the application system out on any interface it will not be possible to send any AT command on that interface.
Can you see the port in Device Manager under Ports? If use RS232-USB converter and you can't find any port, there is probably some problem with the converter. If you can find the port you should make sure that you have configured your terminal program correctly: baudrate 115200, 8 data bits, no parity, 1 stop bit. To execute any command you need to add <CR> character in the end.
This device has 2 processors: one is for LAN functionality with OpenWrt Linux system and the other one is wireless module. By FTP you can access the Linux file system. And to load the MIDlet to the EHS6 module's file system you need to use the serial port. You should have MES application (provided with Gemalto SDK) with which you should be able to access the module's file system or you can use AT commands for that.