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

After BLE initializations if write the data on flash memory the NRF_BREAKPOINT_COND; is coming

Hi, 

Kindly give solutions for this error! which needful for our projects, while writing the data on flash memory , written working as perfect, but if I write the data on flash memory after the ble_stack_init(); the NRF_BREAKPOINT_COND; is coming the BLE is not advertising.

Note: here im using bel_app_uart example code and one more points im using the nrf_nvmc_write_words(l_addr,k, sizeof(k)); & nrf_nvmc_page_erase(l_addr); // erase the page.

Regards

Chandru.A

Parents
  • Hi.

    Your devcie is not advertising because you run into an error in your code.

    Maybe you could add some more information about how you are going about "writing data on the flash"? You mention that after ble_stack_init() you run into NRF_BREAKPOINT_COND. Do you have any more specific information about what is causing this? Is it the actual ble_stack_init() that is causing the error to occur, or is it something that you are doing after this?

    Maybe you could upload some code snippets, that can show what you are doing.

    Also, SDK version, which device etc. could be useful information to add.

    Br,
    Joakim

  • Dear sir,

    Im suing nrf52840 , sdk_v17 and  flash memory written the data before Fast advertising., but after Fast advertising, unable to write what is the reason? kindly reply this thread

    Thanks & Regards

    Chandru.A

Reply Children
Related