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.

TMS320F2800137: DCSM

Part Number: TMS320F2800137
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

hi expert 

i used the dcsm module,locked the flash in the mcu.

when i used the another project used the same MCU, without the dcsm.cmd and dcsm.asm,i find the flash is also locked?

how to disable the dcsm module?

  • Hi Youjun,

    The DCSM module will be locked whenever the CSM passwords in OTP do not match the CSMKEYs. The CSMKEYs are programmed by the bootROM with default values, so changing the CSM passwords will cause the device to become locked whenever a device reset occurs. If you want to "disable" this unlocking on the same device, you need to update the linkpointer value in OTP so that a new zone select block will become active. A  new zone select block will contain passwords that match those programmed in the CSMKEY by the bootROM once the bootROM evaluates the new linkpointer.

    Let me know if you have any questions.

    Thank you,

    Luke

  • thanks

    As you said,when i disable the dcsm(update the linkpointer value in OTP),i can used in the current project.

    but the old project (need dcsm) should update the linkpointer value again or do not change anything in old project with the same MCU.

  • Hi Youjun,

    Now that you have updated the linkpointer, you can program new settings in the new zone select block(for a linkpointer of 0x3FFE, the active zone select block is located between addresses 0x78040 and 0x78060). This includes the CSM passwords and the GRABSECT/GRABRAM fields, which are needed to secure the memory.

    I suggest using the SysConfig DCSM tool to program these values to avoid making a mistake.

    Thank you,

    Luke