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

After program bootloader software ,application reset

Hi all ,

        I using sdk12.3   experimental_ble_app_buttonless_dfu project to development , below is my bootloader and project  ram setting:

if I don't download the bootloader software, application works ok . But after download the bootloader , in initial the application the software reset on NRF_ERROR_STORAGE_FULL:


ret_code_t pds_init()
{
ret_code_t ret;

// Check for re-initialization if debugging.
NRF_PM_DEBUG_CHECK(!m_module_initialized);

ret = fds_register(fds_evt_handler);
if (ret != NRF_SUCCESS)
{
return NRF_ERROR_INTERNAL;
}

ret = fds_init();
if (ret != NRF_SUCCESS)
{
return NRF_ERROR_STORAGE_FULL;
}

peer_id_init();
peer_ids_load();

m_module_initialized = true;

return NRF_SUCCESS;
}

Is there any idea why does it reset ? There are 4 service in my software.

Parents Reply Children
  • Sorry for the late reply . Iusing the 51822QFAA chip , the sdk is 12.03 .

    The bootloader setting :0x3AC00  0x5000   /  0x200025E0 0x1A20 

    application setting :0x1B000  0x1FC00 / 0x20002138  0xDEC8

    After download the application it works ok . but after download the bootloader it cannot work .(It cannot search by phone). 

    Add the Arguments to bootloader software and download by keil , it tell a error messsage:

    Reading flash area to program to guarantee it is erased.
    ERROR: The area to write is not erased.

    Here is my operation step:

    1. Eras the chip by nRFgo studio. 

    2. Using the nRFgo studio to download softDevice and application . (It can find by phone)

    3. Using bootloader_secure project to download bootloader.(Tells the error message , if using  nRFgo studio to download it cannot find by phone )

Related