beautypg.com

2 debugging process – Rainbow Electronics GM862-GPS User Manual

Page 73

background image





Easy Script

in Python

80000ST10020a Rev.8 - 01/10/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 73 of 100

3.3.1.2 Debugging process


After the successful installation of the drivers process of direct debugging of the Telit GPS modules
can start. The steps are the following:

• Switch on the module and activate the SSC output with the following AT command:

AT#SSCTRACE=1

• Download and enable your Python script, then power OFF the module.

• to be sure that DTR input to the module is HIGH disconnect the RS232 cable from the

module side (i.e. RS232 DTR on the modem serial port is LOW);

• check if you have the USB cable connected between the USB port of the PC and the USB

port placed on the EVK2

• every time before you power ON the module you have to click on the Reset button in the

Python Debug application (necessary to reactivate the association between the virtual Com
port and the SSC device)

• Run a terminal emulator application (e.g. Hyper Terminal) to trace the activity of the Python

script, with the following setting:


connected

COM

virtual Port set in Python

Debug (COM8 in the

example)

Bit rate

115 200

Data bits

8

Parity

No parity

Stop bit

1

Flow control

Hardware




• Power ON the module and you should see the script starting and the debug info appearing

on the terminal emulator window.

• If the debug strings do not appear on the screen: power OFF the module, check again if

USB cable is correctly connected, reset the Python Debug application, than power ON the
module and run the terminal emulator application with the same settings as before.