Post topics, source code that relate to the Arduino Platform

User avatar
By ill13
#7987 Wow!

After two days of working on this [most of which was my fault for not following the written instructions] I've finally gotten the Ardunet demo to run on my ESP8266EX. Currently I'm watching a stream of zeros in a terminal!


Some notes for others are...

0] I'm using windows 7 x64, VirtualBox, a USB FTDI adapter, an ESP8266EX, and TeraTerm-4.85!

1] Get the firmware downloader from here https://docs.google.com/file/d/0B3dUKfqzZnlwVGc1YnFyUjgxelE/edit

2] Test flashing the AT command firmware at https://docs.google.com/file/d/0B3dUKfqzZnlwdUJUc2hkZDUyVjA/edit. Remember that CH_PD must be set to HIGH [3.3v] and GPIO must be set to LOW [GND] to get the ESP8266EX to allow for firmware flashing.

3] puTTY will not work well with the above firmware so use TeraTerm, see here; http://www.esp8266.com/viewtopic.php?f=6&t=56&start=10#p1952. If that works and you can communicate with the ESP8266EX, then continue...

4] Use the lubuntu VM ova from google drive at https://drive.google.com/folderview?id=0B5bwBE9A5dBXaExvdDExVFNrUXM&usp=sharing; Ignore the PDF in that folder.

5] Follow the toolchain wiki at https://github.com/esp8266/esp8266-wiki/wiki/Toolchain However, do not use the "Install the Xtensa crosstool-NG (as local user)". SKIP that part and use Step 3 from here http://thetownkindle.com/link/primal-cortexs-weblog-amnesia-sets-in-aHR0cDovL3ByaW1hbGNvcnRleC53b3JkcHJlc3MuY29tLw==.

6] Finish the toolchain wiki through preparing the firmware. If you have a ESP8266EX then -at least for me- you can't flash 0x00000 and 0x4000 separately. So use the firmware "joiner" from this post http://www.esp8266.com/viewtopic.php?f=9&t=531#p2709. When using that script make sure ONLY those files listed are in the folder you are working in.

7] The firmware flasher only see's "*.bin" files so rename "out.fw" to "out.bin". Set the firmware flasher to your COM port and the address to 0x00000 [defaults] and hit 'download"! When done, remove the GPIO LOW connection and power off/on the ESP8266EX and you should see a blinking blue LED on your ESP8266EX!