ERROR: Cannot read register while CPU is running

Sysprogs forums Forums VisualGDB ERROR: Cannot read register while CPU is running

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31734
    cabandre
    Participant

    Visual Studio version: 15.9.35

    Visual GDB version: 5.6

    SEGGER JLINK:5.8

    GNU toolchain: 7.2.1, GDB8.0

    I’m using JLINK with VisualGDB, but I am running into this issue shown below. I can attach the device, but as soon as I “run” the debugger, then it started showign cannot read register error. Any help is appreciated.

     

    C:\Program Files\SEGGER\JLink\JLinkGDBServerCL.exe -select USB -device STM32L476RG -speed auto -if JTAG -port 62992
    SEGGER J-Link GDB Server V7.50a Command Line Version

    JLinkARM.dll V7.50a (DLL compiled Jul 8 2021 18:21:11)

    Command line: -select USB -device STM32L476RG -speed auto -if JTAG -port 62992
    —–GDB Server start settings—–
    GDBInit file: none
    GDB Server Listening port: 62992
    SWO raw output listening port: 2332
    Terminal I/O port: 2333
    Accept remote connection: localhost only
    Generate logfile: off
    Verify download: off
    Init regs on start: off
    Silent mode: off
    Single run mode: off
    Target connection timeout: 0 ms
    ——J-Link related settings——
    J-Link Host interface: USB
    J-Link script: none
    J-Link settings file: none
    ——Target related settings——
    Target device: STM32L476RG
    Target interface: JTAG
    Target interface speed: auto
    Target endian: little

    Connecting to J-Link…
    J-Link is connected.
    Firmware: J-Link Ultra V4 compiled Oct 26 2018 12:04:46
    Hardware: V4.00
    S/N:
    Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    Checking target voltage…
    Target voltage: 3.25 V
    Listening on TCP/IP port 62992
    Connecting to target…

    J-Link found 2 JTAG devices, Total IRLen = 9
    JTAG ID: 0x4BA00477 (Cortex-M4)
    Connected to target
    Waiting for GDB connection…Connected to 127.0.0.1
    Reading all registers
    Read 4 bytes @ address 0x080044B0 (Data = 0xD034F8DF)
    Read 2 bytes @ address 0x080044B0 (Data = 0xF8DF)
    Reading register (MSP = 0x20018000)
    Reading register (PSP = 0x 0)
    Reading register (PRIMASK = 0x 0)
    Reading register (BASEPRI = 0x 0)
    Reading register (FAULTMASK = 0x 0)
    Reading register (CONTROL = 0x 0)
    Reading register (FPSCR = 0x 0)
    Reading register (s0 = 0x 0)
    Reading register (s1 = 0x 0)
    Reading register (s2 = 0x 0)
    Reading register (s3 = 0x 0)
    Reading register (s4 = 0x 0)
    Reading register (s5 = 0x 0)
    Reading register (s6 = 0x 0)
    Reading register (s7 = 0x 0)
    Reading register (s8 = 0x 0)
    Reading register (s9 = 0x 0)
    Reading register (s10 = 0x 0)
    Reading register (s11 = 0x 0)
    Reading register (s12 = 0x 0)
    Reading register (s13 = 0x 0)
    Reading register (s14 = 0x 0)
    Reading register (s15 = 0x 0)
    Reading register (s16 = 0x 0)
    Reading register (s17 = 0x 0)
    Reading register (s18 = 0x 0)
    Reading register (s19 = 0x 0)
    Reading register (s20 = 0x 0)
    Reading register (s21 = 0x 0)
    Reading register (s22 = 0x 0)
    Reading register (s23 = 0x 0)
    Reading register (s24 = 0x 0)
    Reading register (s25 = 0x 0)
    Reading register (s26 = 0x 0)
    Reading register (s27 = 0x 0)
    Reading register (s28 = 0x 0)
    Reading register (s29 = 0x 0)
    Reading register (s30 = 0x 0)
    Reading register (s31 = 0x 0)
    Reading register (d0 = 0x 0)
    Reading register (d1 = 0x 0)
    Reading register (d2 = 0x 0)
    Reading register (d3 = 0x 0)
    Reading register (d4 = 0x 0)
    Reading register (d5 = 0x 0)
    Reading register (d6 = 0x 0)
    Reading register (d7 = 0x 0)
    Reading register (d8 = 0x 0)
    Reading register (d9 = 0x 0)
    Reading register (d10 = 0x 0)
    Reading register (d11 = 0x 0)
    Reading register (d12 = 0x 0)
    Reading register (d13 = 0x 0)
    Reading register (d14 = 0x 0)
    Reading register (d15 = 0x 0)
    Read 2 bytes @ address 0x08010D2E (Data = 0x4002)
    Read 4 bytes @ address 0x10007FFC (Data = 0x080099F7)
    Downloading 4 bytes @ address 0x10007FFC
    Reading all registers
    Read 4 bytes @ address 0x080044B0 (Data = 0xD034F8DF)
    Read 2 bytes @ address 0x080044B0 (Data = 0xF8DF)
    Read 4 bytes @ address 0x10007FFC (Data = 0x0DAE743C)
    Reading 64 bytes @ address 0x08020C00
    Read 2 bytes @ address 0x08020C1A (Data = 0xF7FE)
    Reading register (MSP = 0x20018000)
    Reading register (PSP = 0x 0)
    Reading register (PRIMASK = 0x 0)
    Reading register (BASEPRI = 0x 0)
    Reading register (FAULTMASK = 0x 0)
    Reading register (CONTROL = 0x 0)
    Reading register (FPSCR = 0x 0)
    Reading register (s0 = 0x 0)
    Reading register (s1 = 0x 0)
    Reading register (s2 = 0x 0)
    Reading register (s3 = 0x 0)
    Reading register (s4 = 0x 0)
    Reading register (s5 = 0x 0)
    Reading register (s6 = 0x 0)
    Reading register (s7 = 0x 0)
    Reading register (s8 = 0x 0)
    Reading register (s9 = 0x 0)
    Reading register (s10 = 0x 0)
    Reading register (s11 = 0x 0)
    Reading register (s12 = 0x 0)
    Reading register (s13 = 0x 0)
    Reading register (s14 = 0x 0)
    Reading register (s15 = 0x 0)
    Reading register (s16 = 0x 0)
    Reading register (s17 = 0x 0)
    Reading register (s18 = 0x 0)
    Reading register (s19 = 0x 0)
    Reading register (s20 = 0x 0)
    Reading register (s21 = 0x 0)
    Reading register (s22 = 0x 0)
    Reading register (s23 = 0x 0)
    Reading register (s24 = 0x 0)
    Reading register (s25 = 0x 0)
    Reading register (s26 = 0x 0)
    Reading register (s27 = 0x 0)
    Reading register (s28 = 0x 0)
    Reading register (s29 = 0x 0)
    Reading register (s30 = 0x 0)
    Reading register (s31 = 0x 0)
    Reading register (d0 = 0x 0)
    Reading register (d1 = 0x 0)
    Reading register (d2 = 0x 0)
    Reading register (d3 = 0x 0)
    Reading register (d4 = 0x 0)
    Reading register (d5 = 0x 0)
    Reading register (d6 = 0x 0)
    Reading register (d7 = 0x 0)
    Reading register (d8 = 0x 0)
    Reading register (d9 = 0x 0)
    Reading register (d10 = 0x 0)
    Reading register (d11 = 0x 0)
    Reading register (d12 = 0x 0)
    Reading register (d13 = 0x 0)
    Reading register (d14 = 0x 0)
    Reading register (d15 = 0x 0)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Reading 64 bytes @ address 0x08004480
    Reading 64 bytes @ address 0x080044C0
    Reading 64 bytes @ address 0x08004500
    Reading 64 bytes @ address 0x08004540
    Reading 64 bytes @ address 0x08004580
    Connected to 127.0.0.1
    Reading 32 bytes @ address 0xE000E100
    Reading 32 bytes @ address 0xE000E180
    Performing single step…
    …Target halted (Vector catch, PC = 0x080044B4)
    Reading all registers
    Read 4 bytes @ address 0x080044B4 (Data = 0xE0032100)
    Read 2 bytes @ address 0x080044B4 (Data = 0x2100)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Reading register (MSP = 0x20018000)
    Reading register (PSP = 0x 0)
    Reading register (PRIMASK = 0x 0)
    Reading register (BASEPRI = 0x 0)
    Reading register (FAULTMASK = 0x 0)
    Reading register (CONTROL = 0x 0)
    Reading register (FPSCR = 0x 0)
    Reading register (s0 = 0x 0)
    Reading register (s1 = 0x 0)
    Reading register (s2 = 0x 0)
    Reading register (s3 = 0x 0)
    Reading register (s4 = 0x 0)
    Reading register (s5 = 0x 0)
    Reading register (s6 = 0x 0)
    Reading register (s7 = 0x 0)
    Reading register (s8 = 0x 0)
    Reading register (s9 = 0x 0)
    Reading register (s10 = 0x 0)
    Reading register (s11 = 0x 0)
    Reading register (s12 = 0x 0)
    Reading register (s13 = 0x 0)
    Reading register (s14 = 0x 0)
    Reading register (s15 = 0x 0)
    Reading register (s16 = 0x 0)
    Reading register (s17 = 0x 0)
    Reading register (s18 = 0x 0)
    Reading register (s19 = 0x 0)
    Reading register (s20 = 0x 0)
    Reading register (s21 = 0x 0)
    Reading register (s22 = 0x 0)
    Reading register (s23 = 0x 0)
    Reading register (s24 = 0x 0)
    Reading register (s25 = 0x 0)
    Reading register (s26 = 0x 0)
    Reading register (s27 = 0x 0)
    Reading register (s28 = 0x 0)
    Reading register (s29 = 0x 0)
    Reading register (s30 = 0x 0)
    Reading register (s31 = 0x 0)
    Reading register (d0 = 0x 0)
    Reading register (d1 = 0x 0)
    Reading register (d2 = 0x 0)
    Reading register (d3 = 0x 0)
    Reading register (d4 = 0x 0)
    Reading register (d5 = 0x 0)
    Reading register (d6 = 0x 0)
    Reading register (d7 = 0x 0)
    Reading register (d8 = 0x 0)
    Reading register (d9 = 0x 0)
    Reading register (d10 = 0x 0)
    Reading register (d11 = 0x 0)
    Reading register (d12 = 0x 0)
    Reading register (d13 = 0x 0)
    Reading register (d14 = 0x 0)
    Reading register (d15 = 0x 0)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Performing single step…
    …Target halted (Vector catch, PC = 0x080044B6)
    Reading all registers
    Read 4 bytes @ address 0x080044B6 (Data = 0x4B0CE003)
    Read 2 bytes @ address 0x080044B6 (Data = 0xE003)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Reading register (MSP = 0x20018000)
    Reading register (PSP = 0x 0)
    Reading register (PRIMASK = 0x 0)
    Reading register (BASEPRI = 0x 0)
    Reading register (FAULTMASK = 0x 0)
    Reading register (CONTROL = 0x 0)
    Reading register (FPSCR = 0x 0)
    Reading register (s0 = 0x 0)
    Reading register (s1 = 0x 0)
    Reading register (s2 = 0x 0)
    Reading register (s3 = 0x 0)
    Reading register (s4 = 0x 0)
    Reading register (s5 = 0x 0)
    Reading register (s6 = 0x 0)
    Reading register (s7 = 0x 0)
    Reading register (s8 = 0x 0)
    Reading register (s9 = 0x 0)
    Reading register (s10 = 0x 0)
    Reading register (s11 = 0x 0)
    Reading register (s12 = 0x 0)
    Reading register (s13 = 0x 0)
    Reading register (s14 = 0x 0)
    Reading register (s15 = 0x 0)
    Reading register (s16 = 0x 0)
    Reading register (s17 = 0x 0)
    Reading register (s18 = 0x 0)
    Reading register (s19 = 0x 0)
    Reading register (s20 = 0x 0)
    Reading register (s21 = 0x 0)
    Reading register (s22 = 0x 0)
    Reading register (s23 = 0x 0)
    Reading register (s24 = 0x 0)
    Reading register (s25 = 0x 0)
    Reading register (s26 = 0x 0)
    Reading register (s27 = 0x 0)
    Reading register (s28 = 0x 0)
    Reading register (s29 = 0x 0)
    Reading register (s30 = 0x 0)
    Reading register (s31 = 0x 0)
    Reading register (d0 = 0x 0)
    Reading register (d1 = 0x 0)
    Reading register (d2 = 0x 0)
    Reading register (d3 = 0x 0)
    Reading register (d4 = 0x 0)
    Reading register (d5 = 0x 0)
    Reading register (d6 = 0x 0)
    Reading register (d7 = 0x 0)
    Reading register (d8 = 0x 0)
    Reading register (d9 = 0x 0)
    Reading register (d10 = 0x 0)
    Reading register (d11 = 0x 0)
    Reading register (d12 = 0x 0)
    Reading register (d13 = 0x 0)
    Reading register (d14 = 0x 0)
    Reading register (d15 = 0x 0)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Performing single step…
    …Target halted (Vector catch, PC = 0x080044C0)
    Reading all registers
    Read 4 bytes @ address 0x080044C0 (Data = 0x4B0C480B)
    Read 2 bytes @ address 0x080044C0 (Data = 0x480B)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Reading register (MSP = 0x20018000)
    Reading register (PSP = 0x 0)
    Reading register (PRIMASK = 0x 0)
    Reading register (BASEPRI = 0x 0)
    Reading register (FAULTMASK = 0x 0)
    Reading register (CONTROL = 0x 0)
    Reading register (FPSCR = 0x 0)
    Reading register (s0 = 0x 0)
    Reading register (s1 = 0x 0)
    Reading register (s2 = 0x 0)
    Reading register (s3 = 0x 0)
    Reading register (s4 = 0x 0)
    Reading register (s5 = 0x 0)
    Reading register (s6 = 0x 0)
    Reading register (s7 = 0x 0)
    Reading register (s8 = 0x 0)
    Reading register (s9 = 0x 0)
    Reading register (s10 = 0x 0)
    Reading register (s11 = 0x 0)
    Reading register (s12 = 0x 0)
    Reading register (s13 = 0x 0)
    Reading register (s14 = 0x 0)
    Reading register (s15 = 0x 0)
    Reading register (s16 = 0x 0)
    Reading register (s17 = 0x 0)
    Reading register (s18 = 0x 0)
    Reading register (s19 = 0x 0)
    Reading register (s20 = 0x 0)
    Reading register (s21 = 0x 0)
    Reading register (s22 = 0x 0)
    Reading register (s23 = 0x 0)
    Reading register (s24 = 0x 0)
    Reading register (s25 = 0x 0)
    Reading register (s26 = 0x 0)
    Reading register (s27 = 0x 0)
    Reading register (s28 = 0x 0)
    Reading register (s29 = 0x 0)
    Reading register (s30 = 0x 0)
    Reading register (s31 = 0x 0)
    Reading register (d0 = 0x 0)
    Reading register (d1 = 0x 0)
    Reading register (d2 = 0x 0)
    Reading register (d3 = 0x 0)
    Reading register (d4 = 0x 0)
    Reading register (d5 = 0x 0)
    Reading register (d6 = 0x 0)
    Reading register (d7 = 0x 0)
    Reading register (d8 = 0x 0)
    Reading register (d9 = 0x 0)
    Reading register (d10 = 0x 0)
    Reading register (d11 = 0x 0)
    Reading register (d12 = 0x 0)
    Reading register (d13 = 0x 0)
    Reading register (d14 = 0x 0)
    Reading register (d15 = 0x 0)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Performing single step…
    …Target halted (Vector catch, PC = 0x080044C2)
    Reading all registers
    Read 4 bytes @ address 0x080044C2 (Data = 0x18424B0C)
    Read 2 bytes @ address 0x080044C2 (Data = 0x4B0C)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Reading register (MSP = 0x20018000)
    Reading register (PSP = 0x 0)
    Reading register (PRIMASK = 0x 0)
    Reading register (BASEPRI = 0x 0)
    Reading register (FAULTMASK = 0x 0)
    Reading register (CONTROL = 0x 0)
    Reading register (FPSCR = 0x 0)
    Reading register (s0 = 0x 0)
    Reading register (s1 = 0x 0)
    Reading register (s2 = 0x 0)
    Reading register (s3 = 0x 0)
    Reading register (s4 = 0x 0)
    Reading register (s5 = 0x 0)
    Reading register (s6 = 0x 0)
    Reading register (s7 = 0x 0)
    Reading register (s8 = 0x 0)
    Reading register (s9 = 0x 0)
    Reading register (s10 = 0x 0)
    Reading register (s11 = 0x 0)
    Reading register (s12 = 0x 0)
    Reading register (s13 = 0x 0)
    Reading register (s14 = 0x 0)
    Reading register (s15 = 0x 0)
    Reading register (s16 = 0x 0)
    Reading register (s17 = 0x 0)
    Reading register (s18 = 0x 0)
    Reading register (s19 = 0x 0)
    Reading register (s20 = 0x 0)
    Reading register (s21 = 0x 0)
    Reading register (s22 = 0x 0)
    Reading register (s23 = 0x 0)
    Reading register (s24 = 0x 0)
    Reading register (s25 = 0x 0)
    Reading register (s26 = 0x 0)
    Reading register (s27 = 0x 0)
    Reading register (s28 = 0x 0)
    Reading register (s29 = 0x 0)
    Reading register (s30 = 0x 0)
    Reading register (s31 = 0x 0)
    Reading register (d0 = 0x 0)
    Reading register (d1 = 0x 0)
    Reading register (d2 = 0x 0)
    Reading register (d3 = 0x 0)
    Reading register (d4 = 0x 0)
    Reading register (d5 = 0x 0)
    Reading register (d6 = 0x 0)
    Reading register (d7 = 0x 0)
    Reading register (d8 = 0x 0)
    Reading register (d9 = 0x 0)
    Reading register (d10 = 0x 0)
    Reading register (d11 = 0x 0)
    Reading register (d12 = 0x 0)
    Reading register (d13 = 0x 0)
    Reading register (d14 = 0x 0)
    Reading register (d15 = 0x 0)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Performing single step…
    …Target halted (Vector catch, PC = 0x080044C4)
    Reading all registers
    Read 4 bytes @ address 0x080044C4 (Data = 0x429A1842)
    Read 2 bytes @ address 0x080044C4 (Data = 0x1842)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Reading register (MSP = 0x20018000)
    Reading register (PSP = 0x 0)
    Reading register (PRIMASK = 0x 0)
    Reading register (BASEPRI = 0x 0)
    Reading register (FAULTMASK = 0x 0)
    Reading register (CONTROL = 0x 0)
    Reading register (FPSCR = 0x 0)
    Reading register (s0 = 0x 0)
    Reading register (s1 = 0x 0)
    Reading register (s2 = 0x 0)
    Reading register (s3 = 0x 0)
    Reading register (s4 = 0x 0)
    Reading register (s5 = 0x 0)
    Reading register (s6 = 0x 0)
    Reading register (s7 = 0x 0)
    Reading register (s8 = 0x 0)
    Reading register (s9 = 0x 0)
    Reading register (s10 = 0x 0)
    Reading register (s11 = 0x 0)
    Reading register (s12 = 0x 0)
    Reading register (s13 = 0x 0)
    Reading register (s14 = 0x 0)
    Reading register (s15 = 0x 0)
    Reading register (s16 = 0x 0)
    Reading register (s17 = 0x 0)
    Reading register (s18 = 0x 0)
    Reading register (s19 = 0x 0)
    Reading register (s20 = 0x 0)
    Reading register (s21 = 0x 0)
    Reading register (s22 = 0x 0)
    Reading register (s23 = 0x 0)
    Reading register (s24 = 0x 0)
    Reading register (s25 = 0x 0)
    Reading register (s26 = 0x 0)
    Reading register (s27 = 0x 0)
    Reading register (s28 = 0x 0)
    Reading register (s29 = 0x 0)
    Reading register (s30 = 0x 0)
    Reading register (s31 = 0x 0)
    Reading register (d0 = 0x 0)
    Reading register (d1 = 0x 0)
    Reading register (d2 = 0x 0)
    Reading register (d3 = 0x 0)
    Reading register (d4 = 0x 0)
    Reading register (d5 = 0x 0)
    Reading register (d6 = 0x 0)
    Reading register (d7 = 0x 0)
    Reading register (d8 = 0x 0)
    Reading register (d9 = 0x 0)
    Reading register (d10 = 0x 0)
    Reading register (d11 = 0x 0)
    Reading register (d12 = 0x 0)
    Reading register (d13 = 0x 0)
    Reading register (d14 = 0x 0)
    Reading register (d15 = 0x 0)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Performing single step…
    …Target halted (Vector catch, PC = 0x080044C6)
    Reading all registers
    Read 4 bytes @ address 0x080044C6 (Data = 0xD3F6429A)
    Read 2 bytes @ address 0x080044C6 (Data = 0x429A)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Reading register (MSP = 0x20018000)
    Reading register (PSP = 0x 0)
    Reading register (PRIMASK = 0x 0)
    Reading register (BASEPRI = 0x 0)
    Reading register (FAULTMASK = 0x 0)
    Reading register (CONTROL = 0x 0)
    Reading register (FPSCR = 0x 0)
    Reading register (s0 = 0x 0)
    Reading register (s1 = 0x 0)
    Reading register (s2 = 0x 0)
    Reading register (s3 = 0x 0)
    Reading register (s4 = 0x 0)
    Reading register (s5 = 0x 0)
    Reading register (s6 = 0x 0)
    Reading register (s7 = 0x 0)
    Reading register (s8 = 0x 0)
    Reading register (s9 = 0x 0)
    Reading register (s10 = 0x 0)
    Reading register (s11 = 0x 0)
    Reading register (s12 = 0x 0)
    Reading register (s13 = 0x 0)
    Reading register (s14 = 0x 0)
    Reading register (s15 = 0x 0)
    Reading register (s16 = 0x 0)
    Reading register (s17 = 0x 0)
    Reading register (s18 = 0x 0)
    Reading register (s19 = 0x 0)
    Reading register (s20 = 0x 0)
    Reading register (s21 = 0x 0)
    Reading register (s22 = 0x 0)
    Reading register (s23 = 0x 0)
    Reading register (s24 = 0x 0)
    Reading register (s25 = 0x 0)
    Reading register (s26 = 0x 0)
    Reading register (s27 = 0x 0)
    Reading register (s28 = 0x 0)
    Reading register (s29 = 0x 0)
    Reading register (s30 = 0x 0)
    Reading register (s31 = 0x 0)
    Reading register (d0 = 0x 0)
    Reading register (d1 = 0x 0)
    Reading register (d2 = 0x 0)
    Reading register (d3 = 0x 0)
    Reading register (d4 = 0x 0)
    Reading register (d5 = 0x 0)
    Reading register (d6 = 0x 0)
    Reading register (d7 = 0x 0)
    Reading register (d8 = 0x 0)
    Reading register (d9 = 0x 0)
    Reading register (d10 = 0x 0)
    Reading register (d11 = 0x 0)
    Reading register (d12 = 0x 0)
    Reading register (d13 = 0x 0)
    Reading register (d14 = 0x 0)
    Reading register (d15 = 0x 0)
    WARNING: Failed to read memory @ address 0xFFFFFFFE
    Starting target CPU…
    ERROR: Cannot read register 15 (R15) while CPU is running
    Reading all registers
    ERROR: Cannot read register 0 (R0) while CPU is running
    ERROR: Cannot read register 1 (R1) while CPU is running
    ERROR: Cannot read register 2 (R2) while CPU is running
    ERROR: Cannot read register 3 (R3) while CPU is running
    ERROR: Cannot read register 4 (R4) while CPU is running
    ERROR: Cannot read register 5 (R5) while CPU is running
    ERROR: Cannot read register 6 (R6) while CPU is running
    ERROR: Cannot read register 7 (R7) while CPU is running
    ERROR: Cannot read register 8 (R8) while CPU is running
    ERROR: Cannot read register 9 (R9) while CPU is running
    ERROR: Cannot read register 10 (R10) while CPU is running
    ERROR: Cannot read register 11 (R11) while CPU is running
    ERROR: Cannot read register 12 (R12) while CPU is running
    ERROR: Cannot read register 13 (R13) while CPU is running
    ERROR: Cannot read register 14 (R14) while CPU is running
    ERROR: Cannot read register 15 (R15) while CPU is running
    ERROR: Cannot read register 16 (XPSR) while CPU is running
    ERROR: Cannot read register 17 (MSP) while CPU is running
    ERROR: Cannot read register 18 (PSP) while CPU is running
    ERROR: Cannot read register 24 (PRIMASK) while CPU is running
    ERROR: Cannot read register 25 (BASEPRI) while CPU is running
    ERROR: Cannot read register 26 (FAULTMASK) while CPU is running
    ERROR: Cannot read register 27 (CONTROL) while CPU is running
    ERROR: Cannot read register 32 (FPSCR) while CPU is running
    ERROR: Cannot read register 33 (FPS0) while CPU is running
    ERROR: Cannot read register 34 (FPS1) while CPU is running
    ERROR: Cannot read register 35 (FPS2) while CPU is running
    ERROR: Cannot read register 36 (FPS3) while CPU is running
    ERROR: Cannot read register 37 (FPS4) while CPU is running
    ERROR: Cannot read register 38 (FPS5) while CPU is running
    ERROR: Cannot read register 39 (FPS6) while CPU is running
    ERROR: Cannot read register 40 (FPS7) while CPU is running
    ERROR: Cannot read register 41 (FPS8) while CPU is running
    ERROR: Cannot read register 42 (FPS9) while CPU is running
    ERROR: Cannot read register 43 (FPS10) while CPU is running
    ERROR: Cannot read register 44 (FPS11) while CPU is running
    ERROR: Cannot read register 45 (FPS12) while CPU is running
    ERROR: Cannot read register 46 (FPS13) while CPU is running
    ERROR: Cannot read register 47 (FPS14) while CPU is running
    ERROR: Cannot read register 48 (FPS15) while CPU is running
    ERROR: Cannot read register 49 (FPS16) while CPU is running
    ERROR: Cannot read register 50 (FPS17) while CPU is running
    ERROR: Cannot read register 51 (FPS18) while CPU is running
    ERROR: Cannot read register 52 (FPS19) while CPU is running
    ERROR: Cannot read register 53 (FPS20) while CPU is running
    ERROR: Cannot read register 54 (FPS21) while CPU is running
    ERROR: Cannot read register 55 (FPS22) while CPU is running
    ERROR: Cannot read register 56 (FPS23) while CPU is running
    ERROR: Cannot read register 57 (FPS24) while CPU is running
    ERROR: Cannot read register 58 (FPS25) while CPU is running
    ERROR: Cannot read register 59 (FPS26) while CPU is running
    ERROR: Cannot read register 60 (FPS27) while CPU is running
    ERROR: Cannot read register 61 (FPS28) while CPU is running
    ERROR: Cannot read register 62 (FPS29) while CPU is running
    ERROR: Cannot read register 63 (FPS30) while CPU is running
    ERROR: Cannot read register 64 (FPS31) while CPU is running
    ERROR: Cannot read register 33 (FPS0) while CPU is running
    ERROR: Cannot read register 34 (FPS1) while CPU is running
    ERROR: Cannot read register 35 (FPS2) while CPU is running
    ERROR: Cannot read register 36 (FPS3) while CPU is running
    ERROR: Cannot read register 37 (FPS4) while CPU is running
    ERROR: Cannot read register 38 (FPS5) while CPU is running
    ERROR: Cannot read register 39 (FPS6) while CPU is running
    ERROR: Cannot read register 40 (FPS7) while CPU is running
    ERROR: Cannot read register 41 (FPS8) while CPU is running
    ERROR: Cannot read register 42 (FPS9) while CPU is running
    ERROR: Cannot read register 43 (FPS10) while CPU is running
    ERROR: Cannot read register 44 (FPS11) while CPU is running
    ERROR: Cannot read register 45 (FPS12) while CPU is running
    ERROR: Cannot read register 46 (FPS13) while CPU is running
    ERROR: Cannot read register 47 (FPS14) while CPU is running
    ERROR: Cannot read register 48 (FPS15) while CPU is running
    ERROR: Cannot read register 49 (FPS16) while CPU is running
    ERROR: Cannot read register 50 (FPS17) while CPU is running
    ERROR: Cannot read register 51 (FPS18) while CPU is running
    ERROR: Cannot read register 52 (FPS19) while CPU is running
    ERROR: Cannot read register 53 (FPS20) while CPU is running
    ERROR: Cannot read register 54 (FPS21) while CPU is running
    ERROR: Cannot read register 55 (FPS22) while CPU is running
    ERROR: Cannot read register 56 (FPS23) while CPU is running
    ERROR: Cannot read register 57 (FPS24) while CPU is running
    ERROR: Cannot read register 58 (FPS25) while CPU is running
    ERROR: Cannot read register 59 (FPS26) while CPU is running
    ERROR: Cannot read register 60 (FPS27) while CPU is running
    ERROR: Cannot read register 61 (FPS28) while CPU is running
    ERROR: Cannot read register 62 (FPS29) while CPU is running
    ERROR: Cannot read register 63 (FPS30) while CPU is running
    ERROR: Cannot read register 64 (FPS31) while CPU is running
    WARNING: Failed to read memory @ address 0xDEADBEEE
    WARNING: Failed to read memory @ address 0xDEADBEEE
    WARNING: Failed to read memory @ address 0xDEADBEEE
    WARNING: Failed to read memory @ address 0xDEADBEF1
    ERROR: Cannot read register 17 (MSP) while CPU is running
    Reading register (MSP = 0xDEADBEEF)
    ERROR: Cannot read register 18 (PSP) while CPU is running
    Reading register (PSP = 0xDEADBEEF)
    ERROR: Cannot read register 24 (PRIMASK) while CPU is running
    Reading register (PRIMASK = 0x 0)
    ERROR: Cannot read register 25 (BASEPRI) while CPU is running
    Reading register (BASEPRI = 0x 0)
    ERROR: Cannot read register 26 (FAULTMASK) while CPU is running
    Reading register (FAULTMASK = 0x 0)
    ERROR: Cannot read register 27 (CONTROL) while CPU is running
    Reading register (CONTROL = 0x 0)
    ERROR: Cannot read register 32 (FPSCR) while CPU is running
    Reading register (FPSCR = 0xDEADBEEF)
    ERROR: Cannot read register 33 (FPS0) while CPU is running
    Reading register (s0 = 0xDEADBEEF)
    ERROR: Cannot read register 34 (FPS1) while CPU is running
    Reading register (s1 = 0xDEADBEEF)
    ERROR: Cannot read register 35 (FPS2) while CPU is running
    Reading register (s2 = 0xDEADBEEF)
    ERROR: Cannot read register 36 (FPS3) while CPU is running
    Reading register (s3 = 0xDEADBEEF)
    ERROR: Cannot read register 37 (FPS4) while CPU is running
    Reading register (s4 = 0xDEADBEEF)
    ERROR: Cannot read register 38 (FPS5) while CPU is running
    Reading register (s5 = 0xDEADBEEF)
    ERROR: Cannot read register 39 (FPS6) while CPU is running
    Reading register (s6 = 0xDEADBEEF)
    ERROR: Cannot read register 40 (FPS7) while CPU is running
    Reading register (s7 = 0xDEADBEEF)
    ERROR: Cannot read register 41 (FPS8) while CPU is running
    Reading register (s8 = 0xDEADBEEF)
    ERROR: Cannot read register 42 (FPS9) while CPU is running
    Reading register (s9 = 0xDEADBEEF)
    ERROR: Cannot read register 43 (FPS10) while CPU is running
    Reading register (s10 = 0xDEADBEEF)
    ERROR: Cannot read register 44 (FPS11) while CPU is running
    Reading register (s11 = 0xDEADBEEF)
    ERROR: Cannot read register 45 (FPS12) while CPU is running
    Reading register (s12 = 0xDEADBEEF)
    ERROR: Cannot read register 46 (FPS13) while CPU is running
    Reading register (s13 = 0xDEADBEEF)
    ERROR: Cannot read register 47 (FPS14) while CPU is running
    Reading register (s14 = 0xDEADBEEF)
    ERROR: Cannot read register 48 (FPS15) while CPU is running
    Reading register (s15 = 0xDEADBEEF)
    ERROR: Cannot read register 49 (FPS16) while CPU is running
    Reading register (s16 = 0xDEADBEEF)
    ERROR: Cannot read register 50 (FPS17) while CPU is running
    Reading register (s17 = 0xDEADBEEF)
    ERROR: Cannot read register 51 (FPS18) while CPU is running
    Reading register (s18 = 0xDEADBEEF)
    ERROR: Cannot read register 52 (FPS19) while CPU is running
    Reading register (s19 = 0xDEADBEEF)
    ERROR: Cannot read register 53 (FPS20) while CPU is running
    Reading register (s20 = 0xDEADBEEF)
    ERROR: Cannot read register 54 (FPS21) while CPU is running
    Reading register (s21 = 0xDEADBEEF)
    ERROR: Cannot read register 55 (FPS22) while CPU is running
    Reading register (s22 = 0xDEADBEEF)
    ERROR: Cannot read register 56 (FPS23) while CPU is running
    Reading register (s23 = 0xDEADBEEF)
    ERROR: Cannot read register 57 (FPS24) while CPU is running
    Reading register (s24 = 0xDEADBEEF)
    ERROR: Cannot read register 58 (FPS25) while CPU is running
    Reading register (s25 = 0xDEADBEEF)
    ERROR: Cannot read register 59 (FPS26) while CPU is running
    Reading register (s26 = 0xDEADBEEF)
    ERROR: Cannot read register 60 (FPS27) while CPU is running
    Reading register (s27 = 0xDEADBEEF)
    ERROR: Cannot read register 61 (FPS28) while CPU is running
    Reading register (s28 = 0xDEADBEEF)
    ERROR: Cannot read register 62 (FPS29) while CPU is running
    Reading register (s29 = 0xDEADBEEF)
    ERROR: Cannot read register 63 (FPS30) while CPU is running
    Reading register (s30 = 0xDEADBEEF)
    ERROR: Cannot read register 64 (FPS31) while CPU is running
    Reading register (s31 = 0xDEADBEEF)
    ERROR: Cannot read register 33 (FPS0) while CPU is running
    ERROR: Cannot read register 34 (FPS1) while CPU is running
    Reading register (d0 = 0x 0)
    ERROR: Cannot read register 35 (FPS2) while CPU is running
    ERROR: Cannot read register 36 (FPS3) while CPU is running
    Reading register (d1 = 0x 0)
    ERROR: Cannot read register 37 (FPS4) while CPU is running
    ERROR: Cannot read register 38 (FPS5) while CPU is running
    Reading register (d2 = 0x 0)
    ERROR: Cannot read register 39 (FPS6) while CPU is running
    ERROR: Cannot read register 40 (FPS7) while CPU is running
    Reading register (d3 = 0x 0)
    ERROR: Cannot read register 41 (FPS8) while CPU is running
    ERROR: Cannot read register 42 (FPS9) while CPU is running
    Reading register (d4 = 0x 0)
    ERROR: Cannot read register 43 (FPS10) while CPU is running
    ERROR: Cannot read register 44 (FPS11) while CPU is running
    Reading register (d5 = 0x 0)
    ERROR: Cannot read register 45 (FPS12) while CPU is running
    ERROR: Cannot read register 46 (FPS13) while CPU is running
    Reading register (d6 = 0x 0)
    ERROR: Cannot read register 47 (FPS14) while CPU is running
    ERROR: Cannot read register 48 (FPS15) while CPU is running
    Reading register (d7 = 0x 0)
    ERROR: Cannot read register 49 (FPS16) while CPU is running
    ERROR: Cannot read register 50 (FPS17) while CPU is running
    Reading register (d8 = 0x 0)
    ERROR: Cannot read register 51 (FPS18) while CPU is running
    ERROR: Cannot read register 52 (FPS19) while CPU is running
    Reading register (d9 = 0x 0)
    ERROR: Cannot read register 53 (FPS20) while CPU is running
    ERROR: Cannot read register 54 (FPS21) while CPU is running
    Reading register (d10 = 0x 0)
    ERROR: Cannot read register 55 (FPS22) while CPU is running
    ERROR: Cannot read register 56 (FPS23) while CPU is running
    Reading register (d11 = 0x 0)
    ERROR: Cannot read register 57 (FPS24) while CPU is running
    ERROR: Cannot read register 58 (FPS25) while CPU is running
    Reading register (d12 = 0x 0)
    ERROR: Cannot read register 59 (FPS26) while CPU is running
    ERROR: Cannot read register 60 (FPS27) while CPU is running
    Reading register (d13 = 0x 0)
    ERROR: Cannot read register 61 (FPS28) while CPU is running
    ERROR: Cannot read register 62 (FPS29) while CPU is running
    Reading register (d14 = 0x 0)
    ERROR: Cannot read register 63 (FPS30) while CPU is running
    ERROR: Cannot read register 64 (FPS31) while CPU is running
    Reading register (d15 = 0x 0)
    WARNING: Failed to read memory @ address 0xDEADBEEE
    Reading 64 bytes @ address 0xDEADBEC0
    WARNING: Failed to read memory @ address 0xDEADBEC0
    WARNING: Failed to read memory @ address 0xDEADBEEE
    Reading 64 bytes @ address 0xDEADBEC0
    WARNING: Failed to read memory @ address 0xDEADBEC0
    WARNING: Failed to read memory @ address 0xDEADBEEE
    Reading 64 bytes @ address 0xDEADBEC0
    WARNING: Failed to read memory @ address 0xDEADBEC0
    WARNING: Failed to read memory @ address 0xDEADBEEE
    Reading 64 bytes @ address 0xDEADBEC0
    WARNING: Failed to read memory @ address 0xDEADBEC0
    WARNING: Failed to read memory @ address 0xDEADBEEE

     

    • This topic was modified 2 years, 4 months ago by cabandre.
    #31736
    support
    Keymaster

    Hi,

    This looks like an issue between the J-Link and the target and not something VisualGDB-specific. Please consider forwarding the log to Segger support to get more specific advice.

    That said, if you can debug the target by running the J-Link gdb server manually, we can definitely help you configure VisualGDB to replicate the same results if you could share the J-Link gdb server command line that does work with this device.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.