cancel
Showing results for 
Search instead for 
Did you mean: 

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

yying.1
Associate

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.

11 REPLIES 11
Imen.D
ST Employee

Hello @yying.1​ ,

Are you using latest release of “STM32CubeProgrammer".

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

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
ntiwa.1
Associate

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

tarek99
Associate

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

tester
Associate III

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

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? 

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 Venmo
Up vote any posts that you find helpful, it shows what's working..

I checked with Nucleo-WB55 and Nucleo-WB15 and both show the same behavior when I try to connect via UART in STM32CubeProgrammer v2.14.0. However, when I uncheck nSWBOOT0 on WB55, I can connect via UART.

snehadakhare01
Associate III

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

 

Techn
Senior III

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