NRF_BREAKPOINT_COND

Hi there.
I've got some problem when advertising has start.
once I turn it on it's happened always after 3 minutes.
Hardware:
I am using nrf52832 module without any EVAL board at all.
all pins configured as output pin except RX,TX,RTC and CTS.
RX and CTS pins has been pulled-up with 4.7K Ohm resistors.
P13,P14,P15,P16 pins configured as input and internal pulled-up resistor activated to them.
P9,P10 configured as output too. but I could not see any action on those pins. (I think it's happened because of the SDK_CONFIG using those pins as a NFC)
Software:
I'm using NRF-SDK V17.0.2,V17.1.0,V15.3.0.
in CMSIS Configuration section the psb-btn-ble has been disabled to pervent any conflicting in pin configuration.
in all these versions I have same problem.
I've got this error code 0x00002006 and cannot find any mean of this.
in any cases that I am using this software I've got same problem.
even without any configurations on default SDK after 3 minutes it's stopped.
Apologies for my weak English.

Parents
  • Hello,

    Apologies for my weak English.

    No need to apologize - I will just ask if anything is unclear! :) 

    I'm using NRF-SDK V17.0.2,V17.1.0,V15.3.0.

    Here you mention three different SDK versions - which is the one you are developing with?
    I would always recommend using the latest if starting a new project, and if you have not already done so I would also recommend considering moving to the nRF Connect SDK since this is our newest SDK. Please see this statement regarding the future of these SDKs.


    From your ticket it seems that you are encountering the NRF_BREAKPOINT_COND when stepping through the code in the debugger, is this correct?
    If so, please make sure to add DEBUG in your preprocessor defines like shown in the included image:

    This will make your logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.
    Please do this, and let me know what this error message reads, and which line of code it points to in your application.

    Best regards,
    Karl

  • From your ticket it seems that you are encountering the NRF_BREAKPOINT_COND when stepping through the code in the debugger, is this correct?

    I just download the code and run it through the debugger without selecting any breakpoints and never pause it during in the run code state.
    And this problem happened too in normally run mode(without entering the debug mode.) 

  • Nima64 said:
    I just download the code and run it through the debugger without selecting any breakpoints and never pause it during in the run code state.

    Yes, this is as expected if a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.
    Please add the DEBUG define to your preprocessor defines and see what you logger outputs in this case.

    Just for clarity, which example from the SDK are you trying to run?

    Nima64 said:
    And this problem happened too in normally run mode(without entering the debug mode.) 

    Am I correct that in the normal mode you are just seeing a reset of the device?

    Best regards,
    Karl

  • Just for clarity, which example from the SDK are you trying to run?

    ble_app_uart 

Reply Children
No Data
Related