Question
stm32f745vet does not flash through STM32CubeIDE
After STM32 ST-LINK Utility, everything works fine with such settings, I can flash the hex file, the firmware works.

But if I try to enter debugging through STM32CubeIDE 1.0.0, then this error always appears:
Error in final launch sequence:
Error in initializing ST-LINK device.
Reason: (1) Failed to connect to device. Please check power and cabling to target.
Error in initializing ST-LINK device.
Reason: (1) Failed to connect to device. Please check power and cabling to target.STMicroelectronics ST-LINK GDB server. Version 5.3.2
Copyright (c) 2019, 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
Waiting for debugger connection...
Debugger connected
Failed #5
-------------------------------------------------------------------
STM32CubeProgrammer v2.2.0
-------------------------------------------------------------------
Log output file: C:\Users\LAB2-R~1\AppData\Local\Temp\STM32CubeProgrammer_a05448.log
ST-LINK SN : 55FF6C067282575133492167
ST-LINK FW : V2J34S7
Voltage : 3.19V
Error: ST-LINK error (DEV_TARGET_RESET_ERR)
Encountered Error when opening C:\ST\STM32CubeIDE_1.0.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.1.0.201910081157\tools\bin\STM32_Programmer_CLI.exe
Error in STM32CubeProgrammer
Debugger connection lost.
Shutting down...Here is the console text.
I tried several programmers and several identical microcontrollers, the result is the same - IDE is always this error.
Why is this happening? What should I do?