B
B
BRODJAGA_JR2017-07-11 14:09:51
Layout
BRODJAGA_JR, 2017-07-11 14:09:51

How to fix OpenOCD error: gdb requested a non-existing register?

Good afternoon! Please help me to sort out the problem. I'm trying to set up a debugger (gdb 8.0) in QtCreator 4.2.1 to work through the Bare Metal plugin (OpenOCD 0.10.0). After starting the debugger crashes with the following error "error: gdb requested a non-existing register".
OpenOCD log:

target halted due to debug-request, current mode: Thread 
xPSR: 0xf1000000 pc: 0x08000bc4 msp: 0x20005000
Error: gdb requested a non-existing register
Info : dropped 'gdb' connection

OpenOCD initialization commands in Bare Metal:
set remote hardware-breakpoint limit 4
set remote hardware-watchoint-limit 2
monitor reset halt
load
monitor reset halt

Hardware: STM32 Nucleo L073RZ, firmware Nucleo_blink_led from mbed.com, config for OpenOCD taken from openocd.zylin.com
System: Debian 8 Jessie
OpenOCD starts normally, gdb connects via terminal emulator, firmware loads, everything seems to be working. But I would like to work through QtCreator.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question