This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Debugging nRF52840 Radio Driver with GDB SERVER

Hello, I trying to debug with GDB server Because of this.

I open the GDB server like this

go to build directory and write client cmds below

(gdb)
target remote :2331
file nrf52840_xxaa.axf
monitor reset
monitor halt
monitor endian little
monitor speed auto
monitor flash device nRF52840_xxAA
load
monitor go
set print elements 0
set print repeats 0
set pagination off
set height 0

p/z nrf_802154_debug_log_buffer
p nrf_802154_debug_log_ptr

output is $4 = {<error reading variable>, <error reading variable>, <error reading variable>, <error reading variable>, <error reading variable>,......

What did I do wrong?

Related