Serial6.setConsole() doesn't work on NUCLEO 401

Posted on
  • Hi, All!
    Subj.. It doesn't write "Console moved to Serial 6" , and doesn't move the console. As well as Serial2 also.
    Why?
    Thanks!

  • On the Nucleo401, you're ALREADY connected on serial2 by default.

    The ST-Link device acts as both a flasher, and a USB<->TTL converter, and communicates with the Espruino on Serial2 on pins A2, A3.

    Does Serial1 work?

  • yes, I was wrong with Serial1 - I thought I use Serial 1, but it was Serial2. Serial1 works ok with BT via pins D8 and D2. Serial 6 - still not.

  • Serial6 isn't supported on the F401.

    Espruino generally expects all the devices to be continuous (Serial1,2,3,4,5,6) - but on the F401 parts they're not. As the Pico doesn't have Serial6 available (it clashes with USB) I'm in no rush to add support I'm afraid.

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

Serial6.setConsole() doesn't work on NUCLEO 401

Posted by Avatar for Andrey @Andrey

Actions