You are reading a single comment by @stephaneAG and its replies. Click here to read the full conversation.
  • hello ;)

    I digged a little in the Web ide source code , & added a quick update to "urlHandler.js" to have these Load this into Espruino buttons

    Support is added to handle "http://www.espruino.com/webide?codefile=­" URLs, which seems cleaner that using the same "http://www.espruino.com/webide?code=" URL & looking for some 'http..' prefix ( I had to choose, but we could also have both a 'general' URL handler & 'dedicated' ones as well ? ( .. ) )

    => Now we can have that Cake ! :D
    Send stuff to Espruino !

    Also, I got no luck with my tests with the SIM800L:
    If I use the following code in the right pane of the web IDE, I can get a correct output .. which shows an error:

    Serial2.setup(115200, { rx: A3, tx : A2 });
    Serial2.on('data', function(d) { USB.write(d); }); // log stuff received from SIM800L to web ide console
    USB.on('data', function(d) { Serial2.write(d); });
    

    ouputs the following, when I short then release RST to Gnd:

    F1: 5004 0000
    F8: 380C 0000
    F9: 4800 000B
    F9: 4800 000B
    F9: 4800 000B
    F9: 4800 000B
    00: 102C 0004
    01: 1005 0000
    U0: 0000 0001 [0000]
    T0: 0000 00C3
    Boot failed, reset ...
    

    So, 'yay!' -> some output is better than no output, but I can't investigate/test AT commands if the module can't boot properly ..
    What's weird, though, is that I had the same error when no providing enough power to the module, which was solved using +5V & a 1N4007 diode, but here I get the same faulty output either powering the module from Espruino's +5V through diode or another USB port + separate +5V ??!

    The LED either pulses twice when getting power from the Pico's +5V or 8 times when getting external power, but either way, always faulty output :(
    -> I'll try diggin google to find more on this, but if you have any though/doc part I'd be interested in, feel free, you're more than welcomed ;p

    Last but not least, I made a commit for the said update of the web IDE -> can't wait to use it ;p

    +

About

Avatar for stephaneAG @stephaneAG started