Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

SIM900 AT+CGATT=1 returns ERROR sometimes and keep giving continiously

Status
Not open for further replies.

jpksampath

Newbie level 2
Joined
Apr 17, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
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
 

sa4250mnpo70

Newbie level 6
Joined
Jul 19, 2011
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,397
Can you provide the circuit diagram of your SIM900 and ATmega connection...
also the full code that you are using...??
 

jpksampath

Newbie level 2
Joined
Apr 17, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
HI sa4250mnpo70,
I figured this issue. It was due to the delay after setting apn settings was not enough. Now it is OK.
Any way Thanks for your concern.
BR
SAM
 

kunal123

Advanced Member level 4
Joined
Jan 24, 2011
Messages
105
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
mumbai
Activity points
1,961
HI,
I'm using SIM300 with Arduino uno for data transfer between arduino & remote server using gprs, i tried at commands for gprs on hyperterminal as follows, but enable to establish connction between gpars module & remote server.
<<at+cipshut
SHUT OK

at+cgdcont=1,"IP","airtelgprs"
ERROR

OK
at+cdnscfg="202.56.230.5","202.56.240.5"
OK

at+cstt="airtelgprs"
OK

at+cgatt=1
OK

at+ciicr?
OK

at+cifsr?
OK

at+cipstatus
OK

STATE: IP START

at+ciphead=1
OK

at+cdnsorip=1
OK

at+cipstart="TCP","www.gotcubed.com","2020"
ERROR

at+cgact?
+CGACT: 1,0

OK

at+cgact=1
+CME ERROR: 596

thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top