• Thanks! Did you have any luck with the code/instructions here? http://www.espruino.com/ESP8266#use-esprĀ­uino

    The ESP_xxx_BLOCK size changes should only be needed if you're going to flash directly through the Espruino WiFi's STM32 - you should be able to flash the ESP8266 without having to wire up an FTDI cable - it's why I never included any pins for flashing it :)

    It'll be slower, but should still be possible - and obviously a bit less messy :)

    Have you actually had WiFi working properly after updating? The code you post for testing needs to wait until ready is received from AT+RST (in fact AT+RST itself may not be needed since you're just powering the module on).

    Something like this should work I imagine:

        // wait for READY message
        at.cmd('', 10000, function cb(data) {
          if (data && data!="ready") return cb;
          // ask for version
          at.cmd('AT+GMR\r\n', 10000, function(data) {
                console.log(data);
          });
        });
        // power up
        digitalWrite(A13, 1);
        digitalWrite(A14, 1);
    
About

Avatar for Gordon @Gordon started