I am attempting to modify the CSC examples from the SDK to boot a custom image on an MSPM0G3519, I have enabled UART prints inside CSC using driver, which as increased the CSC image size slightly. Attempting to boot the image fails because the INITDONE flag is already set, new keystore data cannot be written and the lock storage boot status is set to LOCKSTG_BOOT_STATUS_FAILURE.
How can the INITDONE flag be reset in the SECSTATUS register? The register is read only.