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/CC3220SF-LAUNCHXL: Proper method to copy/clone a UniFlash project.

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

What is the proper method to copy and/or clone a UniFlash project.

I've copied and renamed a project directory.  Then I realized I needed to rename some files in the directory for UniFlash to see them.

Is that enough? Or are there still directory references elsewhere that need cleaned up?

  • Please see this related post. The recommended way is to export/import the project from Manage Projects menu.

  • I'm trying to clone a project on one machine, i.e. make a copy with a different name. The method above doesn't work as the import wants to overwrite the existing project.
  • OK, I figured out a round-about way of doing this.  It seems pretty obvious now, but it's not intuitive because there is no single step way of cloning a project.

    Assuming you start with a UniFlash project named "MyProject".

    First export the project to a .ZIP file.  It doesn't matter what you name the zip file the project name in the zip file will still be "MyProject".

    Second, rename the existing "MyProject" file to something else, i.e. "MyProjectProduction".

    Third, import the zip file.  After the import completes you will have another project named "MyProject".

    Fourth, rename "MyProject" to whatever you want, i.e. "MyProjectTesting".

    Finally you could rename the original project back to "MyProject" or just keep the new name.

  • I checked with an expert, and a simpler way to clone a project is via command line using dslite. Please see Chapter 6 and specifically section 6.1.7 of the UniFlash CC31xx, CC32xx ImageCreator and Programming Tools Users Guide

    Basic command:
    project clone --name PROJECT_NAME --new NEW_PROJECT_NAME

    As an example, to clone a project named MyProject to MyProjectTest:

    c:\ti\uniflash_4.4.0>dslite.bat --mode cc32xx project clone --name MyProject --overwrite --new MyProjectTest

  • This is a much better solution! And it works from the command line which makes it even better.