You are reading a single comment by @Jorgen and its replies. Click here to read the full conversation.
  • Right now, it should be possible to flash it if someone wrote some code that would control Espruino. Ideally it'd be in JavaScript and then I add the firmware updater to the Espruino Web IDE. I haven't had time for that yet though :(

    Theoretically you could just set Espruino up as a pass-thru, with:

    Serial2.setup(57600, { rx: A3, tx : A2 });  // or whatever baud rate
    Serial2.on('data',function(d) {USB.write(d);});
    USB.on('data',function(d) {Serial2.write(d);});
    LoopbackA.setConsole(); // move console out the way
    

    And then you can just point the flasher at Espruino's USB port - however I think there are some issues with lost bytes on USB when sending big chunks of data. As part of the USB HID work I've been rewriting the USB drivers to fix that, but it's proving very difficult to fix the lost characters - I think it might be an issue with ST's USB library :(

  • ok. I'll try this tomorrow and give feedback.
    To pass serial data is exactly the solution I already done on other projects with Teensy + ESP8266 >> it worked perfect so far.

About

Avatar for Jorgen @Jorgen started