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.

CCSTUDIO: enet-s2e example not compiling in CCS

Part Number: CCSTUDIO
Other Parts Discussed in Thread: EK-TM4C1294XL

Hi Experts,

Our customer has a problem with the example enet-s2e not compiling.

To be more specific if he try to import the project as "CCS project" he get this message:

"Import failed for project 'enet_s2e' because its meta-data cannot be interpreted. Please contact support."

He has updated the compilers as suggested in the separate forum he researched but he can't seem to make it work.

 

We have referred to below but was still not able to find a solution to his concern:

I hope you can help us. Thank you.

Best regards,

Gerald

  • Hello Gerald,

    Please provide the following information:

    -Full CCS version being used

    -Where the enet-s2e project can be obtained

    Thanks

    ki

  • Hi Ki,

    Code Composer Studio Version: 12.1.0.00007

    This where customer downloaded the project:
    www.ti.com/lit/zip/spma072

    He got that link from here:
    https://e-dokumen.com/download/serial-to-ethernet-converter-for-tm4c129x-microcontrollers_3d7aa.html

    Thank you and kind regards,

    Gerald

  • Thank you.

    This project imports fine for me in CCS 12.1

    One thing to consider - this project was created with a pretty old compiler version - TI ARM compiler 5.1.8. One suggestion is to install that version of the compiler for CCS 12.1. See sections 4.4 and 4.4.1 of the CCS User's Guide on how to get a specific version of the compiler from CCS:

    https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_updates.html#installing-new-software

    Thanks

    ki

  • Hi Ki,

    Please see below the response from our customer:
    As I said I have installed the compiler, can you show me where you open the project from?
    Actually, I found it but I get this error how can I bypass it?
    4010.attachments.zip

    Thank you and kind regards,

    Gerald

  • Actually, I found it but I get this error how can I bypass it?

    The error is because they have a newer version of the compiler stream. For more information on what that means, please see the below article:

    https://dev.ti.com/tirex/explore/node?node=A__AAfuxO9EfiCmAi9Ow3VaxQ__ccs_devtools__FUz-xrs__LATEST

    See the section at the bottom called "Installing Older Version" 

    I assume they have some version of the 5.1.x compiler then?

    I got the project from:

    https://www.ti.com/lit/zip/spma072

    I also got the project from there and was able to import into my CCS 12.1 installation

    I actually have compiler 5.1.6 instead of 5.1.8 but it seems close enough to import at least:

    Thanks

    ki

  • Hi Ki,

    The customer managed to import it but now he can't built it, He said he know it has to do with the include options but he don't know how to fix it.
    attachments (2).zip

    Kind regards,

    Gerald

  • The customer managed to import it but now he can't built it, He said he know it has to do with the include options but he don't know how to fix it.
    attachments (2).zip

    These build errors would need to be investigated by people familiar with TivaWare. I will reassign this thread to the device experts for more assistance.

  • Thank you. I will wait for further updates.

  • Hi Gerald,

      What TivaWare version does the customer have? Looking at the screenshot, the enet-s2e was build using TivaWare 2.1.4.178 while the latest TivaWare on ti.com is 2.2.0.295. This may explain the problem where it is not finding the source files. Go to TivaWare download site and select version 2.1.4.178 and it should resolve the problem. 

    Another option is to fix all the include paths so it will use 2.2.0.295 if that is the current version installed on customer's machine.  This can be done by changing the ORIGINAL_PROJECT_ROOT from 2.1.4.178 to 2.2.0.295.

  • Hi Charles,

    Please see below for our customer response:
    "no I am using the correct TivaWare version

    **** Build of configuration Debug for project enet_s2e ****

    "C:\\ti\\ccs1210\\ccs\\utils\\bin\\gmake" -k all

    Building file: "../config.c"
    Invoking: ARM Compiler
    "C:/ti/ccs1210/ccs/tools/compiler/arm_5.1.8/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs1210/ccs/tools/compiler/arm_5.1.8/include" --include_path="C:/ti/tivaware_c_series_2_1_4_178/enet_s2e" --include_path="C:/ti/ccs1210/ccs/tools/compiler/arm_5.1.8/include" --include_path="C:/ti/tivaware_c_series_2_1_4_178/examples" --include_path="C:/ti/tivaware_c_series_2_1_4_178/examples/boards/ek-tm4c1294xl" --include_path="C:/ti/tivaware_c_series_2_1_4_178/third_party/lwip-1.4.1/ports/tiva-tm4c129/include" --include_path="C:/ti/tivaware_c_series_2_1_4_178/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --include_path="C:/ti/tivaware_c_series_2_1_4_178/third_party/lwip-1.4.1/ports" --include_path="C:/ti/tivaware_c_series_2_1_4_178/third_party/lwip-1.4.1/apps" --include_pa

    now I get these error but the one that puzzles me the most is this one :

    Description Resource Path Location Type
    #18 expected a ")" .ccsproject /enet_s2e line 147, external location: C:\ti\tivaware_c_series_2_1_4_178\third_party\FreeRTOS\Source\portable\CCS\ARM_CM4F\portmacro.h C/C++ Problem

    We hope that you can help us further. Thank you.

    Best regards,

    Gerald

  • Hi Gerald,

      Why don't you try to import the attached enet_s2e CCS project. I don't have compilation issue. 

    enet_s2e.zip

  • Hi Charles,

    Please see the customer response below:


    "I did and I simply get a bit less errors but I don't know what different

    are the includes correct also I ll send the new error message

    "../telnet.c", line 27: fatal error #1965: cannot open source file "inc/hw_ints.h"

    "../startup_ccs.c", line 26: fatal error #1965: cannot open source file "inc/hw_nvic.h"

    "../serial_task.c", line 27: fatal error #1965: cannot open source file "inc/hw_ints.h"

    "../serial.c", line 27: fatal error #1965: cannot open source file "inc/hw_ints.h"

    "../idle_task.c", line 27: fatal error #1965: cannot open source file "utils/lwiplib.h"

    CS1377619_attachments.zip

    Thank you and kind regards,

    Gerald

  • Hi,

      Can you even import any other TivaWare examples without issues or only enet-s2e?

  • Hi,

    The customer has managed to import all other examples so far.

  • If you expand the include path what does it show? Does it show TivaWare_C_Series-2.1.4.178? 

    I will suggest you also create a new workspace and reimport the example to the new workspace again.

  • Hi,

    Please see below for customer feedback:

    "As You can see it looks fine and I have been messing with the includes, chasing the errors but I couldn't make it work

    I can only imagine it has something to do with this warning but I just can't figure why it sees them as invalid paths

    OK I managed to compile it but it turns out that I had to compile it using the TivaWare_C_Series-2.1.1.71 because it refused to work with the TivaWare_C_Series-2.1.4.178 and I had to go to the include path and change the directories manually because they were automatically set to TivaWare_C_Series-2.1.4.178."

    CS1377619.zip

    Thank you and best regards,

    Gerald

  • Can you hover over the three dots and see how the include paths expand. 

    Then go to file explorer and do you see your TivaWare installed at the expected directory?

    As I suggested earlier, did you try to import into a new work space and try again?

    It is a US holiday and I'm also on vacation. Please expect delay.

  • Hi Charles,

    Please see below for customer feedback:
    "I am sorry but I don't understand why should I do this.

    As I stated it works fine with the TivaWare_C_Series-2.1.1.71, is there a reason or advantage to trying and making it work for the TivaWare_C_Series-2.1.4.178?

    Because as of now I see no reason."

    Best regards,

    Gerald

  • 2.1.1.71 is very old version. The enet_e2e was created when 2.1.4178 was the latest version at the time. Right now, the latest version is 2.2.0.295.