cancel
Showing results for 
Search instead for 
Did you mean: 

Message Errore during programming "(undocumented errno 10061)."

RPaga.1
Associate

Hi, i'm working on a custom board with a stm32F746VGT6. After many succesfull programming attempt an error occurred (see the image attached to the question).

With the tool "Stm32CubeProgrammer" i can connect to the board and program it, but only with a selected frequency of 5KHz.

I've already tried to reset the Option byte and do a mass erase of the micro.

How can i solve?

Thanks

1 REPLY 1
RPaga.1
Associate

Other times the IDE fails to finish the flash operation and print out this message in the console:

STMicroelectronics ST-LINK GDB server. Version 7.3.0

Copyright (c) 2023, STMicroelectronics. All rights reserved.

Starting server with the following options:

    Persistent Mode      : Disabled

    Logging Level       : 1

    Listen Port Number     : 61234

    Status Refresh Delay    : 15s

    Verbose Mode        : Disabled

    SWD Debug         : Enabled

    InitWhile         : Enabled

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

   -------------------------------------------------------------------

            STM32CubeProgrammer v2.13.0          

   -------------------------------------------------------------------

Log output file:  C:\Users\ricca\AppData\Local\Temp\STM32CubeProgrammer_a07868.log

ST-LINK SN : 003900213331510E34333834

ST-LINK FW : V3J10M3B5S1

Board    : STLINK-V3SET

Voltage   : 3.28V

Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

2nd connect tentative with frequency (8MHz)

ST-LINK SN : 003900213331510E34333834

ST-LINK FW : V3J10M3B5S1

Board    : STLINK-V3SET

Voltage   : 3.29V

Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

Encountered Error when opening C:\ST\STM32CubeIDE_1.11.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.0.600.202301161003\tools\bin\STM32_Programmer_CLI.exe

Error in STM32CubeProgrammer

Shutting down...

Exit.