STM32CubeProgrammer Error: No STM32 target found!
I have a STM32F405RGT6 on a custom PCB and are using a ST-Link/V2 ISOL in my computer. A USB-Mini is conencted to the ST-Link and from the ST-Link I use RESET, SWCLK, SWIO and GND to my STM32.
I have tried connecting to the ST-Link with the STM32CubeProgrammer with the following settings:
Port: SWD
Frequency: 4000
Mode: Normal
Access port: 0
Reset Mode: Software reset
Speed: Reliable
Shared: Disabled
Debug in Low Power mode: ON

Before connecting I have updated the driver to the latest according to the STM32CubeProgrammer:

Version: V2J43S7
After updating the driver I tried to connecting to the MCU and recieve the same error every time:
Error: No STM32 target found! If your product embeds Debug Authenication, please perfrom a discovery using Debug Authentication

(I have also tried with different settings and it gave the same error)
I have tried following steps on the following guide:
https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/ta-p/49693
In the steps I have followed all the steps until 3.2 where I cant debug the main.c file in the Src folder.
I receive this error when trying to debug:

I have chosen the .elf file in the Debug folder as shown here:

How do I manually enter the offset for the ELF file in the lanch configuration or disable symbol loading for the ELF file?
If there is another way to solve the "Error: No STM32 target found! If your product embeds Debug Authenication, please perfrom a discovery using Debug Authentication" error I am all ears.
Thank you.

