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.

CCS/TMS320F28374S: CCS/TMS320F28374S:

Part Number: TMS320F28374S
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Code Composer Studio

it is not possible to override the default value of the OTPBOOTCTRL-register with the Command Line Interface (DSLite.exe).

After power off and power on, the register has the default value again.

It works only with the Uniflash software 5.1.0 manually.

I need  to programm this register with a batch file started from my testsoftware (Keysight-VEE).

  • here a part of the outputfile from DSLite.exe with the right value of OTPBOOTCTRL=0x5F550B5A
    DSLite version 9.2.0.1723
    Configuring Debugger (may take a few minutes on first launch)...
     Initializing Register Database...
     Initializing: IcePick_C_0
     Executing Startup Scripts: IcePick_C_0
     Initializing: C28xx_CPU1
     Executing Startup Scripts: C28xx_CPU1
     Initializing: CPU1_CLA1
     Executing Startup Scripts: CPU1_CLA1
    Connecting...
    C28xx_CPU1: GEL Output:
    Memory Map Initialization Complete
    --- Settings ---
    - Z1OTPBOOTCTRL = 0x5F550B5A
    Loading Program: M3000_V2_51_M3000.out
     Preparing ...
     .ti_catalog_c2800_initF2837x_begin: 0 of 4 at 0x80000
    Erasing Flash
     Erasing Bank 0, Sector A
     Erasing Bank 0, Sector B: 6%
     Erasing Bank 0, Sector C: 13%
     Erasing Bank 0, Sector D: 20%
     Erasing Bank 0, Sector E: 26%
     Erasing Bank 0, Sector F: 33%
  • Hello,

    Can you provide the exact parameters that you are passing into dslite? If you are using a generated standalone package, please provide the "generated.ufsettings" in the standalone package.

    Thanks

    ki

  • Hello,

    i am using the following Parameters:

    C:\ti\uniflash_5.1.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite flash -c tms320f28374s.ccxml -l otp_options.txt -s Z1OTPBOOTCTRL=0x5F550B5A -S Z1OTPBOOTCTRL -e -f -v M3000_V2_51_M3000.out > J:\Kunden\Badger_Meter\CoilDriver_DSP\temp\res_DSLite.txt

    thanks

    George

  • Hi,

    attached the Content of the file "generated.ufsettings"

    {"Texas Instruments XDS100v3 USB Debug Probe/C28xx_CPU1":{"Z1OTPBOOTCTRL":"5F550B5A"}}

  • Georgios Butakis said:
    C:\ti\uniflash_5.1.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite flash -c tms320f28374s.ccxml -l otp_options.txt -s Z1OTPBOOTCTRL=0x5F550B5A -S Z1OTPBOOTCTRL -e -f -v M3000_V2_51_M3000.out > J:\Kunden\Badger_Meter\CoilDriver_DSP\temp\res_DSLite.txt

    You are missing the proper operation to program OTPBOOTCTRL

    Georgios Butakis said:
    -s Z1OTPBOOTCTRL=0x5F550B5A

    All this does is set the value. You need to specify the operation to program it.

    Try this option below:

    C:\ti\uniflash_5.1.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite flash -c tms320f28374s.ccxml -l otp_options.txt -s Z1OTPBOOTCTRL=5F550B5A -e -f -v M3000_V2_51_M3000.out -a Z1OTPBOOTCTRLProgram  > J:\Kunden\Badger_Meter\CoilDriver_DSP\temp\res_DSLite.txt

    Note the item in bold which you are missing in your command.