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.

Compiler/CCSTUDIO: Integration of C2000Ware 1.00.06.00 into Code Composer Studio (V8)

Part Number: CCSTUDIO
Other Parts Discussed in Thread: C2000WARE, TMS320F28379D

Tool/software: TI C/C++ Compiler

Hi guys,

Currently running CCS (v8) using C2000Ware version 1.00.05.00.

Just noticed an update to C2000Ware version 1.00.06.00 is currently

available. Downloaded and installed at c:\ti  folder but not through

CCS/help-->check for updates...

I'd like to integrate it to CCS and have the newer version of

C2000Ware 1.00.06.00  to be used instead of the old. So far have not

been successful to do that. Would appreciate any help on this

integration of new versions into CCS.

Thanks,

Saleh

  • Hi,

    go to Windows -> Preferences -> CCS -> Products windows and hit Rediscover.
    If your "Product discovery path:" settings, at top right of the window, are o.k.
    new C2000Ware should be found.
    On the bottom of the window there is a check box: Search for a new installable ...
    Is it marked ON?
  • Hi Tom,

    I appreciate the reply. Honestly I'm not following you here...
    The desktop I'm using for CCS runs on Windows 10
    (version 10.0.17134 Build 17134). You mentioned Windows ->
    Preferences ... Not sure what you have meant there? What
    Preferences? Sorry for any misunderstanding.

    Cheers,
    Saleh
  • Saleh Elmohamed said:
    You mentioned Windows ->
    Preferences ...

    CCS menu. 

  • On CCS menu: windows -> preferences -> products will give a couple windows:
    product discovery path and installed products.
    the product discovery path contains a couple items:
    C:/ti
    C:/Program Files (x86)/Texas Instruments

    and both are checked. Do I need to include additional paths in
    there? Looks like in the installed products window under C2000Ware,
    the first item is: 1.06.00 [C:/ti/c2000/C2000Ware_1_00_06_00]
    the second item is 1.0.5.00 [C:/ti/c2000/C2000Ware_1_00_05_00]
    and few others listed afterward.
    I did click on rediscover... "apply" then "apply close" then re-start
    the CCS ... Tried rebuilding a project but noticed no change. Still was
    using 1.00.05.00 version.... I suspect some path is missing perhaps??

    -Saleh
  • Also just tried the App update C2000Ware ... there it tells
    me that I need to install the new version of C2000Ware via
    a popup window with an option of "yes download and install
    version 1.00.06.00"
    Ok'ng on that to the update wizard to download
    and install, unfortunately it fails by saying that "C2000Ware installer
    was either interrupted or failed download"...
    I tried that few times but to no avail. But did downloaded and installed
    earlier but through the browser. Looks won't allow a download
    directly from CCS for some reason... Any thoughts?
  • Did you tried Rediscover?
  • If you are looking to use C2000Ware 1.00.06 in Resource Explorer then this is not going to work. Currently the latest version available to Resource Explorer is 1.00.05. You can download and install 1.00.06 and discover it like Tomasz has suggested. That will enable it to be used by CCS projects but it will not enable it to show up in Resource Explorer.

    I can check with the C2000 team on when the 1.00.06 version will be uploaded to Resource Explorer.

    Regards,
    John
  • Looks like 1.00.06 was released yesterday and will be available on Resource Explorer later today.

    Regards,
    John
  • Hi John,

    I appreciate it and thanks for your help in this regard. I noticed it at RE
    few minutes then immediately did a download for an update. Restarted
    CCS afterward then tried building a project. Unfortunately, looking at
    the build log still stuck at 1.00.05.00 version. Any idea on fixing that?
    (as previously suggested by Tom) I also tried at CCS menu:
    windows -> preferences->CCS->products:

    Noticed at installed products window 1.00.06.00 under C2000Ware
    so did the rediscover few times. Applying and then restarting didn't
    solve the problem. Still stuck at the old version.
    Maybe I should uninstall then re-install again and see. Any thoughts
    on how I might handle these updates. Also is is advisable to keep
    around the old versions or better to first get rid of them before
    going to newer updates. I have noticed that still have the previous
    versions listed there.

    Thanks again,
    Saleh
  • I tried that... still not working and stuck at 005 version
    as of now. Will try few other things and see.

    Thanks Tom and really appreciate it.
  • Addendum:
    Also just noticed that on the products window: the product discover path contains
    three checked items listed in the following order:
    C:/ti
    C:/Program Files (x86)/Texas Instruments
    C:/ti/c2000/C2000Ware_1_00_06_00

    and the installed products window:

    Automotive Toolbox
    C2000Ware
    1.0.6.00 [C:/ti/c2000/C2000Ware_1_00_06_00]
    1.0.5.00 [C:/ti/c2000/C2000Ware_1_00_05_00]
    1.0.4.00 ...
    ...
    I did "Rediscover" few times there then "apply" and
    "Apply and close".

    My concern is that I might be missing path link
    to the new version and just keep going to the old
    version. Any ideas?

    Thanks again,
    Saleh
  • Saleh,

    There is a list of software products and versions that CCS is aware of on your machine.  That is the list in the Products section in the Preferences dialog.

    Then each project will store which specific products and versions it wants to use.  The project doesn't store locations.  At build time CCS will populate the locations based on the products that it is aware of.  This is so that different team members can have them in different locations.

    So if you have a project that you imported before it will be set to use the version it was imported from.  It won't automatically switch to use the newer one.  You will have to go into the properties of the project and change it to use the new one.

    For example here I have a project that I imported from 1.0.5.  I can change it to use 1.0.6

    Regards,

    John

  • Hi John,

    I really appreciate your help on all this but still unfortunately have not resolved
    my problem. Perhaps I might have even introduced more problems there. I followed
    as you suggested. For example I already have several projects that were running all fine.

    Taking a look at one of them (adc_epwm_cpu01) & (adc_epwm_cpu02).

    Under the same setting, building adc_epwm_cpu01 will lead to a number of bugs
    while adc_epwm_cpu02 will successful build. Here is the log of it on the console:

    =========Begin Log========

    **** Build of configuration CPU1_RAM_DEBUG for project adc_epwm_cpu01 ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_EPwm.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_EPwm.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_EPwm.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_EPwm.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Gpio.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Gpio.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Gpio.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Ipc.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Ipc.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Ipc.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Ipc.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieVect.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieVect.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieVect.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_usDelay.asm"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/examples/dual/adc_epwm/cpu01/adc_epwm_cpu01.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="adc_epwm_cpu01.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/examples/dual/adc_epwm/cpu01/adc_epwm_cpu01.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/examples/dual/adc_epwm/cpu01/adc_epwm_cpu01.c"

    Building target: "adc_epwm_cpu01.out"
    Invoking: C2000 Linker
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number -z -m"adc_epwm_cpu01.map" --heap_size=0x400 --stack_size=0x400 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/cmd" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="adc_epwm_cpu01_linkInfo.xml" --rom_model -o "adc_epwm_cpu01.out" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_EPwm.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./adc_epwm_cpu01.obj" -lrts2800_fpu32.lib -l2837xD_RAM_lnk_cpu1.cmd -lF2837xD_Headers_nonBIOS_cpu1.cmd
    <Linking>
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<bo
    ot28.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2800" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<cp
    y_tbl.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<ex
    it.obj>" specifies ISA revision "C28FPU32", which is not compatible with ISA
    revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<fs
    _add28.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<fs
    _cmp28.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<fs
    _div28.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<i_
    tofs28.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<ll
    _aox28.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<me
    mcpy.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<me
    mset.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<pr
    e_init.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<st
    artup.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<u_
    tofs28.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<ul
    _tofs28.obj>" specifies ISA revision "C28FPU32", which is not compatible
    with ISA revision "C2700" specified in a previous file or on the command
    line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<_l
    ock.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2700" specified in a previous file or on the command line
    error #16008-D: file
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<ar
    gs_main.obj>" specifies ISA revision "C28FPU32", which is not compatible
    with ISA revision "C2700" specified in a previous file or on the command
    line
    error #10010: errors encountered during linking; "adc_epwm_cpu01.out" not
    built

    gmake: *** [adc_epwm_cpu01.out] Error 1
    >> Compilation failure
    makefile:151: recipe for target 'adc_epwm_cpu01.out' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

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

    While a build of the same project for cpu02 (adc_epwm_cpu02):

    **** Build of configuration CPU2_RAM for project adc_epwm_cpu02 ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Adc.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_Adc.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Adc.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Adc.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Gpio.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Gpio.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Gpio.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Ipc.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_Ipc.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Ipc.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_Ipc.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieVect.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieVect.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_PieVect.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/source/F2837xD_usDelay.asm"

    Building file: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/examples/dual/adc_epwm/cpu02/adc_epwm_cpu02.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 --preproc_with_compile --preproc_dependency="adc_epwm_cpu02.d_raw" "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/examples/dual/adc_epwm/cpu02/adc_epwm_cpu02.c"
    Finished building: "C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/examples/dual/adc_epwm/cpu02/adc_epwm_cpu02.c"

    Building target: "adc_epwm_cpu02.out"
    Invoking: C2000 Linker
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 -g --define=CPU2 --display_error_number --diag_suppress=1311 --diag_warning=225 -z -m"adc_epwm_cpu02.map" --heap_size=0x400 --stack_size=0x400 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/cmd" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="adc_epwm_cpu02_linkInfo.xml" --rom_model -o "adc_epwm_cpu02.out" "./F2837xD_Adc.obj" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./adc_epwm_cpu02.obj" -lrts2800_fpu32.lib -l2837xD_RAM_lnk_cpu2.cmd -lF2837xD_Headers_nonBIOS_cpu2.cmd -llibc.a
    <Linking>
    Finished building target: "adc_epwm_cpu02.out"

    **** Build Finished ****

    =========End Log========

    The linking somehow got screwed up ... Still have not been able to
    fix it. Sorry for the long message.

    Any additional thoughts on all this are very much appreciated. Really sorry to bug
    you with all this.

    -Saleh
  • Actually all the projects I have build with no problems before updating to version 016
    Maybe I could uninstall and go back 015 ?
  • I meant 05 and 06 ...
  • Thanks again for your help on all this. Need to head out shortly to vote but be nice
    to fix all this so I can get back building projects later today.

    Best,
    Saleh
  • I imported the same project that is not building

    MINE:

    Building target: "adc_epwm_cpu01.out"

    Invoking: C2000 Linker

    "/Applications/ti/ccs820/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000" -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 --cla_support=cla1 --float_support=fpu32 -g --define=CPU1 --display_error_number --diag_warning=225 -z -m"adc_epwm_cpu01.map" --heap_size=0x400 --stack_size=0x400 --warn_sections -i"/Applications/ti/ccs820/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/lib" -i"/Applications/ti/ccs820/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include" -i"/Users/a0792138/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/cmd" -i"/Users/a0792138/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="adc_epwm_cpu01_linkInfo.xml" --rom_model -o "adc_epwm_cpu01.out" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_EPwm.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./adc_epwm_cpu01.obj"  -lrts2800_fpu32.lib -l2837xD_RAM_lnk_cpu1.cmd -lF2837xD_Headers_nonBIOS_cpu1.cmd -llibc.a

    <Linking>

    Finished building target: "adc_epwm_cpu01.out"

    YOURS:

    Building target: "adc_epwm_cpu01.out"

    Invoking: C2000 Linker

    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/bin/cl2000" -v28 -ml -mt --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number -z -m"adc_epwm_cpu01.map" --heap_size=0x400 --stack_size=0x400 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/include" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/cmd" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="adc_epwm_cpu01_linkInfo.xml" --rom_model -o "adc_epwm_cpu01.out" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_EPwm.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./adc_epwm_cpu01.obj" -lrts2800_fpu32.lib -l2837xD_RAM_lnk_cpu1.cmd -lF2837xD_Headers_nonBIOS_cpu1.cmd

    Our builds are using different compilers but I don't think that is the problem.  I see some different build options being used that I believe are causing the issue.  For my build I can see fpu32 being set for the floating point support.  This is not set for yours.  Can you try setting that option here:

    For me that option was set when I imported the project.  Given that we end up linking the fpu32 version of the runtime support library (rts2800_fpu32.lib) I believe this option has to be set or we will get the errors you see.  If I change that option in my project then I can reproduce the same errors.

    Regards,

    John

  • Hi John,

    Again thanks for taking the time to check on this.

    Quickly checking the properties of the aforementioned project, looks like
    I have the same setup as yours there. Didn't notice any differences.
    Also, looks like the bugs are memory-related and furthermore I think the linker
    command file for 28335 examples running directly out of RAM has something
    to do with that. When excluding it from the build have noticed those bugs go
    away. Here is a copy of this cmd file - pasted below:

    ====================== FILE: 28335_RAM_lnk.cmd=====================
    //
    // TITLE: Linker Command File For 28335 examples that run out of RAM
    //
    // This ONLY includes all SARAM blocks on the 28335 device.
    // This does not include flash or OTP.
    //
    // Keep in mind that L0 and L1 are protected by the code
    // security module.
    //
    // What this means is in most cases you will want to move to
    // another memory map file which has more memory defined.
    //
    //###########################################################################
    // $TI Release: $
    // $Release Date: $
    //###########################################################################
    */

    /* ======================================================
    // For Code Composer Studio V2.2 and later
    // ---------------------------------------
    // In addition to this memory linker command file,
    // add the header linker command file directly to the project.
    // The header linker command file is required to link the
    // peripheral structures to the proper locations within
    // the memory map.
    //
    // The header linker files are found in <base>\DSP2833x_Headers\cmd
    //
    // For BIOS applications add: DSP2833x_Headers_BIOS.cmd
    // For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
    ========================================================= */

    /* ======================================================
    // For Code Composer Studio prior to V2.2
    // --------------------------------------
    // 1) Use one of the following -l statements to include the
    // header linker command file in the project. The header linker
    // file is required to link the peripheral structures to the proper
    // locations within the memory map */

    /* Uncomment this line to include file only for non-BIOS applications */
    /* -l DSP2833x_Headers_nonBIOS.cmd */

    /* Uncomment this line to include file only for BIOS applications */
    /* -l DSP2833x_Headers_BIOS.cmd */

    /* 2) In your project add the path to <base>\DSP2833x_headers\cmd to the
    library search path under project->build options, linker tab,
    library search path (-i).
    /*========================================================= */

    /* Define the memory block start/length for the F28335
    PAGE 0 will be used to organize program sections
    PAGE 1 will be used to organize data sections

    Notes:
    Memory blocks on F28335 are uniform (ie same
    physical memory) in both PAGE 0 and PAGE 1.
    That is the same memory region should not be
    defined for both PAGE 0 and PAGE 1.
    Doing so will result in corruption of program
    and/or data.

    L0/L1/L2 and L3 memory blocks are mirrored - that is
    they can be accessed in high memory or low memory.
    For simplicity only one instance is used in this
    linker file.

    Contiguous SARAM memory blocks can be combined
    if required to create a larger memory block.
    */


    MEMORY
    {
    PAGE 0 :
    /* BEGIN is used for the "boot to SARAM" bootloader mode */

    BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
    RAMM0 : origin = 0x000050, length = 0x0003B0
    RAML0 : origin = 0x008000, length = 0x001000
    RAML1 : origin = 0x009000, length = 0x001000
    RAML2 : origin = 0x00A000, length = 0x001000
    RAML3 : origin = 0x00B000, length = 0x001000
    ZONE7A : origin = 0x200000, length = 0x00FC00 /* XINTF zone 7 - program space */
    CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
    CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
    ADC_CAL : origin = 0x380080, length = 0x000009
    RESET : origin = 0x3FFFC0, length = 0x000002
    IQTABLES : origin = 0x3FE000, length = 0x000b50
    IQTABLES2 : origin = 0x3FEB50, length = 0x00008c
    FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0
    BOOTROM : origin = 0x3FF27C, length = 0x000D44


    PAGE 1 :
    /* BOOT_RSVD is used by the boot ROM for stack. */
    /* This section is only reserved to keep the BOOT ROM from */
    /* corrupting this area during the debug process */

    BOOT_RSVD : origin = 0x000002, length = 0x00004E /* Part of M0, BOOT rom will use this for stack */
    RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
    RAML4 : origin = 0x00C000, length = 0x001000
    RAML5 : origin = 0x00D000, length = 0x001000
    RAML6 : origin = 0x00E000, length = 0x001000
    RAML7 : origin = 0x00F000, length = 0x001000
    ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
    }


    SECTIONS
    {
    /* Setup for "boot to SARAM" mode:
    The codestart section (found in DSP28_CodeStartBranch.asm)
    re-directs execution to the start of user code. */
    codestart : > BEGIN, PAGE = 0

    #ifdef __TI_COMPILER_VERSION__
    #if __TI_COMPILER_VERSION__ >= 15009000
    .TI.ramfunc : {} > RAML0, PAGE = 0
    #else
    ramfuncs : > RAML0, PAGE = 0
    #endif
    #endif

    .text : > RAML1, PAGE = 0
    .cinit : > RAML0, PAGE = 0
    .pinit : > RAML0, PAGE = 0
    .switch : > RAML0, PAGE = 0

    .stack : > RAMM1, PAGE = 1
    .ebss : > RAML4, PAGE = 1
    .econst : > RAML5, PAGE = 1
    .esysmem : > RAMM1, PAGE = 1

    IQmath : > RAML1, PAGE = 0
    IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD

    /* Uncomment the section below if calling the IQNexp() or IQexp()
    functions from the IQMath.lib library in order to utilize the
    relevant IQ Math table in Boot ROM (This saves space and Boot ROM
    is 1 wait-state). If this section is not uncommented, IQmathTables2
    will be loaded into other memory (SARAM, Flash, etc.) and will take
    up space, but 0 wait-state is possible.
    */
    /*
    IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
    {

    IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)

    }
    */

    FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD

    DMARAML4 : > RAML4, PAGE = 1
    DMARAML5 : > RAML5, PAGE = 1
    DMARAML6 : > RAML6, PAGE = 1
    DMARAML7 : > RAML7, PAGE = 1

    ZONE7DATA : > ZONE7B, PAGE = 1

    .reset : > RESET, PAGE = 0, TYPE = DSECT /* not used */
    csm_rsvd : > CSM_RSVD PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
    csmpasswds : > CSM_PWL PAGE = 0, TYPE = DSECT /* not used for SARAM examples */

    /* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
    .adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD

    }

    /*
    //===========================================================================
    // End of file.
    //===========================================================================

    Let me know if there is a better fix/alternative to include with the build
    instead.

    Many thanks,
    Saleh
  • Saleh,

    In my linker options for the adc_epwm_cpu01 project I could see fpu32 being passed but not in yours.  That will lead to a mismatch the object files being generated and the rts2800_fpu32.lib

    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.8.LTS/lib/rts2800_fpu32.lib<bo
    ot28.obj>" specifies ISA revision "C28FPU32", which is not compatible with
    ISA revision "C2800" specified in a previous file or on the command line
    error #16008-D: file

    As far as the linker command file I mine is also the RAM one.  Here are the linker command files that my project is pulling in:

    The example really should be cleaned up.  rts2800_fpu32.lib can be removed from the list as the libc.a will end up becoming that same library.  libc.a is special.  When libc.a is included the linker automatically figures out which runtime support library to include based on the build options specified.  

    One thing I noticed is that I am building for f28379 and you are building for f28335.  I will clear out my workspace and start again with f28335 and see if that makes a difference for me.

    Regards,

    John

  • Are you running on F28379 or F28335?  In the last post you mentioned 28335 and the linker command file is for 28335 but when I look at the build output from the post before that I see:

    i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/cmd" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="adc_epwm_cpu01_linkInfo.xml" --rom_model -o "adc_epwm_cpu01.out" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_EPwm.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./adc_epwm_cpu01.obj" -lrts2800_fpu32.lib -l2837xD_RAM_lnk_cpu1.cmd -lF2837xD_Headers_nonBIOS_cpu1.cmd

    I want to start from scratch and get exactly what you have setup.  Please let me know the device you are using and the example and I will import that exact one.  Right now I think I have something different.

    Regards,

    John

  • Hi John,

    I appreciate your help. I do suspect something was not set up
    correctly either the project properties or within CCS in general....

    I'll list below what the properties panel says for project "adc_epwm_cpu01"
    and would appreciate your suggestions on any correction that needs
    to be made. Something was not set up right otherwise I'd not get
    those bugs.

    On "General":
    Configuration: CPU1_RAM_DEBUG [Active]

    Project --
    Device:
    Variant: 2837xD Delfino TMS320F28379D (that is actually what we have
    C2000 LaunchPad XL TMS320F28379D
    VER: 2.0
    (checked) manage the project's target-configuration automatically
    Tool-chain:
    Compiler version: TI v16.9.9.LTS (looks like the highest version in that pull down list of options)
    Output format: legacy COFF
    Linker command file: (left blank)
    Runtime support library: <automati>

    Products--
    C2000Ware --> 1.0.06.00

    Linked Resources:

    CCS_BASE_ROOT: C:\ti\ccsv8\cc_base
    CCS_INSTALL_ROOT: C:\ti\ccsv8
    CG_TOOL_ROOT: C:\ti\ccsv8\tools\compiler\ti-cgt-c2000_16.9.9.LTS
    Eclipse_HOME: C:\ti\ccsv8\eclipse\
    ORIGINAL_PROJECT_ROOT ${TI_PRODUCTS_DIR_TIREX}\C2000Ware_1_00_05_00_Software\device_support\f2837xd\examples\dual\adc_epwm\cpu01\ccs
    PARENT_LOC: C:\Users\masal\workspace_v8
    PROJECT_LOC: C:\Users\masal\workspace_v8\adc_epwm_cpu01
    TI_PRODUCTS_DIR: C:\ti
    TI_PRODUCT_DIR_TIREX: C:\ti
    Workshop_LOC: C:\Users\masal\workshop_v8

    C2000 Compiler
    summary of flags set:
    -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.9.LTS/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number

    C2000 Linker
    summary of flags set:
    -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --advice:performance=all --define=CPU1 -g --diag_warning=225 --display_error_number -z -m"adc_epwm_cpu01.map" --heap_size=0x400 --stack_size=0x400 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.9.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_16.9.9.LTS/include" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/common/cmd" -i"C:/ti/C2000Ware_1_00_05_00_Software/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="adc_epwm_cpu01_linkInfo.xml" --rom_model

    Looks like there is no link to the new version of 1.00.06.00
    Means I'm still running on the previous version. Not sure how to fix this to
    set it to the new compiler version... The above setup works for the mentioned
    project with no bugs. Both linkage files (2837x_FLASH_lnk_cpu1.cmd
    and 2837x_RAM_lnk_cpu1.cmd) are not included in the build. Including
    either one leads to those bugs I previously mentioned....
    So I guess now would like to know whether the above could be fixed to
    link to the new version of the compiler as well as whether the inclusion
    of either of the abovementioned linkage files would not lead to any
    problems...

    When you get the chance, drop me your thoughts or suggestions on
    what to do.

    All the best,
    Saleh
  • Also noticed that I'd need to do software update at Resource Explorer
    so I'm now doing that. Hopefully that would fix the software
    versions to the new one.

    I'll keep you posted.

    -Saleh
  • Saleh,

    Normally for our example projects they will refer to the software package and you can just change the version of the package and it will automatically update.  When I look at this example it is setup differently.

    When I look at the include paths for the compiler and linker I see references to ${INSTALLROOT_F2837XD}.  This variable is being resolved to the location of C2000Ware (see the tooltip popup in the capture).

    I would bet that this variable is being defined when we import the example project.   So to move to a different version of the software we would need to update the variable.  You can do that here:

    If I change this to be the location of the newer C2000Ware with /device_support/f2837xd on the end

    Then I see that a lot of the files in the project are linked files (i.e. the files live inside the software package).  So we need to update the location where they are Pointing as well here:

    Now when I build I can see that everything is being pulled from the newer C2000Ware.

    If you haven't modified anything in the example it may be easier to just delete the existing project from your workspace and import the new one from Resource Explorer.

    I will be out of the office for the next week and a half and will not have internet access.  If you need further help on this it would be best to start a new thread and the team will see that and pick it up.  You can always reference this thread so that they have the context.

    Regards,

    John

  • Hi John,

    I really appreciate it. I just got back from a number of meetings.
    I'm running for F28379D... that is the hardware I have righ here so
    honestly don't know why F28335 is showing up there. Something
    not right there.
    Let me do more tests and will email more afterward.

    -Saleh
  • Ok let me know what happens. It may make sense to start over with importing the examples as something has gotten messed up in this project.

    Regards,
    John
  • Hi John,

    Hope you had a great vacation and really appreciate your help on this matter.
    Do you really recommend that I re-import all of those examples? If I do would
    also the properties of each would need to be set up correctly in order to handle
    the latest software and compiler versions? Also currently using
    CCS version: 8.2.0.201809041400, Build id: N201809041400
    Does this look OK or you recommend that I update to a more recent version?


    ***** I recently gone back to an old project from last summer
    (my initial inquiry on this):

    "Using one of the lab examples provided in the multi-day
    workshop that took place few months ago I was able to
    display the provided sinusoidal data on a single ADC
    channel (connected to pin 30 which is labeled as AA0
    on the back of the F28379D board). I gather the other A/D
    channels appear to be, for example, on pin 29 (labeled
    AA2 on back of the board) as well as the other pins
    labeled AA__, ABx and ACx --..., there are 16 pins in total.
    I'd like to know if you could point me to some example code
    (or perhaps a modified version of one of those workshop examples)
    that would work in such a way to acquire data on say 4 of these
    channels concurrently. Would such concurrency in data acquisition
    via multiple channels be possible on TMS320F28379D?
    If so, would love to see an example showing such concurrency
    as well as clearly identifying those involved channels."

    Your colleagues, Joseph Casuga and Devin Cottier, suggested I take a look
    at the following TRM: Literature Number: SPRUHM8G, December 2013–Revised
    September 2017 (is there a more up to date version of this TRM?)

    Furthermore suggested to specifically look at examples: "adc_soc_epwm" and
    "adc_soc_continuous" and try to modify in order to handle ADC at the 4-channel
    concurrency level. I have added code and modified a bit the first example but
    have not to get it working properly so revisiting the project now. Those couple
    examples as well as others got imported from .../device_support/f2837xd/examples/cpu1
    and since I have modified a bit one of them probably not a good idea to re-import
    and copy over them. Maybe I could import those that I have not modified. I gather
    the 2-day and one-day workshop lab examples have not changed therefore no
    need to re-import them, yes?

    In any case since my colleague and I have many hardware projects to handle so have
    been a bit behind on handling the parallel/concurrent (2 then 2) ADC over the available
    4 channels of the TI system we now have: C2000 LaunchPad XL TMS320F28379D,
    Ver 2.0.

    In addition to the couple ADC examples above-mentioned by Joseph and
    Devin, would appreciate any additional suggestions in regard to examples either to
    test out/verify the hardware we have or modify a bit in order to achieve that. We need
    to make sure the hard works properly and those 4 channels do the ADC simultaneously.
    The more examples and code we test the better it is. Also have not got the chance yet
    to play around with the workshop Lab examples in order to make few of them handle
    ADC concurrently over 4 channels.

    Any pointers to any new (more recent) TI documents to look at or examples to test
    out would appreciate it. I guess would need to get back working on adc_soc_epwm
    and adc_soc_continuous examples.

    Many thanks and wish you, your family and colleagues there a wonderful
    Thanksgiving holiday. Will chat more soon.

    -Saleh
  • Saleh,

    I had a great vacation, thanks!

    CCSv8.2.0.00007 is the latest version of CCS so you are good there. As far as the C2000Ware version in general I am an advocate of using the latest when possible but I don't think the version of it is causing our issues. You could try just importing a single example and ensure that it imports, builds and loads ok. I should have the device setup correctly. I would import from Resource Explorer. If that works fine we can decide what to do with the others (the lab examples may be fine). The fact that some of the example projects in your workspace have a different device set makes me think the project properties got touched at some point to set the device and that would have changed some of the build options as well as the linker command file getting pulled in.

    As far as the questions on development on F28379D unfortunately I am not a C2000 device expert and I don't have much to offer there. The team in the C2000 forum can do a much better job of answering those questions.

    Happy thanksgiving to you as well! I am actually in Canada so we had our Thanksgiving earlier in the year.

    Regards,
    John
  • Hi John,

    Using Resource Explore I downloaded one example project and seems to build
    with no problems. Will try few more so hopefully all will work nicely. I'll
    keep you posted.
    Love Canada and best wishes to you all there. I'm aware that you guys observe
    it back in October... In any case, happy holidays and many thanks for your help
    on these projects.

    Cheers,
    Saleh