I am using ESP8266-01 with Arduino Uno... I am able to compile example code of ESP8266 with Generic ESP8266 module board with arduino ide but unable to upload it to Uno...., it is giving an error: espcomm_upload_mem failed while uploading the code to Uno
-
Note that you have two programmable processors: The ESP8266 and the Uno. Is the example you mentioned intended to be run on the Uno (connected to a ESP8266 with standard AT firmware) or on the ESP8266?bluemind– bluemind2016-10-13 12:56:25 +00:00Commented Oct 13, 2016 at 12:56
-
If he example is intended to be run on the Uno, you should follow Richard210363's suggestion: Set the board to the Uno, since that's what you're coding for and uploading to.bluemind– bluemind2016-10-13 12:57:21 +00:00Commented Oct 13, 2016 at 12:57
-
If the example is intended to be run on the ESP8266, then your wiring is incorrect, because to upload to the ESP8266, you need to connect it directly to your serial adapter. (Which you will need to read up on, to prevent frying your ESP).bluemind– bluemind2016-10-13 12:58:37 +00:00Commented Oct 13, 2016 at 12:58
Add a comment
|
2 Answers
Esp8266 generic example will not run on Arduino Uno. Possibly your device is selected as Esp8266 from Device Manager as gurus said. What you need to run Uno with Esp is writing Esp8266 serial controller to Uno. Here is the sample. Good luck.