Part Number: F28M35H52C
Hello Champs,
Customer is using F28M35.
For C28 codes, they programmed the password and also added below settings according to TRM to make sure re-secure:
volatile int *CSMSCR = 0x00AEF; //CSMSCR register
//Set FORCESEC bit
EALLOW;
*CSMSCR = 0x8000;
EDIS;
But they found that executing the codes which were copied from flash into unsecure RAM S0 still can access the functions defined in the codes which were copied from flash into secure RAM L0. They didn't do any unlocking operation and C28 was always in lock status.
Would you please kindly help? Why can the codes in unsecure memory(RAM S0) access the secure memory? Thanks!
Best Regards,
Linda