Cep Terminals GSM/GPRS TERMINAL CT63 JAVA 6203 用户手册

产品代码
6203
下载
页码 109
Java User’s Guide
10.1 Debug Environment
84
wm_java_usersguide_v19
Page 59 of 109
2012-01-27
Confidential / Released
10.1.2
Emulator
The ME emulator is part of the CMTK and is used as the controlling entity for on-device debug-
ging. Some values can be configured in the file "wtk/bin/WM_Debug_config.ini". The emulator 
runs fine without changes in WM_Debug_config.ini file, because the settings for the serial in-
terface (COM port and baudrate) are configured during installation of CMTK.
Debugging information between the Debugger (IDE) and the JVM is transferred over an IP con-
nection. In order to establish this IP connection between the PC and the module the emulator 
needs a special Dial-Up-Network (DUN):
ISP name: "IP connection for remote debugging of ABC2"
Modems: "Cinterion ABC2 Java Debug Modem USB" for USB serial modem and "Cinterion
ABC2 Java Debug Modem Ser" for standard serial modem
Phone number: *88#
Disable the Redial if line dropped option.
Enable Connect automatically
This Dial-Up Network (DUN) connection is installed automatically together with the required 
modem device during installation of the CMTK. The emulator uses always the serial port con-
figured for this Dial-Up Network connection.
You can use any of the three serial interfaces (ASC0, ASC1, USB) to connect with module, but 
you will lose the functionality which is normally present on the interface. Please also note that 
the Dial-Up Network under Windows needs the DCD line of the serial interface. The DCD line 
is not served on the ASC1 interface for the current Java modules. So you have to electrically 
set the DCD line to high for debugging over ASC1. This cannot be done by AT comand. In ad-
dition, the missing DTR input on ASC1 may prevent the module from detecting the termination 
of the Dial-Up Network, so in some cases the module has to be reset manually after the debug 
session was terminated. Because of the above mentioned issues and for performance reasons 
it is recommended to use the USB interface (see also 
There are some points to notice in case of using the USB interface in a debugging session. If 
you are starting a debugging session very quickly once again after end of a previous debugging 
session, the emulator is not able to select the USB interface and is selecting a standard modem 
connection. Please wait some seconds to avoid this operation system dependent problem, be-
cause the Windows operation system needs some seconds to enable the USB port once again 
after the "IP connection for remote debugging of ABC2" is closed.
If necessary, the IP addresses used for the debug connection can also be changed. This is 
done in the file "WM_Debug_config.ini". For details, see also the AT^SCFG command and its 
"Userware/DebugInterface" parameters described in 
Please keep in mind that the IP ad-
dress range 10.x.x.x is not supported for in device debugging!
During installation of CMTK some new programs are installed for handling the debugging ses-
sion in conjunction with the IDE. The installation routine of the CMTK doesn't change any con-
figuration of an existing firewall on your PC. In the case, that a firewall is installed on your PC 
and the local configured and used IP connection (Dial-Up Network connection for debugging) 
is blocked or disturbed by this firewall, please configure the firewall or the Dial-Up Network con-
nection manually to accept the new installed programs and the port or to use another port or 
contact your local PC administrator for help.