Chat here is you are connecting ESP-xx type modules to existing AVR based Arduino

Moderator: igrr

User avatar
By saad2919
#34815 @martinayotte

Hi,I am trying to use the code you posted for server and client. I get the following error on the client module on the serial monitor of the Arduino IDE:


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

wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld

I'm not sure if it makes a difference, but the specific model I have has a built in regulator, it looks like this http://www.gearbest.com/transmitters-re ... Apy_8P8HAQ
User avatar
By martinayotte
#34884 It is difficult to figure out why it is not working for you, since the code is running fine for months.
Maybe you have bad configs already stored in the Flash.
Is the crash happening on the Server or the Client ?
Did you try to erase the whole Flash before uploading the sketch ?
User avatar
By saad2919
#34901
martinayotte wrote:It is difficult to figure out why it is not working for you, since the code is running fine for months.
Maybe you have bad configs already stored in the Flash.
Is the crash happening on the Server or the Client ?
Did you try to erase the whole Flash before uploading the sketch ?



It's crashing on the client, server seems to be running fine. I'm not sure how to check for bad configs in the Flash. How should I go about erasing the Flash?
User avatar
By martinayotte
#34903 To erase flash, some bootloader such esptool.py from https://github.com/themadinventor/esptool has such option.
Code: Select allesptool.py --port /dev/ttyUSB0 erase_flash

For the esptool binary that comes with IDE, I think the "-ce" for erase has been added 3 weeks ago.
https://github.com/igrr/esptool-ck/blob ... /README.md