cancel
Showing results for 
Search instead for 
Did you mean: 

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

yang2
Associate III

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

 

 

 



1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief III

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".

View solution in original post

2 REPLIES 2
AScha.3
Chief III

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".

AScha.3

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