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
I