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.

TMS320F280049: DCSM LinkPointer address

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Dear c2000 expert,

I see the example code from TRM uses the 0x5F000 as LinkPointer address, can you please help me know why? And the variable, Bitpos may have a typo, because I see the later code uses "bitpos", where the first character is not caps. 

From the Figure 3-19 in TRM, the bank0 LinkPointer address are:

-0x78000 -->B0_Z1OTP_LINKPOINTER1
-0x78004 -->B0_Z1OTP_LINKPOINTER2 
-0x78008 -->B0_Z1OTP_LINKPOINTER3

  • Hi Jack,

    I see the example code from TRM uses the 0x5F000 as LinkPointer address, can you please help me know why?

    That is memory map register for link pointer. The value programmed in USER OTP (three link-pointers) get resolved in hardware when dummy read is done to those and location and final value gets updated in LINKPOINTER register which user need to read. Please note that USER OTP is secure hence those locations can not be read directly.

    Bitpos may have a typo, because I see the later code uses "bitpos", where the first character is not caps. 

    You are right. That is just a typo. We'll correct it. Please note this is just for reference. We should have driverlib function (DCSM_unlockZone1CSM) in C2000Ware (<C2000Ware>\driverlib\f28004x\driverlib\dcsm.c) which you can use in code.

    Regards,

    Vivek Singh

  • Hi Vivek,

    Thanks for your reply. But I still have little confused about the DCSM, since it has lots of differences compared with 2803x/02x families.

    1. What's the purpose of the linker pointer in OTP? When to use these link pointers in USER OTP?

    2. There are 3 OTP LINKPOINTERS, which one will be updated to link pointer register?

    3. The password is stored in OTP, therefore, the password can't be able to be changed once programed into device, isn't it? What are the advantages of storing password into OTP? In 2803x/02x device, the password stored in sector A of flash, the password can be erased and re-programed.

  • May I have further comments from yours?

  • Jack,

    I am providing reference from device TRM for these queries.

    1. What's the purpose of the linker pointer in OTP? When to use these link pointers in USER OTP?

    2. There are 3 OTP LINKPOINTERS, which one will be updated to link pointer register?

    3. The password is stored in OTP, therefore, the password can't be able to be changed once programed into device, isn't it?

    What are the advantages of storing password into OTP? In 2803x/02x device, the password stored in sector A of flash, the password can be erased and re-programed.

    OTP is not part of main flash hence it is not erased when main flash sectors are programmed/erased hence avoid the risk of leaving password in unknown values. User can still change the security setting like new password values by selecting new Zone_Select_Block location by changing the linkpointer value as explained in snapshot from TRM.

    Regards,

    Vivek Singh