I am guessing that I may have corrupted the esp8266 firmware on the EspruinoWiFi board that I purchased.
Looks like that could be the case... If you did this code:
digitalWrite(A14,0); // power off
digitalWrite(A13,0); // boot mode
digitalWrite(A14,1); // power on
Serial2.setup(115200, { rx: A3, tx : A2 });
Serial2.on('data', function(d) { USB.write(d); });
USB.on('data', function(d) { Serial2.write(d); });
Serial1.setConsole();
I'd have thought you might be able to reflash it.
But if you do decide to reflash it externally, try and give it a try without resoldering. You can issue JS commands to boot the ESP8266 into bootloader mode, and can set the RX and TX lines to be open circuit with (digitalRead(A2) and A3).
The holes in the ESP8266 are small enough that you can actually just push dupont male pins (the standard jumper leads that you get with everything now) right into the holes and they'll stay there enough - all you need to connect is RX and TX (ground should already be handled by USB)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Looks like that could be the case... If you did this code:
I'd have thought you might be able to reflash it.
But if you do decide to reflash it externally, try and give it a try without resoldering. You can issue JS commands to boot the ESP8266 into bootloader mode, and can set the RX and TX lines to be open circuit with (
digitalRead(A2)
andA3
).The holes in the ESP8266 are small enough that you can actually just push dupont male pins (the standard jumper leads that you get with everything now) right into the holes and they'll stay there enough - all you need to connect is RX and TX (ground should already be handled by USB)