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: Error Renaming Project - again

Other Parts Discussed in Thread: CC2650

Tool/software: Code Composer Studio

I am unable to rename my project that started out as a SimpleLink Academy ProjectZero.

There is no preview available when I right-click rename it (ccs 7.0.0.00042):

So, I continue with an 'OK' and get a 'nil argument' exception:

And when I click OK, the workspace is completely screwed up and I get this:

I click OK, and nothing works until I delete all three projects from workspace (including from disk) and re-import the project from my zipped archive.

Any ideas on this rename issue?

Thanks,

Dale

  • Dale,

    I can't seem to reproduce this on my CCS 7.0. I imported the ProjectZero projects from SimpleLink Academy and renamed the project_zero_app_cc2650launchxl without any errors. One thing I found surprising in your screenshots is that the Project Explorer view shows both project_zero_app_cc2650launchxl and HaloLogger, when I would only expect only one of them to be there (project_zero_app_cc2650launchxl before the Rename and HaloLogger after the Rename) . 

    Have you tried importing to a new workspace to see if that helps?

  • Same error on import to a new workspace.

    That HaloLogger appeared on 2nd image, when the error appeared. It looks to me like the process was interrupted and left things in a incomplete state rather than reverting to original state.

    I can email you my 5mb archive if you give me a address.

    Dale
  • Hi Dale,

    I encounter the same problem. The TI BLE Engineer recommends not to rename the example program at CCS. What is recommended is to rename it at projectspec.

    What I do instead is right click copy the CCS Project and paste. It compiles without errors.

    - kel
  • Hi kel,

    Sorry but I am pretty much a beginner and although I found a wiki on projectspec ( )  , it is pretty much greek to me.

    Perhaps a bit more of a roadmap?

    I found a projectSpec.xsd file in the schema directory but couldn't figure out how to import it to css gui as the import wizard for css projects does not recognize it.

    EDIT: I am guessing that is just a template but this looks way too advanced for me, just to rename my project ;(

    Thanks,

    Dale

  • Hi,

    The Project Zero projectspec can be found here. C:\ti\simplelink_academy_01_11_00_0000\modules\projects\ble_projectzero\ccs\desktop.

    Modify the name="project_zero_app_cc2650launchxl". Delete project zero at CCS then import it again. I have not done this but TI BLE Engineer recommends this.

    - kel
  • But then wouldn't I will have to make all the changes to that code I have made in the last two weeks in my project, omg!

    Dale
  • Hi Dale,

    Re-post this at TI BLE Forum to get more expert advice. I have not done renaming for Project Zero, but I have done copy and paste other BLE stack example programs, which when you paste prompt you to change to CCS Project Name.

    - kel
  • Thanks kel,

    I reposted here:

  • kel,

    In the meantime:

    1. I created a new workspace
    2. I imported the projectspec version of ProjectZero from SimpleLink Academy on my hard disk
    3. I right click renamed both projects in ccsv7 without errors

    But then AartiG said he did that without the projectspec version.

    Looks like I only have to overwrite a few files to bring it up to date but I am unsure of how to make each of the two project properties the same as I am using now, is there an easy way to do that?

    Dale

  • AND, I get this error when I build:

    Buildfile generation error occurred..
    Referenced project 'project_zero_stack_cc2650' does not exist in the workspace. Project 'HaloLogger' may not build as expected.
    Build stopped..

    I suspect it is likely in the . files the workspace creates.

    I was able to eventually rename enough things to make mine work and I could not even explain it all again.  And then I had to put all my modified code back into it.

    Someone needs to write a book on how to rename all the folders, . files and references in them.  To me I even had a question about whether I needed to rename in places where I ultimately decided not to because it was referencing what the actual source of the code was (I think).

    So, until I see that book, I will leave this unanswered ;)

  • Hi Dale,

    BLE Projects have 2 parts the App and Stack. You need to program both to CC2650 Launchpad. Refer to the guide.

    www.ti.com/.../swru393d.pdf

    You can also use the TI SmartRF Flash Programmer 2 to program both App and Stack HEX Files. You need to enable HEX Generation Utility for both CCS Projects.

    - kel