2021-01-21 03:23 PM
This error is coming when I RUN/Debug program using STM32CubeIDE.
I am Using ST-LinkV2 and STM32F103.
These are my debugger setting in CUBEIDE for reference.
Is my settings correct???? if not then tell me what to correct.
P.S. ST-LinkV2 programmer and debugger is successfully flashing codes on the chip with the STM32CubeProgrammer.But showing error with CubeIDE. So pretty sure that problem is with my Settings in CubeIDE. But Don't know what exactly changes to be made
2021-01-22 02:50 AM
Hello
install latest gdb server software. Open firewall settings go to ibound connections and check if st-link_gdbserver is enabled. Check all the rules that contain gdbsever and enable it to allow connections for private and public networks
2021-01-23 06:47 PM
can u tell this thing in more brief or can refer to any doc or link.
I am new to the GDB thing, so can't figure out how to use it
2021-01-23 10:12 PM
well here it shows two labels with st-link_gdbserver and one of them was disabled, so I enabled that one.
can u tell what do u mean by check all rules of gdbserver???
after enabling, I restart my STM32CubeiDE and debug the application but still showing same error.
2021-01-24 12:11 AM
An Update, I have one Nucleo board(WB55) too and it has an ST-LinkV2 onboard debugger.
when I debug and flash that Nucleo board with STM32CubeIDE it is done successfully showing no error for GDB, but when doing with
ST-Link V2 USB adaptor is showing the above-mentioned error......
So like where exactly can be the problem?????
1)is my ST-LINKV2 is at fault ( But it is able to flash programs via STM#@CubeProgrammer)
2)or Settings of my GDB Server with CubeIDE( But Nucleo board ST-LINKV2 Debugger has successfully debugged and flashed the code)
Really can't understand where exactly is the default.
I Will be waiting for an insightful and valuable reply eagerly
2021-01-25 07:34 AM
Hi @KGupt.1 ,
Try to perform an STLink Firmware upgrade. You can do it using this application or from STM32CubeProgrammer interface.
Let me know if this works for you.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.