jpksampath
Newbie level 2

Hi experts,
I'm using SIM900 with Atmega64 for communication with a server over GPRS.
My code was working fine for some time.
But I changed the SIM card and run the code.
When attaching GPRS, (AT+CGATT=1) some times it returns error. sometimes it works fine. But when the ERROR started it remains giving "ERROR" even if I restart the modem, program or any thing.
After reprogram the micro controller sometimes it works fine.
And when I enter same commands to SIM900 using serial port of computer(from microIDE) it worked fine every time
I can't figure it out.
Pls help.
Thanks in advance
BR
SAM
I'm using SIM900 with Atmega64 for communication with a server over GPRS.
My code was working fine for some time.
But I changed the SIM card and run the code.
When attaching GPRS, (AT+CGATT=1) some times it returns error. sometimes it works fine. But when the ERROR started it remains giving "ERROR" even if I restart the modem, program or any thing.
After reprogram the micro controller sometimes it works fine.
And when I enter same commands to SIM900 using serial port of computer(from microIDE) it worked fine every time
I can't figure it out.
Pls help.
Thanks in advance
BR
SAM