Skip to main content
keys king
Associate II
August 19, 2017
Question

After using USART1 (PB6, PB7), I can not connect to ST-Link, even if I have disabled JTAG

  • August 19, 2017
  • 1 reply
  • 697 views
Posted on August 19, 2017 at 18:54

0690X00000607v5QAA.png

In my project, I need to use PB6, PB7 as the pins of USART1.

But,when I set it,I can't  connect to ST-Link,

    This topic has been closed for replies.

    1 reply

    keys king
    keys kingAuthor
    Associate II
    August 19, 2017
    Posted on August 19, 2017 at 19:03

    I'm sorry, I accidentally sent the problem out, when I was not finished.

    0690X00000607ylQAA.png

    Someone told me to disable JTAG, I did it, but ST-Link still did not work.

    But JLink is still working in JTAG mode.

    I don't konw why~

    Do I need other code to disable JTAG?

    (In addition I used the freeRTOS, and this related?)

    Please help me, thank you.

    I wish you happiness.

    Sorry for my english.