This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf_drv_clock_lfclk_request() show ASSERTION FAILED

Hi All,

I have a question that i remark this code run different mode have different results

in Release  mode => build success,the project can run

in Debug mode => the debug terminal show : <error> app: ASSERTION FAILED at C:\Users\kai\Desktop\Git\BLE_nRF52832_1710\integration\nrfx\legacy\nrf_drv_clock.c:246

Attachment is my program, please help me to debug

Lab03_UART.zip

Best regards,

Kai

Parents
  • If you build with Debug (not Release) you should be able to get the exact error code that is returned from nrf_drv_clock_init(). I suspect it is returning NRF_ERROR_MODULE_ALREADY_INITIALIZED, which can be ignored.

    By default in Release mode all asserts are ignored.

    Kenneth

Reply
  • If you build with Debug (not Release) you should be able to get the exact error code that is returned from nrf_drv_clock_init(). I suspect it is returning NRF_ERROR_MODULE_ALREADY_INITIALIZED, which can be ignored.

    By default in Release mode all asserts are ignored.

    Kenneth

Children
Related