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 5.1.1 issue

Other Parts Discussed in Thread: MSP430G2231

 Hi, I am learning how to use new 5.1 CCS, my final goal is to use Linux version this moment appear not usable on Stellaris series.

 After a lot of issue on 5.1.0 I decided to try win version, so I got Board example compiled, then to solve different version release I got all processor  all board  Stellarisware pack.. new trouble come out:

 - Windows version as usual is more slow and unstable too.. but we need progress on learning of family and CCS usage.

 - Setup a new workspace to avoid interference, I imported the project from board specific example then  on clean I got these errors:

 **** Build of configuration Debug for project sd_card ****

C:\ti\ccsv5\utils\bin\gmake -k all
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/boards/rdk-idm/sd_card/startup_ccs.c', needed by `startup_ccs.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/utils/cmdline.c', needed by `utils/cmdline.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/utils/locator.c', needed by `utils/locator.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/utils/lwiplib.c', needed by `utils/lwiplib.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/utils/swupdate.c', needed by `utils/swupdate.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/utils/uartstdio.c', needed by `utils/uartstdio.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/utils/ustdlib.c', needed by `utils/ustdlib.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/third_party/fatfs/src/ff.c', needed by `third_party/fatfs/src/ff.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/third_party/fatfs/port/mmc-rdk-idm.c', needed by `third_party/fatfs/port/mmc-rdk-idm.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/boards/rdk-idm/drivers/formike240x320x16_ili9320.c', needed by `drivers/formike240x320x16_ili9320.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/boards/rdk-idm/drivers/touch.c', needed by `drivers/touch.obj'.
gmake: *** No rule to make target `C:/ti/ccsv5/eclipse/SW_ROOT/boards/rdk-idm/sd_card/sd_card_ccs.cmd', needed by `sd_card.out'.
gmake: Target `all' not remade because of errors.

**** Build Finished ****

 Second try: check box automatically import referenced project unset, on import a popup say issue on import see details:

See details below.
  Problems encountered while deleting resources.
    Error deleting resource '/scribble/scribble.c' from the workspace tree.
      Could not write file: C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project.
      C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project (Access is denied)

 All workspace subdirectory and files are read only, no way to remove write protect, I am the owner of files and still administrator of this area so why I don't have right to? CCS issue?

 Why sometimes it work other not? On old stellaris build (5961, 7611, 8264) compilation was succesful, importing from new 8555 report this error.

 Files In the stellarisware are on a shared folder on a Linux disk, I am the owner and all files are at almost rw or RWX, full access on folders and every file is rw on shared folder too but trouble is in winzz disk on my own area.

 I like to use CCS but also this one has too many threat on Stellaris compiler so at today 18 day after first installation still I am not productive on.

 Evaluation of all other IDE terminated by no demo version or due to high cost so the only affordable compilers are gcc when makefiles get fixed, crossstudio from Rowley offer a 150US$ license for personal use, CCS 435US$, it is not cheap but not so far as others and is just one license for all TI family.

 Code limited version of IAR and CCS cover more than educational and personal work on MSP430, some DSP and C2xxx series, Stellaris from now appear as a nightmare on every compilers I try'd.

 Regards

 Roberto

  • Roberto,

    My guess is that you are importing the project using File->Import->General->Existing Projects into Workspace. This is not the recommended method for importing CCS projects, and will result in the types of errors you have seen. Instead please use File->Import->Code Composer Studio->Existing CCS/CCE Eclipse Projects. Another way to accesss it is from menu Project->Import Existing CCS/CCE Eclipse Project.

    I just verified this process with Stellarisware version 8555 and it builds fine.

    There is a Stellaris Quickstart guide in this page which might be helpful if you are new to CCS, and although written for CCSv4 most of the material applies to v5 as well.

  • AartiG said:
    Another way to accesss it is from menu Project->Import Existing CCS/CCE Eclipse Project.

     This is the way I imported..

     Waiting for Linux I loaded CCS on XP SP2 platform. It MUST remain SP2 on SP3 too much is not working so I wait till Linux release come out. On first with intermixed board Stellarisware on XP I got success, when I Installed latest all board I got this threat.

     I try delete project:

    Problems encountered while deleting resources.
      Could not delete '/scribble/drivers'.
        Problems encountered while deleting resources.
          Could not write file: C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project.
          C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project (Access is denied)
      Error deleting resource '/scribble/scribble_ccs.cmd' from the workspace tree.
        Could not write file: C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project.
        C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project (Access is denied)
      Error deleting resource '/scribble/startup_ccs.c' from the workspace tree.
        Could not write file: C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project.
        C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project (Access is denied)
      Could not delete '/scribble/utils'.
        Problems encountered while deleting resources.
          Could not write file: C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project.
          C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble\.project (Access is denied)
      Could not delete 'C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\scribble'.

     I try import another project:

    Project->Import existing CCS/CCE project, result:

    See details below.
      Problems encountered while deleting resources.
        Error deleting resource '/qs-keypad/fs_qs.c' from the workspace tree.
          Could not write file: C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\qs-keypad\.project.
          C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\qs-keypad\.project (Access is denied)

     

    AartiG said:

    There is a Stellaris Quickstart guide in this page which might be helpful if you are new to CCS, and although written for CCSv4 most of the material applies to v5 as well.

     And this is where I started from, some things changed and there where no reference. Changed setting are not so much so I checked by setting or not.

     Regards

     Roberto

  • Roberto Romano said:
    Problems encountered while deleting resources.
        Error deleting resource '/qs-keypad/fs_qs.c' from the workspace tree.
          Could not write file: C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\qs-keypad\.project.
          C:\Documents and Settings\Roberto\workspace_v5_1\NoAutoref\qs-keypad\.project (Access is denied)

    From the message it seems like an issue with writing to the .project file in the project folder. Can you check permissions of your project folder and make sure it is writable?

    Can you try opening a new workspace in a different folder such as c:\workspace and try importing those projects again?

  •  Are you microsoft taught?

     On an expensive product with premium assistance they answered six mount later sayng.. yes your code really appear in that condition... :(((

     Ok again another workspace same ISSUE, this is the issue!!!

    See details below.
      Problems encountered while deleting resources.
        Error deleting resource '/lang_demo/lang_demo.c' from the workspace tree.
          Could not write file: C:\Documents and Settings\Roberto\sillywhy\lang_demo\.project.
          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.project (Access is denied)

     More clever understanding of threat? I am file owner, on preceding board example version was ok, file are read write, forced by attrib nothing change...

     What can happened to code?

     Directory of C:\Documents and Settings\Roberto\sillywhy

    02/23/2012  12:37 AM    <DIR>          .
    02/23/2012  12:37 AM    <DIR>          ..
    02/23/2012  12:35 AM    <DIR>          .metadata
    02/23/2012  12:37 AM    <DIR>          lang_demo
                   0 File(s)              0 bytes
                   4 Dir(s)   3,895,410,688 bytes free

    C:\Documents and Settings\Roberto\sillywhy>cd lang_demo

    C:\Documents and Settings\Roberto\sillywhy\lang_demo>attrib
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.ccsimportspec
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.ccsproject
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtbuild
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtbuild_initia
    l
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtproject
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cproject
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.project
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.project_initial

               C:\Documents and Settings\Roberto\sillywhy\lang_demo\macros.ini
               C:\Documents and Settings\Roberto\sillywhy\lang_demo\target_config.cc
    xml

    C:\Documents and Settings\Roberto\sillywhy\lang_demo>

     Regards

  • Hi,

    Roberto Romano said:


    C:\Documents and Settings\Roberto\sillywhy\lang_demo>attrib
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.ccsimportspec
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.ccsproject
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtbuild
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtbuild_initia
    l
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtproject
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cproject
        H      C:\Documents and Settings\Roberto\sillywhy\lang_demo\.project
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.project_initial

               C:\Documents and Settings\Roberto\sillywhy\lang_demo\macros.ini
               C:\Documents and Settings\Roberto\sillywhy\lang_demo\target_config.cc

    According to Aarti's suggestion, critical files in your project are being blocked from deletion or protected. I see several are marked as hidden. Try unhiding them using attrib.

  • attrib -h *

    thats the issue and then issue still remain, project no more open, import another one:

    See details below.
      Problems encountered while deleting resources.
        Error deleting resource '/qs-keypad/fs_qs.c' from the workspace tree.
          Could not write file: C:\Documents and Settings\Roberto\sillywhy\qs-keypad\.project.
          C:\Documents and Settings\Roberto\sillywhy\qs-keypad\.project (Access is denied)


    C:\Documents and Settings\Roberto\sillywhy\lang_demo>attrib -h *

    C:\Documents and Settings\Roberto\sillywhy\lang_demo>attrib *
               C:\Documents and Settings\Roberto\sillywhy\lang_demo\.ccsimportspec
               C:\Documents and Settings\Roberto\sillywhy\lang_demo\.ccsproject
               C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtbuild
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtbuild_initia
    l
               C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cdtproject
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.cproject
               C:\Documents and Settings\Roberto\sillywhy\lang_demo\.project
    A          C:\Documents and Settings\Roberto\sillywhy\lang_demo\.project_initial

               C:\Documents and Settings\Roberto\sillywhy\lang_demo\macros.ini
               C:\Documents and Settings\Roberto\sillywhy\lang_demo\target_config.cc
    xml

     Something useful to remove this? COmpiler create these files so if problem come from there CCS has to be fixed in some way. What can I try?

  • Roberto,

    Could you please try the following:

    - Start CCS and whem prompted for workspace, specify a simple directory like c:\workspace (you can delete this folder later if you wish)
    - Make sure you have full write access to this directory
    - After CCS comes up, import an example project and build.

    Let us know if this works.

  •  Hi AartiG, I am afraid about this, again the same... I think this come from stellarisware 8555 version, so I try reinstall old version in a different folder than stellaris and I try again:

    See details below.
      Problems encountered while deleting resources.
        Error deleting resource '/enet_lwip/enet_lwip.c' from the workspace tree.
          Could not write file: C:\workspace\enet_lwip\.project.
          C:\workspace\enet_lwip\.project (Access is denied)

     Importing an MSP 430 exemple it work:


    **** Build of configuration Debug for project msp430g2xx1_ta_uart9600 ****

    C:\ti\ccsv5\utils\bin\gmake -k all
    'Building file: ../msp430g2xx1_ta_uart9600.c'
    'Invoking: MSP430 Compiler'
    "C:/ti/ccsv5/tools/compiler/msp430/bin/cl430" -vmsp --abi=coffabi -g --include_path="C:/ti/ccsv5/ccs_base/msp430/include" --include_path="C:/ti/ccsv5/tools/compiler/msp430/include" --define=__MSP430G2231__ --diag_warning=225 --display_error_number --printf_support=minimal --preproc_with_compile --preproc_dependency="msp430g2xx1_ta_uart9600.pp"  "../msp430g2xx1_ta_uart9600.c"
    'Finished building: ../msp430g2xx1_ta_uart9600.c'
    ' '
    'Building target: msp430g2xx1_ta_uart9600.out'
    'Invoking: MSP430 Linker'
    "C:/ti/ccsv5/tools/compiler/msp430/bin/cl430" -vmsp --abi=coffabi -g --define=__MSP430G2231__ --diag_warning=225 --display_error_number --printf_support=minimal -z -m"msp430g2xx1_ta_uart9600.map" --stack_size=50 --heap_size=0 -i"C:/ti/ccsv5/ccs_base/msp430/include" -i"C:/ti/ccsv5/tools/compiler/msp430/lib" -i"C:/ti/ccsv5/tools/compiler/msp430/include" --reread_libs --warn_sections --rom_model -o "msp430g2xx1_ta_uart9600.out"  "./msp430g2xx1_ta_uart9600.obj" -l"libc.a" "../lnk_msp430g2231.cmd"
    <Linking>
    'Finished building target: msp430g2xx1_ta_uart9600.out'
    ' '

    **** Build Finished ****



  •  Still version 7611 no more work...

    See details below.
      Could not write file: C:\workspace\enet_ptpd\.project.
      C:\workspace\enet_ptpd\.project (Access is denied)

     Just Stellarisware cannot be imported, but before to install 8555 was fine... I am confused on what can fire this strange issue...

     Can I try some more deep diagnosis to locate ?

    --------------------------------------------------------------------------------

    Update:

     I made a local copy from network, so everything was readable and writable too, project imported fine, when it come from a network drive this problem appear.

     On network drive it where one link to another directory, when I removed link problem disappeared, I imported one project but I get a lot of error when build project hit.

     I try more on this direction, for linked directory I can create a share. This link was in place for more than a year so no clean reason... May be some windows problem.

     Can I partecipate to Beta test of Linux version?

     Regards



  •  

    AartiG said:

    Roberto,

    Could you please try the following:

    - Start CCS and whem prompted for workspace, specify a simple directory like c:\workspace (you can delete this folder later if you wish)
    - Make sure you have full write access to this directory
    - After CCS comes up, import an example project and build.

    Let us know if this works.

     Hi, I isolated source of Issue, when project and workspace drive are different this problem appear,

     copy of files to same drive of workspace from networked work fine (c: c:).

     Also creating a workspace on network drive where stellarisware reside work fine (x: x:).

     I created another local drive on a spare partition,  having workspace and stellarisware on different drive do the same (c: e:).

     Test run on win XP SP2.

     Can I do some other test to help isolate more in detail?

     Regards

     Roberto