I am using a Nucleo F303RE board. And whenever I try to debug in STM32cubemxIDE. It always shows an error for failed to start GDB error. I have attached the screenshot
I have updated the ST-Link firmware and also checked my device manager.
I have also tried disabling my windows defender.
I have also tried to change the frequency, interface, auto-connect under Debug Configuration.
Would be great if someone could help me out. I am stuck with an important demo at work.
I also tried it on Atollic TrueStudio but still no luck.enter image description here
Thanks
Detailed error on Atollic TrueStudio: STMicroelectronics ST-LINK GDB server. Version 5.1.0 Copyright (c) 2018, 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
Target no device found
Error in initializing ST-LINK device. Reason: No device found on target.