Skip to main content
yang2
Associate III
September 12, 2024
Solved

What am I still able to download the program into MCU even through I haven't enable the JTAG/SWO

  • September 12, 2024
  • 1 reply
  • 667 views

Dear All,

I am evaluating the Nucleo Board H563ZI now.

I notice a very curious pheonmeon. In CubeMX, I didn't configure any SWO or JTAG pins, they are all disabled. However, when I generate the project, I am still able to download the program into MCU by ST LINK on the board ( USB Type-C) and go into debug mode.

Why is that?

 

Disable all SWO/JTAG function

yang2_0-1726128217485.png

 

Download and go into deubg mode  Successfully

yang2_0-1726128384657.png

 

 

 



    Best answer by AScha.3

    Hi,

    its not a curious pheonmeon .

    YOU didnt configure SWD - but the chip has a default on power up , setting some pins to a default mode.

    So SWD enabled at start...

     

    see ds, pin default settings !

    like this:  (note...function after reset ! )

    AScha3_0-1726129495955.png

     

    1 reply

    AScha.3
    AScha.3Best answer
    Super User
    September 12, 2024

    Hi,

    its not a curious pheonmeon .

    YOU didnt configure SWD - but the chip has a default on power up , setting some pins to a default mode.

    So SWD enabled at start...

     

    see ds, pin default settings !

    like this:  (note...function after reset ! )

    AScha3_0-1726129495955.png

     

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    yang2
    yang2Author
    Associate III
    September 12, 2024

    AScha.3

    Thank you for your response, it solved my confusion. I really appreciate it.