![](/images/new-backgrounds/1119971/119971103x1.webp)
TC65 JAVA User's Guide | s |
Strictly confidential / Released |
|
In the debug environment the module is connected to a PC via a serial interface. This can be a USB or an RS232 line. The application can then be edited, built, debugged or run within an IDE on the PC. When running or debugging the MIDlet under IDE control it is executed on the module
10.2Emulator
The TC65 emulator is part of the SMTK and is used as the controlling entity for
The emulator accesses the module with AT commands. In order to do this, it must know the COM port and bit rate to use. The values are configured in the file wtk/bin/WM_Debug_config.ini. Set the “Port” and “Baudrate” parameters to the desired values.
Debugging information between the Debugger (IDE) and the JVM is transferred over an IP connection. In order to establish this IP connection between the PC and the module the emulator needs a special
•ISP name: “IP connection for remote debugging”
•Modem: either “Standard 19200 bps Modem” or “TC65 14400 bps Modem”
•Phone number: *88#
•Username and password: any will do, it is recommended that the username and password be saved for
•Disable the “Redial if line dropped” option.
•Enable “Connect automatically”
Make sure that the DUN uses the same COM port and bit rate as the emulator. 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. Because of this loss and because of its speed it is recommended that the USB interface be used.
If necessary, the IP addresses used for the debug connection can also be changed. This is done in the file wtk/bin/WM_Debug_config.ini. See the documentation of at^scfg with parameter userware/debuginterface for details. Please keep in mind, that the IP address range 10.x.x.x is not supported for configuration of debugging!
During installation of TC65 SMTK some new programs are installed for handling the debugging session in conjunction with the IDE. The installation routine of the TC65 SMTK doesn't change any configuration 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
TC65 JAVA User's Guide_V05 | Page 52 of 90 | 26.09.2005 |