cancel
Showing results for 
Search instead for 
Did you mean: 

Error: No STM32 target found! If your product embeds Debug Authentication In stm32 Programmer

BSang
Associate III

Hi Everybody,

 

I try to flash my firmware into NUCLEO-STM32F410CBT6, 

 

first, I didn't remove CN2 Jumpers for nucleo ST-link V2.

 

BSang_0-1718700849450.png

and then, select nucelo board in cube32Programmer

BSang_1-1718700869246.png

 

after that, click connect button, it works well.

 

but, I want to flash program to use ST-Link V2, not nucleo board.

In the datasheet for ST-link V2, 2x10 20pin connector.

BSang_2-1718701308996.png

 

To use JTag or SWD flash, at lease VDD, JTMS, JTCK, GND, JTDO, NRST are need.

 

BSang_4-1718701423336.png

 

So, I connect wire to St-link V2 pin to Nucleo Board, it is not work.

 

BSang_5-1718701470996.png

 

How can I do that?

 

Thanks

 

 

 

 

 

3 REPLIES 3
Peter BENSCH
ST Employee

I don't quite understand what you want to achieve. Do you have a separate ST-LINK/V2 with which you want to programme the target (STM32F410) on the NUCLEO, i.e. instead of the integrated ST-LINK/V2-1?

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi, I want to flash using external ST-Link/V2, not using nucleo internal ST-LINK/V2 module like this.

BSang_1-1718772882355.png

 

 

 

Peter BENSCH
ST Employee

With the current setup, you have two ST-LINKs in parallel, which of course cannot work. You must remove the two jumpers from CN2 so that the embedded ST-LINK/V2-1 is disconnected from the target.

BTW: there is no NUCLEO with STM32F410CBT6, you probably mean the NUCLEO-STM32F410RB?

Please note that the target currently gets its HSE from the MCO of the ST-LINK/V2-1. If you want the target to be independent and have its own HSE, you must:

  • Open SB50
  • Close R35 and R37 or fit them with 0-ohm resistors
  • Fit X3, C33 and C34

(see also the schematics, page 3)

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.