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.

TMS320F280049C: Read DCSM OTP

Part Number: TMS320F280049C

Hi Team,

Here are some issues from the customer may need your help:

DCSM OTP Zone1's configurations: Sector protection, non-default password, enable PSWLock;

DCSM OTP Zone2's configurations: Sector protection, non-default password, disable PSWLock.

The customer did some experiments as below:

1. Put the program to zone1, doesn't execute PMF.

The program tried to read the CSM password of DCSM OTP Zone1, but can not read the actual value.

phenomenon: LED2 did not light up.

uint32_t *p;
p = (uint32_t *)0x000780C8;  //Zone1 CSM

if( *p == 0xFFFFFFFE) //Zone1 CSM value

{

    GPIO_writePin(DEVICE_GPIO_PIN_LEN2, 0); 

}

2. Put the program to zone2, doesn't execute PMF.

The program tried to read the CSM password of DCSM OTP Zone2 and can read the actual value.

Phenomenon: LED2 light up.

uint32_t *p;
p = (uint32_t *)0x000782C8;  //Zone2 CSM

if( *p == 0xFFFFFFFE) //Zone2 CSM value

{

    GPIO_writePin(DEVICE_GPIO_PIN_LEN2, 0); 

}

3. Put the program to zone2, doesn't execute PMF.

The program tried to read the sector configuration of DCSM OTP Zone2, but the actual value can not read.

Phenomenon: LED2 light up.

uint32_t *p;
p = (uint32_t *)0x000782C0;  //Zone2 EXEONLYRAM

if( *p == 0x0000003F) //Zone2 EXEONLYRAM value

{

    GPIO_writePin(DEVICE_GPIO_PIN_LEN2, 0); 

}


How to read the DCSM OTP configuration when the DCSM CSM password is configured?

--

Thanks & Regards