I'm having troubles with the SPIFI and in particular the registers.
According to the manual https://www.nxp.com/docs/en/user-guide/UM10503.pdf we have these registers.
But whe the program is going to write to STAT it fails and gets stuck.
Checking the memory we can see that there are questionmarks instead of data at the STAT location.
Any sugestions of how to fix this?