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.

TMS320F2800132: DCSM Module configuration

Part Number: TMS320F2800132
Other Parts Discussed in Thread: SYSCONFIG, UNIFLASH

Tool/software:

I have following doubts, regarding DCSM module 
Based on my understanding, there are several ways to configure the DCSM module: 
* Via Debug Configurations: You can set configurations under Debug Configurations > Target > Flash Settings.
* Using the DCSM Tool: This tool provides specific options for configuring the DCSM module.
* Employing UnFlash Settings & Utilities: This method involves using specific utilities for flash settings. 
Question 1: If we configure the DCSM module using multiple methods simultaneously, what will be the resulting configuration?
Question 2: I have to use only .out file, and want to disable all other options. Is there any provision to disable other options ?
Question 3: Is it possible to program same Zone Select Block (Say Zone_Select_Block0) multiple times, if we continue same FLASH passwords & JTAG passwords ?
Question 4: Is it possible to unlock the MCU, if we have both the FLASH and JTAG passwords, but do not have the current link pointer?
Question 5: Even if we use the same FLASH and JTAG passwords when moving to the next LINKPOINTER, is it necessary to update the TargetConfiguration JLM passwords as well? 
This is because certain digits of CSMPSWD1 and JTAGPSWDL1 change for each Zone_Select_Block

  • Hello.

    1. You can use multiple methods to program the DCSM module, not all of your settings have to come from a single method.

    2. What do you mean by "other options"?

    3. Yes

    4. No, you must provide the linkpointer to the tool you are using to unlock DCSM or read from the correct CSMPSWD address associated with the current linkpointer. However, a trial and error approach can be used if the linkpointer is unknown since there are only 15 possible linkpointer values.

    5. Depending on your JTAG and CSM passwords, you may need to change some digits when moving to a new zone select block, since each zone select block has different bits pre-programmed to a 0 for the passwords.

    Thank you,

    Luke

  • Question 2: I have to use only .out file, and want to disable all other options. Is there any provision to disable other options ?

    When using the .out file from the DCSM tool to configure FLASH and JTAG passwords, what values should be assigned to respective "UnFlash Settings & Utilities" and "Debug Configurations > Target > Flash Settings" to disable these options? Should I set them to "0xFFFFFFFF" or "0x00000000"?
  • Hi Sharafudheen,

    I will get back to you tomorrow on this issue.

    Thank you,

    Luke

  • Hi Sharafudheen,

    The default values in OTP correspond with the options being disabled.

    To clarify, do you want to enable JTAGLOCK and secure the entire flash? If so, you can easily generate a .out file that does this by using the SysConfig DCSM Tool. If you're not using SysConfig then please refer to the TRM to understand what values should be programmed in the CSMPSWD, GRABSECT, JLM_ENABLE and JTAGPSWD fields.

    Thank you,

    Luke

  • Dear sir,

    When using the UniFlash tool to program with a .out file that includes configuration settings
    generated by the SysConfig DCSM Tool, are any extra steps needed to override the default settings
    in UniFlash? Or does loading the .out file into UniFlash automatically configure these settings?


    Regards,

    Sharafudheen

  • Hi Sharafudheen,

    All of the settings would come from the .out file. However you may need to disable the reset and verify options in the Uniflash tool to prevent programming errors. You can disable verify on the OTP contents only if you program in two steps:

    1. Program only the OTP with reset disabled
    2. Program the flash but not the OTP with reset enabled

    You must use the Range avoidance feature to perform the steps above. I am not sure if this feature is available in Uniflash but it is available in the CCS On-Chip flash tool.

    Thank you,

    Luke