Hello Everyone,
I am working on a project which requires to detect if any firmware is installed on the device in the bootloader.
Is there any function provided by nrf-sdk for such requirement or is there other way around.
Hello Everyone,
I am working on a project which requires to detect if any firmware is installed on the device in the bootloader.
Is there any function provided by nrf-sdk for such requirement or is there other way around.
Hi Andhakanoon,
Please have a look at function app_is_valid() inside nrf_bootloader.c . In this function the application is validated either with a signature or with crc check. You can read more about boot validation here.
The CRC check must match with what received when the image first installed in the chip.