I am using arduino mega, and I need to update the AT firmware on esp8266-01 module (without usb to ttl converter). I do not have usb to ttl, how do it do it with arduino mega? I know we can communicate with esp using arduino mega hardware serial with the following code, but not sure if we can do the same for updating the AT firmware. Kindly give suggestions.
Thanks buddy. Only thing I am confused about, is that for esp flashing I need to use esp flasher application which will use the same port as arduino mega to flash the firmware into esp. Right ???
Workaholic:
Thanks buddy. Only thing I am confused about, is that for esp flashing I need to use esp flasher application which will use the same port as arduino mega to flash the firmware into esp. Right ???
Yes. I have got it working. I connected reset to gnd, and connected esp tx, rx to tx, rx of arduino mega. Updated the frimware and tested. Just used as a USB to TTL converter.
P.S. It was not working with the above mentioned setting (IDK why).
Workaholic:
Yes. I have got it working. I connected reset to gnd, and connected esp tx, rx to tx, rx of arduino mega. Updated the frimware and tested. Just used as a USB to TTL converter.
P.S. It was not working with the above mentioned setting (IDK why).
because you let io 0 on esp8266 floating and it was reading LOW. after reset it will probably go into flashing mode again on next reset. so don't wonder. io 0 must be pulled-up for normal boot