2021-05-25 01:25 AM
I am using STM32CubeIDE for my project . when i want to run the code i am getting this pop up.i am not able to solve this issue.
Solved! Go to Solution.
2021-05-26 03:35 AM
OK, you didn't connect the Reset pin.
If you can add the connection, it's better.
Then, without reset coming from STLink, you should avoid "Connect under reset" mode in debugger tab in debug config.
Like you did on STM32CubeProgrammer, use "Software Reset system".
Try to mass erase the device with STM32CubeProgrammer before debug.
2021-05-25 01:33 AM
Hello,
Was it working before or It never worked ?
Which STM32CubeIDe version and which Operating System are you working with ?
Did you try all USB port ?
You must use STM32CubeIde installer to have all STLink USB drivers and Stlinkserver installed.
Is it an ST board or a custom board with an external STLink ?
Rgds,
Laurent
2021-05-25 01:53 AM
It never worked since i installed STM32CubeIDE .
I have tried version 1.6.0 and 1.6.1 both. my operating system is windows 10.
I tried all USB Port.
I have installed both STLink USB drivers and Stlinkserver.
It is a custom board.
2021-05-25 01:54 AM
i am using JTAG.
2021-05-25 02:02 AM
Which STLink version are you using ?
Is it a genuine STLink ?
Do you see the STLink as an USB debug probe in device manager ?
If you try with STM32CubeProgrammer, is it working ?
Maybe try in SWD mode first.
You can also try stlinkserver in a command prompt window and see if it detects smtg.
Rgds,
Laurent
2021-05-25 02:09 AM
i am using STLINK-V3SET
i don't see STLink as an USB debug probe in device manager.
I didn't try STM32CubeProgrammer.
I have JTAG only.
2021-05-25 02:15 AM
Do you have admin rights on this PC ?
You must have admin rights to install STLink USB drivers.
Try installing STM32CubeProgrammer and see If it's better.
2021-05-25 02:24 AM
yes i have admin rights
okay i am trying STM32CubeProgrammer.
2021-05-25 02:37 AM
Your PC is not a Win 10 32 bits ?
It is a 64 bits ?
2021-05-25 02:40 AM
64 bits