cancel
Showing results for 
Search instead for 
Did you mean: 

Debug problems with STM32CubeIDE

MSand.1
Associate II

Hi,

I have a NUCLEO F103RB board with STM32F103RB MCU. I am doing my first program for blinking a LED (I am starting with STM32 MCU family).

I use STM32CubeIDE just downloaded in the last days.

I compile my simple program without problems.

The debug phase does not happen due to the following error I read on the console:

this is the message

Open On-Chip Debugger 0.10.0+dev-01193-g5ce997d (2020-02-20-10:57)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

none separate

Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD

adapter speed: 8000 kHz

adapter_nsrst_delay: 100

Info : Listening on port 6666 for tcl connections

Info : Listening on port 4444 for telnet connections

Info : clock speed 8000 kHz

Info : STLINK V2J36S26 (API v2) VID:PID 0483:374B

Info : using stlink api v2

Info : Target voltage: 3.239448

Error: init mode failed (unable to connect to the target)

Moreover an additional window (titled PROBLEM OCCURED appears)

with an additional message: I attach the window picture in the annex.

I hope you could help me. I do not understand where is the problem.

My working configuration is

Nucleo board connected to the USB port, where I read the file details.txt

with the following test

Version: 0221

Build:  Dec 20 2019 11:22:25

Debug configuration

Autostart local GDB server

Debug probe: ST-LINK(OpenOCD)

Reset mode: Software System Reset

I hope you can support me.

Regards

Happy Easter

Mario

1 REPLY 1
JElli.1
Associate III