setConsole Question

Posted on
  • Hi

    I've got console working over Serial1 successfully :). Some questions

    1. Is it possible to change the baud rate of the console? I tried setting the serial
      to 38400 and then using setConsole, but the webIDE didn't work. (Just curious -
      9600 may be fine...)

    2. Is there any flow control on serial? If I try to send big files, would it work?

    3. Does the firmware update work over serial, or does it require USB?

    Thanks

    Martin

    1. It should work - but the Web IDE probably defaults to 9600 baud connection speed. I'll put that on my ToDo list, but for now you could use a different terminal app.

    2. No, I'm afraid not. You'd have to implement your own. There's some code in Espruino in place to handle it, but it's not fully implemented yet.

    3. The 'normal' update requires USB, but you can use ST's own internal bootloader for serial: http://www.espruino.com/Serial+Bootloader

  • Thanks :) Flow control overlaps with the 'dropped character' issue discussed elsewhere which I think is relatively significant. A faster web-IDE would be nice, but to me is much lower priority.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

setConsole Question

Posted by Avatar for mgg1010 @mgg1010

Actions