GPS problematic code snippet

Hi,

I’ve been trying some simple codes on 863-PY, the ultimate goal is a logistics project using GPS.

The terminal was fine and responsive until I run this code:

import SER

SER.set_speed(’115200′,’8N1′)

while 1<5:
a = SER.receive(600)
SER.send(a)

Now I can still connect via hyperterm and rsterm but I can’t get any response from the module…

AT,

AT#LSCRIPT?

gives nothing…

I tried BootManager but it keeps saying “Turn on the module…” even though it’s on…

Do you have any ideas to help with this?..I’m really clueless

thanks