ESP8266_Standalone, how to upload?

Hi blynkers,

I am trying to get the ESP8266_Standalone running.

I am using the IDE found here:

No matter what i try the IDE Stucks saying “Uploading …” with the following Exception

java.lang.NullPointerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingProgrammer(SerialUploader.java:246)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:75)
at processing.app.debug.Compiler.upload(Compiler.java:157)
at processing.app.Sketch.upload(Sketch.java:1259)
at processing.app.Sketch.exportApplet(Sketch.java:1201)
at processing.app.Sketch.exportApplet(Sketch.java:1173)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2432)
at java.lang.Thread.run(Thread.java:745)

According to the doc i have also put the ESP8266 into Bootloader mode by pulling GPIO0 to low.

In order to make sure that my setup is correct i have tried to connect via a Terminal Program (Coolterm on Mac) and this worked fine. (of course in normal mode)

Then to be sure that my setup for the Bootloader is correct i have updated the AT Firmware via the esptool

Now i have no ideas anymore.

Are there settings to change in the IDE, i currently use the default ones.

Board: Generic ESP8266 board
Programmer: AVRISP mkii

Any ideas ?

Thanks in advance

I think you should change it to “esptool”.
Hope this helps!

1 Like

That worked, thank you !

I have follow this tutorial :

https://github.com/sandeepmistry/esp8266-Arduino

I no see esptool in my programmer option !
what is a problem please ?

You can look at “Wiring up the ESP8266 Module” and “Uploading the Sketch” sections here:
http://makezine.com/2015/04/01/installing-building-arduino-sketch-5-microcontroller/

After updating to the latest Arduino for ESP8266, I also don’t see the esptool in the list.
However, uploading works absolutely OK.

As this question is not related to Blynk, I’m closing the topic.