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.

UNIFLASH: Using Command Line Option

Part Number: UNIFLASH


Hello E2E Experts

Good day.

We can successfully operate what we want to do with the Uniflash windows application which is Board reset((free run) see below.

We are looking for an option to do it in the command line.

I am aware of this documentation: https://software-dl.ti.com/ccs/esd/uniflash/docs/v5_0/quick_start_guide/uniflash_quick_start_guide.html

but neither the d documentation nor the dslite activation provides the right option how to reset the board using the reset option Board (Runfree)

dslite.bat -c user_files/configs/cc1352r1f3.ccxml -l user_files/settings/generated.ufsettings -R

Response is:

--- Available Reset Operations ---
0. CPU Reset
1. System Reset
2. Board Reset (automatic connect/disconnect)

We need the Board (Runfree) option because this is the only option to reset the board and make the board respond in power down mode to pressing a button .

Thank you in advance.

Regards,

CSC

  • hmm... I see the same behavior. I'll need to follow up with UniFlash engineering. I'll kep you posted of any updates as I get them.

    Thanks

    ki

  • CSC,

    I looked at this a bit, and it seems the "Board Reset (free run)" option is only available before connecting to the device. And since the default command line behaviour is to connect to the device automatically, that reset option is not list.

    One thing you can do is to modify the default behaviour by editing the flash.dsls script (open in a text editor) available in <installDir>\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\scripts\ and remove the following line:

      {"command":"targetState.connect"}

    After removing this line, I was able to see the following resets when using the -R argument:

    --- Available Reset Operations ---
            0. System Reset
            1. Board Reset
            2. Board Reset (free run)
            3. Board Reset (automatic connect/disconnect)
            4. Reset Emulator

    And then you should be able to use "-r 2" to issue the "Board Reset (free run)".

    Please let me know if this works for you.

    Thanks,

    Ricky

  • Hello Ricky,

    A good day.

    This option indeed allows me to use the run free option. However the programming and writing to the flash does not work. 
    Currently we can copy the right flash.dsls to its location according to the action we are going to us. Is this your recommendation or we have a better solution?
    Regards,
    CSC
  • This option indeed allows me to use the run free option. However the programming and writing to the flash does not work. 

    Is the goal to execute a "board reset - free run" AFTER the target is flashed?