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

Spurious S110 crash

Dear Support Team,

I'm working on a BLE application and the most stuff works well but now I had a spurious application crash at "src\ll_lm.s0.c: 1038". Could you please check what kind of assertion has been failed here? I was using the 6.0.0.1-alpha S110 softdevice.

Thank you in advance, Peer.

Parents
  • This happens to me when I run gdb with for example this breakpoint which normally would hit, print the value, and continue.

    b BluetoothLE.h:738
    commands
    p rssi
    c
    end
    
    

    The softdevice crashes subsequently at this location:

    Program received signal SIGTRAP, Trace/breakpoint trap.
    softdevice_assertion_handler (pc=40722, line_num=783, 
        file_name=0x20001bac "s"...) at ./ble_error.h:34
    34	    __asm("BKPT");
    
    

    This is indeed line 783 in ll_lm.s0.c.

    printf "%s\n", file
    src\ll_lm.s0.c
    
    

    Do I have to run gdb with a different priority for its interrupts or something like that? How do I do that?

    Code is at github.com/.../bluenet

Reply
  • This happens to me when I run gdb with for example this breakpoint which normally would hit, print the value, and continue.

    b BluetoothLE.h:738
    commands
    p rssi
    c
    end
    
    

    The softdevice crashes subsequently at this location:

    Program received signal SIGTRAP, Trace/breakpoint trap.
    softdevice_assertion_handler (pc=40722, line_num=783, 
        file_name=0x20001bac "s"...) at ./ble_error.h:34
    34	    __asm("BKPT");
    
    

    This is indeed line 783 in ll_lm.s0.c.

    printf "%s\n", file
    src\ll_lm.s0.c
    
    

    Do I have to run gdb with a different priority for its interrupts or something like that? How do I do that?

    Code is at github.com/.../bluenet

Children
Related