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.

TMS320F280025C: dcsm

Part Number: TMS320F280025C

Hallo,

i want to use the dcsm faeture to safe my program written on the Flash_Bank_Sector_0 Flash_Bank_Sector_1 and Flash_Bank_Sector_2. I got a view questions:

1. In the file "dcsm_security_tool.syscfg" i can choose 3 passworts, what are they fore, why isnt there only 1 password?

2. How does the file "dcsm_security_tool.syscfg" work, because it isnt written in a main, its more like a special program where i can click on the things i need?

Thanks and kind Regards

Leon

  • Hi Leon,

    There are different feature which user can enable hence multiple passwords. If you can tell which three passwords you are referring then we'll be able to provide more detail.

    Please refer this appnote to know how to use the tool generated files.

    Regards,

    Vivek Singh

  • Let me know if you have any further queries or more update on this.

  • Hi Vivek,

    thanks for the reply. I´m referring to the Password 0, Password 1, Password 2 and Password 3 that i can program in the "ZONE1 Per LINKPOINTER" section of the "dcsm_security_tool.syscfg" file. I want to know why there are 4 Passwords and what there specific use case is?

    Thank you very much

    Leon

  • the file you send helped me a litte bit, I also want to know if i can still program the flash after setting the mode of the Sector to "Secure (Execute Only"). Because in my case it didnt work, even after setting it back to unsecure. Do you know if that´s possible?

    Regards,

    Leon

  • Leon,

    It's single 128bit password. Since there are stored in 4 32bit location, we have given them name 0/1/2/3. Hope it's clear.

    Yes, you should be able to program the flash by un securing the zone. You need to provide correct password in CCS flash plug-in GUI to be able to program the secure flash.

    Regards,

    Vivek Singh

  • Thank you Vivek,

    1.I provided the correct password and still i cant program the flash (i can see that i used the correct password, the error seems to have a different reason).

       in the consol it says:

      " C28xx_CPU1: Error during Flash Programming. Address 0x00078010, Data 0x0000A004, FMSTAT 0x00000030
         C28xx_CPU1: File Loader: Memory write failed: Unknown error
        C28xx_CPU1: GEL: File: C:\Users\LeonKanstingerBRCSol\workspace_v12\dcsm_security_tool\CPU1_RAM\dcsm_security_tool.out: Load failed."

    2. Another problem is, wheni try to debug another Program i get an instant error Massage which says:

         "Error connecting to the target:
          (Error -151 @ 0x0)
          One of the FTDI driver functions used during the connect
          returned bad status or an error. The cause may be one or
          more of: no XDS100 is plugged in, invalid XDS100 serial number,
          blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable.
          Use the xds100serial command-line utility in the 'common/uscif'
          folder to verify the XDS100 can be located.
          (Emulation package 9.5.0.00143)"

          I dont know where to find this folder and what to do with it. Maybe you got another advice for me?

          Thanks a lot for your help