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.

TMS320F28335: Including the DCSM OTP settings on project

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE

I have worked with the TMS230F280025 and for including the Dual Zone Code Security Module/OTP data TI provides two files: dcsm_lnk.cmd & dcsm_z1otp_z2otp.asm. Does anyone here know if these files are provided as well for the TMS320F28335?

  • Hi Wilson,

    Let me review the F28335 device support package and get back to you by the end of this week.

    Thansk and regards,
    Vamsi 

  • Vamsi

    It seems like this is totally different in the F28335. This MCU does not have a Dual Zone. The reason I was asking about that is because I thought that setting the F28335 to boot from flash was somehow similar but I was wrong.

    The problem that I have is that the F28335 is not booting from flash so as soon as I reset the system my application does not run. I need my application to boot from flash but so far nothing from what TI provides have work for me. I have GPIO84 to GPIO87 set high through PU resistors. In the linker file the"codestart" section is assigned to the BEGIN memory definition which is at this point is as follow:

    BEGIN       : origin = 0x33FFF6, length = 0x000002     /* Part of FLASHA. Launcher. Used for "boot to Flash" bootloader mode. */
    .
    .
    .
    codestart           : > BEGIN       PAGE = 0

    So, I don't know what else I'm missing.

    I would appreciate any advise to make the F28335 to boot from flash after reset.

    Best,

    Wilson

  • Wilson,

                    The CSM module of 28335  is vastly different (and simpler) compared to the DCSM module of F280025. You are correct that there are no dual-zones. Most important: Passwords are  stored in the Flash, not in the OTP. Therefore, there is no need for a linkpointer, since it is the same locations (in Flash) that get erased over and over again. The passwords are embedded in DSP2833x_CSMPasswords.asm in the C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f2833x\common\source directory. Please download the latest version of C2000ware, if you haven’t done so already.

    There is nothing special you need to do run the code from Flash. You have already taken care of the boot-mode-select pins. All you need to do is to use the correct linker command file. Use C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f2833x\common\cmd\F28335.cmd and you will be all set. C2000ware contains an example code that runs from Flash at C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f2833x\examples\flash_f28335.