We are using nRF5340 engineering D revision.
The software is nRF Connect SDK 1.7.0
We are seeing a problem with the network core bootloader (aka netboot, aka b0n)
Sometimes the bootloader fails to start the network core application.
We have enabled logging in the bootloader, then we see the following error message:
Failed to protect b0n flash, cancel startup
Looking into nrf\samples\nrf5340\netboot\src\main.c, we see that the bootloader tries to lock the flash using the ACL peripheral.
This fails because apparently the ACL list is not cleared on reboot. The function find_free_region
then returns an error.
We reboot the chip using the shell command kernel reboot cold
on the application core, which should also reset the network core according to the specification.
Is this a known hardware issue, or are we doing something wrong in software?