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

Debug mode is not working in Segger Embedded Studio?

We are using nRf52840 chip with Nordic SDK 15.0 version using SES IDE. When we use debug mode in build configurations program is not working or not debugging got error as a unknown function and stop running in below function:

void idle_state_handle(void) {
  if (NRF_LOG_PROCESS() == false) {
    nrf_pwr_mgmt_run();
  }
}

But when we select release mode the program is working fine. But we want to debug our code with break points, so will you please give me solution why program is not working in debug mode. Is any other setting that we need to configure in segger embedded studio for debugging. 

Thanks in advanced.......

Parents Reply
  • Sorry for late response,

    We were busy to implement other functionality and used segger setting in release mode. But now we need to resolve this issue still getting.

    But currently ERROR got as per below:

    <error> app: ERROR 3735928559 [Unknown error code] at D:/Permanent_monitoring_system/nRF5_SDK_15.0.0_a53641a/modules/nrfx/hal/nrf_gpio.h:455
    PC at: 0x00032ECB
    <error> app: End of error report

    When i go to line no 455 in nrf_gpio.h the saw   NRFX_ASSERT(*p_pin < NUMBER_OF_PINS);

    Why my program stuck here in debug mode.

    Will please provide best solution to resolve this debug issue.

    Looking forward your response..!!!

Children
Related