Skip to main content
Visitor II
July 30, 2020
Question

ST-Link's Virtual-Comport does not work when compiling the Release mode. Port itself is OK.

  • July 30, 2020
  • 1 reply
  • 507 views

Hi, friends.

I connected NUCLEO-F446RE to ST-LINK's Virtual Comport. And I'm controlling the Step Motor by communicating with Comport, and Comport works well in Debugging Mode. By the way, I compiled it in Release Mode and downloaded it, but Comport doesn't work. Which part will solve the problem?

    This topic has been closed for replies.

    1 reply

    DBlac.1Author
    Visitor II
    July 30, 2020

    As a result of optimization, problems were caused by variables without the volatile declaration. Thank you.