Skip to main content
yying.1
Visitor II
November 7, 2022
Question

Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...

  • November 7, 2022
  • 8 replies
  • 24462 views

I am using stm32f103c8t6 with uart cable to connect it with stm32 cube programmer but come up the statement above. Any suggestion to fix this problem?

14:12:16 : Serial Port COM3 is successfully opened.

 14:12:16 : Port configuration: parity = even, baudrate = 115200, data-bit = 8,           stop-bit = 1.0, flow-control = off

 14:12:18 : Timeout error occured while waiting for acknowledgement.

 14:12:18 : Timeout error occured while waiting for acknowledgement.

 14:12:18 : Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again... 

I did press reset button and placed my BOOT0 to 1 so i really have no idea to fix this problem.

8 replies

Technical Moderator
November 25, 2022

Hello @yying.1​ ,

Are you using latest release of “STM32CubeProgrammer".

Have you checked if this behavior has occurred with other boards?

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Visitor II
August 20, 2023

This same error is still present for me, I am unable to move past this error after attempting on 3 individual CP2102 boards. I have tried to uninstall cube programer, uninstall drivers for each CP2102 board, and reinstall all of them and still met with exact same problem with no resolution. 

is there any workaround you are able to offer for this issue? 

Tesla DeLorean
Guru
August 21, 2023

What board and STM32 are YOU having an issue with?

If the chip is non functional and not entering the boot loader, it's not going to respond.

Provide a schematic for your board and the serial port connection.

Does the SWD/JTAG connectivity work? Using the right serial port and Rx TX pin senses? Check AN2606. Check NRST level.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ntiwa.1
Visitor II
April 13, 2023

Hi Imen DAHMEN (ST Employee)

I am facing the same issue when I connect the STM NUCLEO-F446RE board with the STM programmer. Here I am attached the debug messages:-

10:47:17:298 : Serial Port COM117 is successfully opened.

 10:47:17:298 : Port configuration: parity = even, baudrate = 115200, data-bit = 8,           

         stop-bit = 1.0, flow-control = off

 10:47:17:299 : No Init bits value is : 0

 10:47:17:299 : Sending init command:

 10:47:17:302 : byte 0x7F sent successfully to target

 10:47:19:298 : Wait ends after 1 loop, dataready = 0, delay = 2000

 10:47:19:298 : Timeout error occured while waiting for acknowledgement.

 10:47:19:299 : No response from target received

 10:47:19:302 : Retrying UART init connection...

 10:47:19:307 : byte 0x7F sent successfully to target

 10:47:19:399 : Wait ends after 1 loop, dataready = 0, delay = 100

 10:47:19:399 : Timeout error occured while waiting for acknowledgement.

 10:47:19:400 : No response from target received

 10:47:19:400 : Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...

 10:47:19:438 : UART PORT CLOSE

Explorer
July 18, 2023

did you find a solution? I'm facing the same problem now 

Associate III
August 7, 2023

I am also experiencing the same issue with the NUCLEO-WB15CC. Did anyone manage to connect via UART?

Associate III
June 12, 2024

Hello 
I am facing same issue , have you find solution please tell me

 

Senior III
June 12, 2024

Have you connected the other serial ports to any other devices? Disconnect all external devices . Press reset + boot0 at logic high  simultaneously,  release reset , keep boot0 at  high for few seconds and release. Make sure you connect rx and tx , gnd(rx to tx and tx to rx). Do you have stlink programmer? Is your usb to uart is 3.3v level? 

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
October 1, 2024

Hello, i hope you found the solution to your problem. if not, try connecting the jumper connection of the 'boot-0' pin to the other side to put it in boot mode and upload your program. hope this helps

MQi.1
Senior II
December 14, 2024

I met the same error prompt on STM32WB09KE(MB2032+MB1801D), when I try to UART programming through an actual ST-Link V3SET(as it was told here ). I tried this since I met this , my connection between V3Set and MB2032(WB09KE), pin map refer - page 27 of UM3345:

VCC      3.3V 
CLK      11 - CN3
GND     GND
DIO      9 - CN3
NRST   14 - CN3

and, in Prog, I got these(the second photo was tried back by Jumper user flash):

Error-3.png

Associate II
March 3, 2025

Problem Solved...!:white_heavy_check_mark:

Problem:

Rajitha_at_UoM_0-1741005150473.png

Things I used: FTDI programmer + Blue Pill(F103C8T6) + Cube Programmer + Cube IDE for generate .hex file.

Steps to avoid that issue:
1. Open the cube programmer.

2. Configure Settings.

Rajitha_at_UoM_1-1741005462122.png

3. BOOT0 =1

4. Remove the USB . 

5. Connect again the USB cable while pressing the reset button in the blue pill. remove finger from the button 5s after connecting USB.

6. Check the COM port and CONNECT.

7. You can use below you tube video to steps after this ... https://youtu.be/zUsollWLnV4

My English isn't good , sorry for it.

 

Senior III
March 3, 2025

This is serial bootloader method. You have to press reset and bootloader at the same time and release reset. Do not connect any other devices to any other port. You can connect any USB to uart converter. Rest is as described above..

"If you feel a post has answered your question, please click ""Accept as Solution""."