Hi,
Why is address 0x14001000 (CSE PRAM) is non-writable?
Did I messed up my flash partitioning?
Is the location part of the FPROT?
Kind regards,
Marizonne
Hi Lukas,
The FSTAT has no error flags asserted.
My suspicion is that the board I'm using is partitioned with CSEC Key Size = 0. This is the reason why the PRAM is non-accessible. Is my understanding correct?
yes, that's correct. The PRAM is available if the CSE is enabled by partitioning - when the number of keys is configured to non-zero value.
Regards,
Lukas
Hi Marizonne,
how did you partitioned the device?
Let me copy here from the reference manual some reasons why the PRAM is locked:
And:
So, I would check the content of FSTAT register as a first step.
Hi LuKas,
is there any way to unlock the CSE?
i've got the same problem after i called the eraseKeys() API from csec_utils.c.
after that, any write to CSE_PRAM will cause a DefaultISR.
the FSTAT is 0x80; FCSESTAT is 0x40.