<div dir="ltr"><div><div>I tried the arduino addon the other day but was crashing on me. (The esp was reporting an illegal instruction and then rebooting)<br><br></div>If you're having issues programming it at all, check your wiring. When I first got my hands on an ESP module, I spent ~3 hours trying to program the thing, only to discover the issue was a dry joint on the breakout board I'd made. I've also found it more reliable to hook the boot pins to vcc or gnd directly.  1k resistor was being unreliable in my early testing.<br></div><div>Remember that when you boot the module there are different boot modes. To flash it, GPIO 0 should be low when the power is applied. To boot it GPIO 0 should be high. GPIO15 should be low and GPIO2 high for both. I tend to leave GPIO15 floating, but tie GPIO2 directly to GND. Even a 1K pulldown was unreliable in some of my testing.<br></div><div><br></div>On a side note, the <a href="https://en.wikipedia.org/wiki/ESP32">ESP32 </a>is becoming available <a href="http://www.electrodragon.com/esp32-information/">soon</a>. It's the ESP8266's bigger brother with more RAM, hardware PWM, many ADC pins, two DAC's, and even bluetooth!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 10:54 AM, Richard Jones <span dir="ltr"><<a href="mailto:richard.jones.1952@gmail.com" target="_blank">richard.jones.1952@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I have a web server / hotspot with a graphical web log and oled display up and running on an ESP8266. I took an off the shelf project and adapted it to accept parameters through the serial port from an Arduino. Its been a while, I recall that as Hamster said, once you have the io lines in the appropriate state for programming everything else falls into place. What is the problem?<br><br></div>Here is link to the reference project :<br><br><a href="https://harizanov.com/2014/12/wifi-iot-3-channel-relay-board-with-mqtt-and-http-api-using-esp8266/" target="_blank">https://harizanov.com/2014/12/<wbr>wifi-iot-3-channel-relay-<wbr>board-with-mqtt-and-http-api-<wbr>using-esp8266/</a><br><br></div>When I resurrect this project in a few days time I'm expecting hideous problems with the tool chain having moved on.<br><br></div>Richard<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 8:55 AM, hamster <span dir="ltr"><<a href="mailto:hamster@snap.net.nz" target="_blank">hamster@snap.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p> </p>
<p>On 19.09.2016 08:39, Mark Atherton wrote:</p>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<pre>Hello All,

Anyone have any experience running compiled C on an ESP8266 ?

</pre>
</blockquote>
<p>I have in the recent past been programming them in C using the Arduino Addon as per <a href="https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/installing-the-esp8266-arduino-addon" target="_blank">https://learn.sparkfun.com<wbr>/tutorials/esp8266-thing-hooku<wbr>p-guide/installing-the-esp8266<wbr>-arduino-addon</a></p>
<p>For me the problem was finding the jumper settings that allowed the board to accept and then boot the firmware, I had to pull one DIO pin high for the 'sketch' to run.</p>
<p> </p>
<div> </div>
</div>
<br>______________________________<wbr>_________________<br>
Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.linuxnut.co.nz" target="_blank">Chchrobotics@lists.linuxnut.co<wbr>.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">http://lists.ourshack.com/mail<wbr>man/listinfo/chchrobotics</a><br>
Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/pipe<wbr>rmail/chchrobotics/</a><br>
Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a> for venue, directions and dates.<br>
When replying, please edit your Subject line to reflect new subjects.<br></blockquote></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.linuxnut.co.nz">Chchrobotics@lists.linuxnut.<wbr>co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">http://lists.ourshack.com/<wbr>mailman/listinfo/chchrobotics</a><br>
Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/<wbr>pipermail/chchrobotics/</a><br>
Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a> for venue, directions and dates.<br>
When replying, please edit your Subject line to reflect new subjects.<br></blockquote></div><br></div>