Re: Debugging NRF51822 (OpenOCD + GDB)

Scott Nelson <scott@...>

Ahha! I found this in there:

0000bc70 <chan_set.part.23>:
bc70: b662 cpsie i
bc72: 2004 movs r0, #4
bc74: df02 svc 2

I think the “…" is displayed when that address is just zeros?

When I look through the code that I’m running though I do not see "LL_ASSERT(!_radio.ticker_id_prepare);” inside “chan_set”. I do see calls to "LL_ASSERT(!_radio.ticker_id_prepare);” in “radio_event_adv_prepare” and “event_scan_prepare”. Here’s the version I’m running:


On Aug 24, 2017, at 6:38 PM, Marti Bolivar <> wrote:

Hi Scott,

On 24 August 2017 at 18:24, Scott Nelson <> wrote:

I tried disassembling the object file that contains the radio_event_adv_prepare function:

$ arm-none-eabi-objdump -z -S outdir/nrf51_blenano/subsys/bluetooth/controller/ll_sw/ctrl.o

I didn’t see 0xbc76 in there though.

There should be an outdir/zephyr.lst file in your build directory. This contains a disassembly of the final executable. You may have better luck searching for that address in there.


Join to automatically receive all group messages.