Hi!

The problem is not with the modem. It is with the PIC code executing up to a point then stops for a minute or so and then resumes.

No interrupts or other source is envolved. The problem is on the 3 Hserout. If the 3 becomes 1 OR the LOCATION of the code changes, then it executes normally.

This is the problem!

I do not have to wait for the modem to respond. I just wait and give next command after a while.

I believe it is a problem related with the "code crosses boundary @ ..." that shows up 3 times since the code is long enough.

Ioannis