Import MDM , module not responding

I am new to both python and GM862 module. I have a GM862 with the usb evaluation board.

Type : GM862-GPS

IMEI : 358278000239681

IC : 5131A-GM862G

LOT N : 4606 7S024013H00

Currently using

python version: 2.5.4

python win:pywin32-210.win32-py2.5

python serial: pyserial-2.4.win32

Set the “com5” in the MDM.py (COM5, this is the port I set the hyper terminal to get the module to work). The module is working through hyper terminal. When I open the python IDLE and type in “import MDM” , I a popup with the warning “module not responding do you want to retry”. YES repeats the popup, NO gives the following message in the IDLE

Traceback (most recent call last):

File “<pyshell#0>”, line 1, in

import MDM

File “C:\Python25\lib\site-packages\Pythonwin\MDM.py”, line 104, in

raise StandardError, ‘ERROR: The module is not responding!’

StandardError: ERROR: The module is not responding![/code]

Any ideas of how to get the python import MDM module to work…

Regards,

Badri

email:bkbn@engineer.com

Ph:9373672398

I have same problem!

?

I have COM6 and if I try with rsterm and all is OK but with PythonWin I get:


The module is nom responding!

Do you want to retry communicate?

YES NO


Where is problem?

How parameters from Choice.exe are set?

Why not working?

11:16:12 AM ??? IRP_MJ_CREATE VCP0 SUCCESS Options: Open

11:16:12 AM ??? IOCTL_SERIAL_SET_QUEUE_SIZE VCP0 SUCCESS InSize: 4096 OutSize: 4096

11:16:12 AM ??? IOCTL_SERIAL_GET_TIMEOUTS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:0 RM:0 RC:1000 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_SET_WAIT_MASK VCP0 SUCCESS Mask: ERR

11:16:12 AM ??? IOCTL_SERIAL_GET_BAUD_RATE VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_GET_LINE_CONTROL VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_GET_CHARS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_GET_HANDFLOW VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_GET_BAUD_RATE VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_GET_LINE_CONTROL VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_GET_CHARS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_GET_HANDFLOW VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_BAUD_RATE VCP0 SUCCESS Rate: 115200

11:16:12 AM ??? IOCTL_SERIAL_SET_DTR VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_LINE_CONTROL VCP0 SUCCESS StopBits: 1 Parity: NONE WordLength: 8

11:16:12 AM ??? IOCTL_SERIAL_SET_CHAR VCP0 SUCCESS EOF:dc ERR:0 BRK:0 EVT:0 XON:11 XOFF:13

11:16:12 AM ??? IOCTL_SERIAL_SET_HANDFLOW VCP0 SUCCESS Shake:19 Replace:80 XonLimit:2048 XoffLimit:512

11:16:12 AM ??? IOCTL_SERIAL_PURGE VCP0 SUCCESS Purge: TXABORT RXABORT TXCLEAR RXCLEAR

11:16:12 AM ??? IOCTL_SERIAL_GET_MODEMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:0 RM:0 RC:0 WM:10 WC:200

11:16:12 AM ??? IRP_MJ_WRITE VCP0 SUCCESS Length 5: ATE0.

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_GET_COMMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_GET_COMMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_GET_COMMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_GET_COMMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_GET_COMMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_GET_COMMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_GET_COMMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

11:16:12 AM ??? IOCTL_SERIAL_GET_COMMSTATUS VCP0 SUCCESS

11:16:12 AM ??? IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0

I try debug with portmon and get this results!

So:

AT command was sent (see ATE0) but not responce… why?