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

0xDEADBEEF, 722, src \ ll_adv.c

Hi all,

I use nRF51822, sdk_v5_0_0_34603 and s110_nrf51822_6.0.0-5.beta. In a different periods of time appears error "0xDEADBEEF, 722, src \ ll_adv.c". Error appears only with battery powered device (tested with different batteries). What may be the reason for this error.

Best regards, Peter

  • Peter, since you do not use flash write, this issue does not touch you.

    Also, what you do, changing adv params and starting advertising after disconnect or advertising timeout is perfectly OK. (After connection, there is no advertising to stop, the same for after advertising timeout.)

    Asbjørn

  • Peter, looking at your code, you are actually doing flash operations, although you may not be aware of it. You use the bond manager (from the SDK), and the bond manager writes to flash. So the issue and workarounds above do apply to your case. (This may not be the cause of your issue, though.)

    Asbjørn

  • Thanks for suggestions. I'll try workarounds and report results.

    Best Regards, Peter

  • Hi all,

    Here are results of some tests:

    • add 50ms before the execution of command sd_ble_gap_adv_start() - the error exist.
    • reducing supply voltage of mother board with nRFgo_Studio and test with PCA10004 - reduced to 2V and there are no errors. But when PCA10004 is powered with battery the error exist.
    • using of 2 batteries in parallel for powering my pcb - the error exist.
    • upgrade to sdk_5_1_0 and s110_6.0.0_softdevice - the error exist.
    • sdk_5_1_0, s110_6.0.0_softdevice and example project ble_app_hrs (add led in assert_nrf_callback()) - the error exist.
    • downgrade to sdk_v4_4_2_33551 and s110_5.2.1_softdevice - the problem disappeared. The last test clear my doubt of defect in used batteries.

    I noticed that when there is no error, DEC2 is ON for a short period of time until rx/tx are active and OFF for a long period of time until sleep state. But when the error appeared DEC2 is constantly ON.

    I hope it will be possible for Your team to reproduce the case and find out the reason for the error. Please use my code and battery for power supply. May be in my pcb exist increased contact or internal battery resistance. Capacitor on pin 1 (VDD) is 1uF according "nRF51822_Development_Kit_1_0" instead 4.7uF as proposed in "nRF51822_Development_Kit_2_0". Chip is N51822 QFAACA.

    Thank You very much for assistance. Best Regards, Peter

    ble_app_hrs_sdk_5_1_0_p_k.rar

  • Hi all,

    With fix for PAN ID 11 (set NRF_POWER_MODE_CONSTLAT) the device working without problem from about 20 hours. I hope the problem is solved. If there is something new about this problem I will inform you.

    Thank You very much for assistance. Best Regards, Peter

Related