ADVERTISE ISSUE IN DEBUG

Hi,

    i am working on nRF52832. everything is working fine . only problem is advertise does not start in debug mode.

  • Hello,

    i am working on nRF52832. everything is working fine . only problem is advertise does not start in debug mode.

    Are you using breakpoints during your debug session?
    Please note that the SoftDevice will assert immediately after a breakpoint has occurred, because it will have missed all its time-critical deadlines while the CPU was halted for the breakpoint. Using breakpoints in combination with the SoftDevice running is therefore not advisable, since you can not resume application execution after a breakpoint has been triggered.

    If breakpoints are not what is causing your issue here, please elaborate on the behavior you are seeing, how it fails, and what you are doing to provoke the issue.

    Best regards,
    Karl

  • Hello all,

    I have the same problem... Advertising works properly but when I am in debug mode, advertising stops (I don't use any breakpoints while debugging, just logging some data). This issue only occurs on my new custom board, on 2 other custom board I don't have this problem...

  • Hello,

    Could you elaborate more on the issue? What behavior are you observing, and how does it differ from what you would have expected?
    Does the device suddenly reset itself when advertising begins, or does it seem to be running but you are unable to find the advertisements?
    What changes did you make from the last revision of the board until the new revision that does not work, what parts of the circuitry did you change?

    Please be as specific as possible, so that we may better understand your issue and help you resolve it.

    Best regards,
    Karl

  • Hello Karl,

    Thank you for your reply!

    My nRF52832 is advertising properly (I can see it with the nRF Connect mobile app or with a sniffer), but as soon as I enter in debug mode, I no longer see any advertisements. 

    I'm sure no reset was triggered because I'm logging a variable which is continuously incremented so my SW seems to be running correctly.

    The new board has the internal LDO setup while the other boards have the DC/DC regulator setup. I also added an RF connector on the transmission line just before the matching network components. Those are the only changes I made.

    Best regards,

    Brandon

  • I want to correct myself, I can see advertisement packets with the sniffer in debug mode but the packets are malformed and the CRC is incorrect...

    Hope this helps you understand this problem :-)

Related