Skip to main content
pcbwiz
Associate II
May 16, 2021
Solved

Is it possible to start an STLink serial terminal from within the IDE?

  • May 16, 2021
  • 1 reply
  • 3110 views

I can manually start Tera Term and connect Serially, but I cannot find how to do this from within the IDE. Is this possible? Maybe a project option that needs enabled?

Using STM32CubeIDE 1.6

Thanks

This topic has been closed for replies.
Best answer by pcbwiz

I just found it. If you click enough buttons (I could not find where the info is in help).

0693W00000AOW22QAH.pngThe info I found online showed the icon for the 'Display Selected Console', so it added a bit of a twist.

Here is how to invoke:

  • Start a Debug session.
  • Click on the Open Console button.
  • Select 'Command Shell Console'.
  • Set Connection Type: 'Serial Port'
    • Click new and give some name, e.g., STLINK_Serial (this name will be available on subsequent access)
    • Set Encoding to UTF-8
  • Click OK to display output

Cheers,

Derek

1 reply

pcbwiz
pcbwizAuthorBest answer
Associate II
May 16, 2021

I just found it. If you click enough buttons (I could not find where the info is in help).

0693W00000AOW22QAH.pngThe info I found online showed the icon for the 'Display Selected Console', so it added a bit of a twist.

Here is how to invoke:

  • Start a Debug session.
  • Click on the Open Console button.
  • Select 'Command Shell Console'.
  • Set Connection Type: 'Serial Port'
    • Click new and give some name, e.g., STLINK_Serial (this name will be available on subsequent access)
    • Set Encoding to UTF-8
  • Click OK to display output

Cheers,

Derek