dev_target_not_halted on stm32h735
i’m trying to use stm32h735 chip in my custom board , when it comes to flashing or starting new debug session it gives error like


it work and connect after many times of trying to turn off power, or remove the st link cable and put it again, when it connected, I erase the full chip to access it, then try to flash it in the ide, it works for 3 times, then repeat the error again, and I tried in cube programmer to change the mode to under reset mode and press reset button and press connected, it failed, I need to know permanent solution not every time it gives me this
