when I flash a fw with generic level server , then flash other fw with sensor server , the system runs error, if I use command "nrfjprog --eraseall -f NRF52" to erase first then flash ,the system runs well, why need to erase first?

Hi,

    I have met one bug.

when I flash a fw with generic level server , then flash other fw with sensor server ,  the system runs error,  if I use command "nrfjprog --eraseall -f NRF52" to erase first then flash ,the system runs well,   why need to erase first?

error as follow:

app_error_weak.c,  115, Mesh error 34314 at 0x00000000 (:0)

Parents Reply
  • Hi Mttrinh,

    Thanks so much. I will check.

    What SDK version are you using?

    ====nRF SDK: V17.0.2   

    ====Mesh SDK:  V5.0.0

    Do you mean that use follow code to erase?

    /* Clear model config file as loading failed */
    model_config_file_clear();
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "Data in the persistent memory was corrupted. Device starts as unprovisioned.\n");
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "Reboot device before starting of the provisioning process.\n");
Children
Related