This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: 如何解密C28x Zone1

Part Number: TMS320F28388D
Other Parts Discussed in Thread: UNIFLASH

您好,我在CPU1的主函数中尝试对zone1进行解密,但是对应的flash分块没有解密,全是FFFF

使用的参考手册6.7.3代码,如下

volatile long int *CSM = (volatile long int *)5F010; //CSM register file volatile

long int *CSMPWL = (volatile long int *)0x78020; //CSM Password location (assuming default Zone

select block)

volatile int tmp;

int I;

// Read the 128-bits of the CSM password locations (PWL)

//

for (I=0;I<4; I++) tmp = *CSMPWL++;

// Write the 128-bit password to the CSMKEY registers

// If this password matches that stored in the

// CSLPWL then the CSM will become unsecure. If it does not

// match, then the zone will remain secure.

*CSM++ = 0x93D99252; // Register Z1_CSMKEY0 at 0x5F010
*CSM++ = 0x0C66CABE; // Register Z1_CSMKEY1 at 0x5F012
*CSM++ = 0x28721FD1; // Register Z1_CSMKEY2 at 0x5F014
*CSM++ = 0x577F8C55; // Register Z1_CSMKEY3 at 0x5F016

我也尝试在UNIFLASH的setting中解锁,虽然提示操作成功了但flash也没解锁