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 code examples

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Hello,
is there any C code example for the DCSM in the C2000ware?

Regards, Holger

  • Hi Holger,

    We have one based on security tool (SysConfig) in C2000Ware (driverlib\f28004x\examples\dcsm).

    Regards,

    Vivek Singh

  • this is an empty/template project. Sysconfig will generated dcsm.asm config files. Where is this configuration executed in main program?
    Is there no c file from other C2000?

    Regards, Holger

  • Holger,

    You can start from one of the projects in the folder:

    OR you can use: 

    The code that gets generated by sysconfig will automatically take place in the build of the project.

    If C code is generated, you can call the needed functions like Board_init (pinmux and peripheral initialization)

    Nima

  • Hello Nima,
    customer has a ready project and wants to secure some flash sections now. So he has to generate the DCSM files from this empty project and copy them to his project. Does he has to use driverlib or is there a solution without? I'm not sure if he already use it or want to use it.

    Regards, Holger

  • Well the project is driverlib based BUT the generated files are not. It is a CMD and ASM file. You can copy them and paste them into your own project.

    Nima