Dear, C2K champs,
We see in the F28075 TRM Rev. B, Page 141
2.13.3.3.1 C Code Example to Unsecure C28x Zone1
2.13.3.6.1 C Code Example to Disable ECSL for C28x-Zone1
The exapmle siad the CSM address is from 0x5F000
volatile long int *CSM = (volatile long int *)0x5F000; //CSM register file
But in the following code, in the comment, it said it is from 0x5F010.
*CSM++ = 0x22221111; // Register Z1_CSMKEY0 at 0x5F010
*CSM++ = 0x44443333; // Register Z1_CSMKEY1 at 0x5F012
*CSM++ = 0x66665555; // Register Z1_CSMKEY2 at 0x5F014
*CSM++ = 0x88887777; // Register Z1_CSMKEY3 at 0x5F016
And we tried if change the volatile long int *CSM = (volatile long int *)0x5F000; //CSM register file
To volatile long int *CSM = (volatile long int *)0x5F010; //CSM register file
The code running result is right. So is it a typo in the user's guide?
Thanks and best regards,
Hardy