-->
Page 1 of 2

Uploads but won't run

PostPosted: Sat Apr 18, 2015 6:45 pm
by Jake
Currently using the 1.61 Arduino IDE with the blink sketch with the led set to GPIO 02. I have also tried numerous other examples with serial. The code seems to upload fine but will not actually run. I have tried turning the ESP on and off after flashing, different power sources, etc. It will spit out some junk right after powering on when trying to communicate within serial but never seems to actually get to running the code.

Any ideas?

Re: Uploads but won't run

PostPosted: Sun Apr 19, 2015 5:41 am
by gerardwr
Putting a load on GPIO2 often prevents the ESP to reboot, so that may be the cause.

What you can try is rebooting without the LED, and then attach the LED and see if this works.

If you have connected the LED to GPIO and GND, you could try connecting it between GPIO and Vcc.

Re: Uploads but won't run

PostPosted: Sun Apr 19, 2015 8:50 pm
by Jake
Hey gerardwr I appreciate the reply! I have tried with both the LED to ground and VCC along with other sketches that don't use the LED. No luck. Thinking of ordering another and giving it a shot.

Re: Uploads but won't run

PostPosted: Tue Apr 21, 2015 4:03 pm
by Jake
I just received a new ESP8266 - 01 and successfully uploaded and ran code with the exact same setup. Seems the module I first received is faulty or somehow different although it still allows you to upload to it and responds. Not sure what the deal is.