Does the MCUMGR have a foolproof feature?

I am learning how to use MCUMGR. I generally understand it, but I have some concerns.

- The firmware with the private key can also be overwritten. Then it will not boot.
(By the way, we call this a paperweight.)

- It is possible to write even if the model (e.g. nRF52832 and nRF52840) is different. Of course, it will not boot.

Is there any way to avoid these foolproofs?

In addition, it is not foolproof,

- I don't know how to write to slot 1. Adding -n1 options doesn't work.

Best Regards,
Yoshihiro Goto

Related