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.

TMS320F28054F: DCSM

Part Number: TMS320F28054F

hello experts .   I'm developing  a bootloader on 28054f  .  when I  call Unlock_Z1_DCSM() before using the API-functions ,  the Z1-Linkpointer is 0xc0000000 and it  result a Unlock failure. however the Z2-Linkpointer is 0xffffffff and is no problem .

My code referenced TI's routine in controlsuit called "Example_2805xFlashProgramming":

temp_dcsm = *(unsigned long *)0x3D7A00; // Read Z1 Linkpointer
temp_dcsm = *(unsigned long *)0x3D7800; // Read Z2 Linkpointer
temp_dcsm = *(unsigned long *)0x3D7A02; // Read Z1 OTPSECLOCK
temp_dcsm = *(unsigned long *)0x3D7802; // Read Z2 OTPSECLOCK
temp_dcsm = *(unsigned long *)0x3D7A04; // Read Z1 BOOTMODE
temp_dcsm = *(unsigned long *)0x3D7804; // Read Z2 BOOTMODE
temp_dcsm = *(unsigned long *)0x3D7FFE; // Read SECDC
Z1_Status_dcsm = Unlock_Z1_DCSM(); //Performs unlock as per the Link pointer. Update the passwords accordingly


  • Hi,

    when I  call Unlock_Z1_DCSM() before using the API-functions ,  the Z1-Linkpointer is 0xc0000000

    If you have not programmed security setting in device then this does not look correct. Are you able to connect to device via CCS ? If yes, please check the content of LINKPOINTER register in Z1 DCSM register. If it's indeed 0xC0000000 then somehow security setting got programmed into Zone1 and if you don't know the password then device can not be unlocked. You can look at your map file to check if something is mapped in Zone1 security region and then you may be able to find the value programmed by looking into hex file. You can get the password from there to unlock the Z1.


    Vivek Singh