Python Debug Application

Module Configuration

//Connect via HyperTerminal or similar to the COM port

//Set extended error messages
AT+CMEE=2

//Set trace port to local

AT#SSCTRACE=0

//Set CMUX to 115200 baud rate

AT#CMUXSCR=1,115200

Telit Serial Port MUX

//Set physical COM port and baud rate

COM1 8N1 HW Flow control

//Set virtual COM ports

Virtual Port #1 to COM7

Virtual Port #2 to COM8

Virtual Port #3 to COM9

Virtual Port #4 to COM10

//Open Python debug port

Open Virtual Port #4 at 115200 8N1 HW

//Leave port connected and reboot module

Disable Active Python Scripts

If a Python script is enabled and running on the module, it may appear that the module stops responding after a certain delay after the script executes. This is due to the script taking control of the module and the standard command interface on the RS232 serial UART is given to the script.

There are two modes of operation once a script is enabled. One is to execute the script after a specified delay and the other is to execute the script if no connection is active on the RS232 bus at power up. To stop the script from executing, utilise either or both of the methods below!

Module Configuration to Disable Scripts

//Connect via HyperTerminal or similar to the COM port

//Set physical COM port and baud rate
COMx 8N1 HW Flow control

//Disable execute after delay
AT#STARTMODESCR=0

//Disable enabled script
AT#ESCRIPT=””