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
  • When i added this libraries into my project and enabled hardfault handler in sdk_config.h the got error like

    <error> hardfault: HARD FAULT at 0x000273AA
    <error> hardfault:   R0:  0x00140101  R1:  0x00000000  R2:  0x00000001  R3:  0x02FE2B00
    000000
    ult).
    <error> hardfault: Bus Fault Address: 0x02FE2B04
    

    Will you please tell me why this error coming where is exactly issue..

     Thanks.. 

Children
Related