gabrielcsapo / gabrielcsapo.com

📕 code samples and content on my blog https://www.gabrielcsapo.com
https://www.gabrielcsapo.com
0 stars 0 forks source link

AT 2.1 firmware for 'Mega 2560 R3 with built-in ESP8266'? #4

Closed NorbertSandor closed 3 years ago

NorbertSandor commented 3 years ago

I've read your article: https://www.gabrielcsapo.com/arduino-web-server-mega-2560-r3-built-in-esp8266/ First, thanks for the lots of useful info.

My question is: have you ever tried to upload AT firmware 2.1 to the Mega 2560 R3 with built-in ESP8266? With AT 1.7 it works as expected. But after I upload the AT 2.1 firmware, some garbage is written to the serial by the ESP8266 then nothing happens, no response from the board. Maybe do you have any idea? Thanks.

gabrielcsapo commented 3 years ago

Hey @NorbertSandor! I had a similar issue when using the 2.1 firmware. I have some time this weekend to look into it. Let me get back to you if I can make any progress.

NorbertSandor commented 3 years ago

I upgraded the firmware successfully yesterday based on the info provided by the author of WiFiEspAT: https://github.com/jandrassy/WiFiEspAT#at-21-1

The important part is: "uses pins 15 as TX and 13 as RX. To have the AT firmware communicating on usual pins 1 as TX and 3 as RX, you can use at flashing of the firmware AT2_esp8266_factory_param_tx1rx3.bin from extras folder of this library instead of factory_param.bin bundled with the AT firmware"

Unfortunately there were other problems with it, so I finally returned to the 1.7 version, and using plain http instead of the preferred https ☚ī¸

If you are interested in the details take a look at: https://github.com/jandrassy/WiFiEspAT/issues/46

Thanks for your help, I still use your article as reference 🙂