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

Application update with mesh sdk

HI,

I want to update the application FW in mesh sdk environment from flash memory. The new binary is in the flash memory already (I received it from a spi-ethernet interface). My plan is that I force the mesh protocol to recognize the received FW in the flash bank, then reboot board with calling the 'nrf_mesh_dfu_bank_flash(NRF_MESH_DFU_TYPE_APPLICATION)' function.

I started the mesh with 'nrf_mesh_dfu_request(..)' without problem (where I told to mesh the flash bank address), but the 'nrf_mesh_dfu_bank_flash' function returns with error message 5. It means, there is no valid flash bank.

My question is, how I tell to mesh, that the flash bank is valid?

nrf52840 with nRF5 sdk

Attila

Related