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: CCS httpget sample - compilation error for CC3220 LAUNCHPAD

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

Tool/software: Code Composer Studio

Hello,

the first my problem is related to httpget sample compilation:

I guess this is result of wrong settings in the CCS environment. Please help.

Few words, what do I have:

1) MAC OS

2) Installed packages:

and GCC:

3) Proper link with LaunchPad:

4) "Import CCS Project": httpget freertos

5) check Project Properties:

6) select "Project / Build Project"

(!) CCS console returns:

How to locate "build-errors" and fix it?

Thank you for your support!

  • Hi,

    Sorry, unfortunately none of the screenshots were correctly rendered. 

    Answering your question, the method to locate build errors is by closely inspecting the console view. 

    You can copy its contents by following the short procedure I describe at the post below. 

    https://e2e.ti.com/support/tools/ccs/f/81/p/818768/3029484#3029484 

    Hope this helps,

    Rafael 

  • Let me fix above.

    ...the first my problem is related to httpget sample compilation:

    **** Build Finished ****
    Buildfile generation error occurred..
    Cannot build project. Referenced project 'freertos_builds_CC3220SF_LAUNCHXL_release_ccs' contains build-errors.
    Build stopped..

    I guess this is result of wrong settings in the CCS environment. Please help.

    Few words, what do I have:

    1) MAC OS

    2) Installed packages:

    ccs901
    FreeRTOSv10.2.1
    simplelink_cc32xx_sdk_3_10_00_04
    uniflash_5.0.0
    xdctools_3_51_02_21_core
    gcc: Apple LLVM version 10.0.0 (clang-1000.10.44.4)

    3) Proper link with LaunchPad:

    [Start: Texas Instruments XDS110 USB Debug Probe]
    Execute the command:
    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity
    [Result]
    -----[Print the board config pathname(s)]------------------------------------
    /Users/msol/.ti/ccs901/0/0/BrdDat/testBoard.dat
    -----[Print the reset-command software log-file]-----------------------------
    This utility has selected a 100- or 510-class product.
    This utility will load the adapter 'libjioxds110.dylib'.
    The library build date was 'Mar 25 2019'.
    The library build time was '15:53:44'.
    The library package version is '8.1.0.00007'.
    The library component version is '35.35.0.0'.
    The controller does not use a programmable FPGA.
    The controller has a version number of '5' (0x00000005).
    The controller has an insertion length of '0' (0x00000000).
    This utility will attempt to reset the controller.
    This utility has successfully reset the controller.

    -----[Print the reset-command hardware log-file]-----------------------------

    The scan-path will be reset by toggling the JTAG TRST signal.
    The controller is the XDS110 with USB interface.
    The link from controller to target is direct (without cable).
    The software is configured for XDS110 features.
    The controller cannot monitor the value on the EMU[0] pin.
    The controller cannot monitor the value on the EMU[1] pin.
    The controller cannot control the timing on output pins.
    The controller cannot control the timing on input pins.
    The scan-path link-delay has been set to exactly '0' (0x0000).

    -----[Perform the Integrity scan-test on the JTAG IR]------------------------

    This test will use blocks of 64 32-bit words.
    This test will be applied just once.

    Do a test using 0xFFFFFFFF.
    Scan tests: 1, skipped: 0, failed: 0
    Do a test using 0x00000000.
    Scan tests: 2, skipped: 0, failed: 0
    Do a test using 0xFE03E0E2.
    Scan tests: 3, skipped: 0, failed: 0
    Do a test using 0x01FC1F1D.
    Scan tests: 4, skipped: 0, failed: 0
    Do a test using 0x5533CCAA.
    Scan tests: 5, skipped: 0, failed: 0
    Do a test using 0xAACC3355.
    Scan tests: 6, skipped: 0, failed: 0
    All of the values were scanned correctly.

    The JTAG IR Integrity scan-test has succeeded.

    -----[Perform the Integrity scan-test on the JTAG DR]------------------------

    This test will use blocks of 64 32-bit words.
    This test will be applied just once.

    Do a test using 0xFFFFFFFF.
    Scan tests: 1, skipped: 0, failed: 0
    Do a test using 0x00000000.
    Scan tests: 2, skipped: 0, failed: 0
    Do a test using 0xFE03E0E2.
    Scan tests: 3, skipped: 0, failed: 0
    Do a test using 0x01FC1F1D.
    Scan tests: 4, skipped: 0, failed: 0
    Do a test using 0x5533CCAA.
    Scan tests: 5, skipped: 0, failed: 0
    Do a test using 0xAACC3355.
    Scan tests: 6, skipped: 0, failed: 0
    All of the values were scanned correctly.

    The JTAG DR Integrity scan-test has succeeded.

    [End: Texas Instruments XDS110 USB Debug Probe]

    4) "Import CCS Project": httpget freertos

    5) add and verify new settings

    Project/Properties/Resource/Linked Resources:
    FREERTOS_INSTALL_DIR       /Applications/ti/FreeRTOSv10.2.1

    Project/Properties/Build/ARM Controller/Include Options:
    /Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/ccs
    /Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/freertos
    /Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/devices/cc32xx

    6) select "Project / Build Project"

    (!) CCS console returns:

    **** Clean-only build of configuration Debug for project httpget_CC3220SF_LAUNCHXL_freertos_ccs ****

    /Applications/ti/ccs901/ccs/utils/bin/gmake -k -j 3 clean -O
    rm -rf  "httpget_CC3220SF_LAUNCHXL_freertos_ccs.bin"  "httpget_CC3220SF_LAUNCHXL_freertos_ccs.out"
    rm -rf "CC3220SF_LAUNCHXL.obj" "httpget.obj" "main_freertos.obj" "platform.obj" "ti_drivers_net_wifi_config.obj"
    rm -rf "CC3220SF_LAUNCHXL.d" "httpget.d" "main_freertos.d" "platform.d" "ti_drivers_net_wifi_config.d" 

    Finished clean

     **** Build Finished ****
    Buildfile generation error occurred..
    Cannot build project. Referenced project 'freertos_builds_CC3220SF_LAUNCHXL_release_ccs' contains build-errors.
    Build stopped..

    How to locate "build-errors" and fix it?

    Thank you for your support!

  • Hi,

    Thanks for sending the additional details. The referenced project "freertos_builds_CC3220SF_LAUNCHXL_release_ccs" failed to build properly and its Build console output will have further details. 

    Regards,

    Rafael

  • Hi,

    The example project "freertos_builds_CC3220SF_LAUNCHXL_release_ccs" failed to build properly.

    Build console wrote:

    **** Build Finished ****
    Buildfile generation error occurred..
    Cannot build project. Referenced project 'freertos_builds_CC3220SF_LAUNCHXL_release_ccs' contains build-errors.
    Build stopped..

    What is solution to compile this project properly?

    Regards,

    Michael Sol.

  • Michael,

    If you highlight the orther project "freertos_builds_CC3220SF_LAUNCHXL_release_ccs", what is shown in its console view? 

    Regards,

    Rafael

  • Hi,

    Solution was found by removing all jumpers of J13 SOP terminal on CC3220 LaunchPad board. 

    Regards,

    Michael