skorokithakis / A6lib

An ESP8266/Arduino library for communicating with the A6 GSM module. ⛺
MIT License
127 stars 49 forks source link

Often WDT resets #22

Open axwell opened 6 years ago

axwell commented 6 years ago

Hello, i've tested the library for a big period of time, and with esp8266 resets are quite often. They occur at initializing while in delay, or when sending SMS. Power source is not the issue. I suspect that has something with software serial an interrupts, eg modem is sending data and esp can't capture it because is doing something else. Do you have any improvements ? Or ideas ?

Thank you.

skorokithakis commented 6 years ago

Hello! I'm afraid I don't have any ideas on this, and I'm not working on my A6 project these days, so I don't have somewhere to test... Please file a PR if you do discover the cause, though. Maybe it's a watchdog issue?

IMAN4K commented 6 years ago

We've the exact same situation here :(

Issuing command: AT+IPR=9600

 ets Jan  8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v00000000
~ld
1technophile commented 6 years ago

@axwell Apart from TX RX and GND what are the other pins you have wired between the ESP and the A6?

skorokithakis commented 6 years ago

Here's my schematic, if it'll help.