Ive tried everything, different versions and i am unable to deploy an arduino sketch to an ESP8266 (NodeMCU dev Board - ESP12 based) - Ive given up...
Here we go
- Connected to the PC using the inbuilt USB port on NodeMCU
- The board runs LUA just fine no problems
- Using Arduino IDE 1.6.5 (tried 1.6.5r2 and nightly builds 1.6.6 as well same)
- Set Additional Boards to http://arduino.esp8266.com/package_esp8 ... index.json
- Set board type = Node MCU
- Programmer is set to "use programmer" , or AVRISP mk2 (there is no option for ESP8266), however verbose output indicates its using ESPTool to flash
- Am able to flash
When I run/reset the board to run the sketch I'm getting the following from the serial console (in 74800 Baud)
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 28688, room 16
tail 0
chksum 0xef
load 0x33333333, len 858993459, room 8
And thats it..
Im stumped..
Also as FYI i tried VisualMicro but alas this wouldnt flash to the board at all..
Any ideas???
edit 20-June-2015 : We finally solved it. Its because my nodeMCU board is a ESP8266-12E and the flash commands are slightly different, also another board of mine which wasnt working at all is also a 12E too..
Solution is to install arduino IDE, install ESP8266 JSON pack then Edit the additional boards.txt and add the nodemcu2 board details from github, restart and all works!