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
  • Hi,

    Are you flashing the firmware using Segger Embedded Studio or nrfjprog?

    You need to erase the device first to make space for the new firmware.

  • Hi  Mttrinh,

    " if I use command "nrfjprog --eraseall -f NRF52" to erase first then flash ,the system runs well,   why need to erase first?  "

    1)when I flash a fw with generic level server , then flash other fw with sensor server, 

    it need to erase first so fw can runs well, otherise fw runs error.

    2)but if I flash a fw with generic level server , then flash fw with generic level server again , in this situation it don't need to erase first , fw will also runs well

    My question:

    base on  fw with generic level server of the board

    1)if flash diff mesh server model fw, why need to erase first?

    2)if flash same mesh server model fw , why do not need to erase first?

Reply
  • Hi  Mttrinh,

    " if I use command "nrfjprog --eraseall -f NRF52" to erase first then flash ,the system runs well,   why need to erase first?  "

    1)when I flash a fw with generic level server , then flash other fw with sensor server, 

    it need to erase first so fw can runs well, otherise fw runs error.

    2)but if I flash a fw with generic level server , then flash fw with generic level server again , in this situation it don't need to erase first , fw will also runs well

    My question:

    base on  fw with generic level server of the board

    1)if flash diff mesh server model fw, why need to erase first?

    2)if flash same mesh server model fw , why do not need to erase first?

Children
No Data
Related