GM862GPS python script not working. Any Help? Thanks.

Hello everyone,

I have the following hardware :

1)SparkFun Electronics - GM862 Cellular Quad Band Module with GPS

http://www.sparkfun.com/commerce/produc … ts_id=7917

with Firmware version 07.03.400

  1. SparkFun Electronics - GM862 Evaluation Kit - USB

http://www.sparkfun.com/commerce/produc … cts_id=280

and for future use

  1. SparkFun Electronics - GM862 Evaluation Board - Basic 50-Pin

http://www.sparkfun.com/commerce/produc … cts_id=277

and the following software :

RStern, Serial GSM Terminal Version 20090314.1

note: i have to use an external power supply, because

my old computer usb port, does not supply enought power.

step one:

I make a very simple script in python,

OK

step two:

i load the script to GM862GPS module, using

-GM862 Evaluation Kit - USB

-Rstern

OK

step three:

i execute the script,

Rstern push-button AT#EXECSCR

OK

target : i would like the same script

to run independently from my computer,

so…

step four:

i enable the script,

Rstern push-button AT#ESCRIPT

then …

i disconnected the module from the computer,

i powered the module, just with the external power supply

(without any usb powering), but the script did not run

Note : i tryied both low and high dtr, neither worked.

then i suspected there was not enought power, i tryed to

connected also the usp port, to get some extra power

(without using Rstern)

Note : i tryied both low and high dtr, neither worked.

here is my python code:

main.py

import myscript

myscript.pyo

import SER

import MOD

import MDM

MDM.send(‘ATD+393351234567;\r’, 0)

main script is the enabled one, not compiled,

that calls another script (a compiled one)

what is wrong?

am i missing something?

Thanks. Roberto.

I think, when you are uploading your script to the GPS, you need to set DTR switch on the board to low (program mode). And then enable your script after uploading"AT#ESCRIPT=“xxxx.py”, then set DTR back to high(run mode), and make a power cycle… I hope it works… I am not an expert, but I have uploaded some pyhton scripts before, and they worked fine…

I Working.

Thank You.