3 debug python script, 1 debug python script on gps modules using ssc bus, 1 installation of the drivers – Rainbow Electronics GM862-GPS User Manual
Page 70

Easy Script
in Python
80000ST10020a Rev.8 - 01/10/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 70 of 100
3.3 Debug Python script
The debug of the active Python script can be done both on the emulated environment of the
Telit
Python Package
(refer to its documentation) or directly on the target with the second serial port pin
EMMI TX (actually a not translated RS232 serial port as the RXD pin).
Connect to the module serial port EMMI TX at 115200 8-N-1 with hardware flow control active.
Now you can see all Python outputs to stdout and stderr:
• Python information messages (for example the version);
• Python error information;
• Results of all Python “print” statements.
The
Telit GM862-GPS
and
GE863-GPS
have the second serial port pin EMMI TX used for continuous
direct output of GPS NMEA sentences that’s why there is another procedure to follow for debugging of
the Telit GPS modules. There are two ways to perform direct debugging: activate SSC port or use
CMUX.
3.3.1 Debug Python script on GPS modules using SSC bus
SSC (Serial Synchronous Controller) port can be configured to be compatible to the SPI Interface,
available via 4 GPIO pins. In this case the Python debug data will be read from the USB port placed
on the EVK2.
NOTE: for the direct debug of GPS modules a software version starting from 7.02.001 is needed
3.3.1.1 Installation of the drivers
Before starting the process of debug the drivers should be installed in the following way:
• Download the FTDI drivers and the installation guide in order to use the USB port placed
on the EVK2 (
http://www.ftdichip.com/Drivers/D2XX.htm
)
• Save the drivers (unzipped) on the PC
• After connecting USB cable with PC and USB port placed on the EVK2 (that has been
powered on): the installation procedure should start, according to the installation guide
instructions
• When the installation is concluded you will have four new COM ports (see Control Panel –
System – Hardware – Device Manager) and one not visible SSC port