-
Notifications
You must be signed in to change notification settings - Fork 2.1k
dist/tools/openocd: cannot debug some stlink based boards #8975
Copy link
Copy link
Closed
Labels
Area: toolsArea: Supplementary toolsArea: Supplementary toolsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
Description
#8856 tries to fix a bug preventing to debug with the b-l072z-lrwan1 board but in fact this problem is more general since it might touch all boards using the stlink programmer.
I tested and noticed the same behaviour with a nucleo-l152, nucleo-f070, nucleo-l476
Steps to reproduce the issue
Example with a nucleo-l073:
make BOARD=nucleo-l073 -C example default flash debug
Then add a breakpoint in main function using gdb: b main and continue: c
Expected results
The program reaches the main function
Actual results
It hangs after c
Versions
Installed compiler toolchains
native gcc: gcc (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0
arm-none-eabi-gcc: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]
avr-gcc: missing
mips-mti-elf-gcc: mips-mti-elf-gcc (Codescape GNU Tools 2016.05-03 for MIPS MTI Bare Metal) 4.9.2
msp430-gcc: msp430-gcc (GCC) 4.6.3 20120301 (mspgcc LTS 20120406 unpatched)
riscv-none-embed-gcc: missing
clang: clang version 4.0.1-6 (tags/RELEASE_401/final)
Installed compiler libs
arm-none-eabi-newlib: "2.5.0"
mips-mti-elf-newlib: "2.1.0"
riscv-none-embed-newlib: missing
avr-libc: missing (missing)
Installed development tools
cmake: cmake version 3.9.1
cppcheck: Cppcheck 1.80
doxygen: 1.8.13
flake8: 3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.5.4 on Linux
git: git version 2.14.1
coccinelle: spatch version 1.0.4 with Python support and with PCRE support
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: toolsArea: Supplementary toolsArea: Supplementary toolsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)