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.

TMS320F28388D: issues in example tcpEchoF2838X from C2000ware

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE, , SYSBIOS

Hello everybody , 

I woudl like to test example 

C2000Ware_2_00_00_02\libraries\communications\Ethernet\ti\ndk\examples\tcpEchoF2838X   

now when importing in latest CCS   I got and error  that the project was created for a device not currently recognized ("Cortex M.F2838x")

coudl you help ?

regards

Carlo

  • Hi,

    Can you try to do the following? 

    open the project in CCS and do a right click on project and open Build settings -> select the variant as TMS320F28388D. See if it proceeds further.

    You will need to install the following dependencies once you get past that stage:

    1. The TI RTOS can support F28388D. The SYSBIOS version supporting F28388D can be downloaded from 

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/6_76_01_12/index_FDS.html

    2. The XDC Tools corresponding to that can be downloaded from 

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_55_02_22/index_FDS.html

    3. The NDK Package from :

    http://software-dl.ti.com/targetcontent/ndk/3_61_01_01/exports/ndk_f2838x_3_61_01_01.zip

    4. The Network Serivces package from:

    http://software-dl.ti.com/targetcontent/ns/2_60_01_06/exports/ns_2_60_01_06.zip

    Hope it helps. 

    Regards,

    Sudharsanan

       

  • Also what version of CCS you are using and have you installed the ARM related SW while installing the CCS ?

    Regards,

    Vivek Singh

  • Hi 

    I m on latest CCS . 

    I got an HW issue on my PC   I can test asap 

    regards

    Carlo

  • Hi everybody , 

    I got a new PC , so clean installation of CCS9.1  + latest C2000 ware ( in this sequnece ).

    I do the import and got the error as reported :

    Description Resource Path Location Type
    This project was created for a device not currently recognized - Cortex M.F2838x. Re-run CCS installer on your existing CCS location, ensure the Product Family for your device is selected, and proceed with installation if it wasn't. See 'Help > Check for Updates' to check if support for this device is available through a CCS update. Migrate the project to closest matching supported device by adjusting project properties. Or contact TI for support if using experimental silicon. tcpEchoF2838X project Problem

    I did select build setting and changed as you asked to F28388D   , no changes exactly same error ...

    ARM compiler  : used the latest set as default v18.12.2.3  and the previous one  v18.12.2.2   no changes 

    please coudl you do an installation from scratch and  help in solving the issue ?

    thank you 

    best regards

    Carlo

  • Hi all , 

    some updates .  I reforced the F28388 and Installed all components ( basically apart from SYSBIOS , downloading packages and unzipping in c:\ti  where the C2000ware is ) .

    now I get errord in compling ,  fileas are there but cannot find it 

    please whete am I wrong ?  could  detail the installation flow if C2000ware is deafult in C:\ti ?

    here are errors on NDK , files are there( I can find with explorer ) :

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'tcpechohooks.obj' failed
    "../tcpechohooks.c", line 45: fatal error #1965: cannot open source file "ti/ndk/inc/netmain.h"
    1 catastrophic error detected in the compilation of "../tcpechohooks.c".
    Compilation terminated.
    gmake: *** [tcpechohooks.obj] Error 1
    Building file: "../tcpecho.c"
    Invoking: ARM Compiler
    "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=none -me --include_path="/source/ti/net/bsd" --include_path="C:/ti/bios_6_76_01_12/packages/ti/posix/ccs" --include_path="/source" --include_path="/source" --include_path="C:/ti/c2000/C2000Ware_2_00_00_02/libraries/communications/Ethernet/ti/ndk/examples/tcpEchoF2838X" --include_path="C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --define=ccs -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="tcpecho.d_raw" --cmd_file="configPkg/compiler.opt" "../tcpecho.c"

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'tcpecho.obj' failed
    "../tcpecho.c", line 45: fatal error #1965: cannot open source file "netinet/in.h"
    1 catastrophic error detected in the compilation of "../tcpecho.c".
    Compilation terminated.
    gmake: *** [tcpecho.obj] Error 1
    Building file: "../ndk_tirtos.c"
    Invoking: ARM Compiler
    "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=none -me --include_path="/source/ti/net/bsd" --include_path="C:/ti/bios_6_76_01_12/packages/ti/posix/ccs" --include_path="/source" --include_path="/source" --include_path="C:/ti/c2000/C2000Ware_2_00_00_02/libraries/communications/Ethernet/ti/ndk/examples/tcpEchoF2838X" --include_path="C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --define=ccs -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="ndk_tirtos.d_raw" --cmd_file="configPkg/compiler.opt" "../ndk_tirtos.c"

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'ndk_tirtos.obj' failed
    "../ndk_tirtos.c", line 40: fatal error #1965: cannot open source file "ti/ndk/inc/netmain.h"
    1 catastrophic error detected in the compilation of "../ndk_tirtos.c".
    Compilation terminated.
    gmake: *** [ndk_tirtos.obj] Error 1
    Building file: "../main_tirtos.c"
    Invoking: ARM Compiler
    "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=none -me --include_path="/source/ti/net/bsd" --include_path="C:/ti/bios_6_76_01_12/packages/ti/posix/ccs" --include_path="/source" --include_path="/source" --include_path="C:/ti/c2000/C2000Ware_2_00_00_02/libraries/communications/Ethernet/ti/ndk/examples/tcpEchoF2838X" --include_path="C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --define=ccs -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="main_tirtos.d_raw" --cmd_file="configPkg/compiler.opt" "../main_tirtos.c"
    Finished building: "../main_tirtos.c"

    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    thank you 

    bye

    Carlo

  • Hi, 

    Thanks for the update.

    1. Can you please let us know if you followed the steps as in 

    C2000Ware_2_00_00_02\libraries\communications\Ethernet\ti\ndk\examples\tcpEchoF2838X\Readme.md?

    2. Also can you confirm if the XDCTools 3.55.02.22 is selected as XDC version. 

    In case if you want to know , how to see that,  It can be seen/selected by right clicking ccs project -> Build Settings->CCS General-> Products Tab

    Regards,

    Sudharsanan 

  • HI Sudharsanan  

    about  first point  I followed that step  but something went  worng , let me redo .

    about XDS version yes I m on the one you ask.

    BTW   my customer  did more progress ,  he was able to compile ( Exclude "2838x_flash_lnk_cm.cmd" from build

    )  , issue is an error in the linker :

    • "unresolved symbol NIMUDeviceTable …. "  could you help on that ?

    on top  in the readme  they talk about  NDK version "ndk_f2838x_3_61_00_08_eng"   :  could you provide that ? 

    thank you 

    best regards

    Carlo

  • Hi Carlo,

    Colombo Carlo said:
    "unresolved symbol NIMUDeviceTable …. "  could you help on that ?

    Can you please  use the attached file ndk_tirtos.c to see if it solves the issue.  Copy it to C2000Ware_2_00_00_02\libraries\communications\Ethernet\ti\ndk\examples\tcpEchoF2838X\ folder and recompile the application. ndk_tirtos.zip

    Colombo Carlo said:
    top  in the readme  they talk about  NDK version "ndk_f2838x_3_61_00_08_eng"   :  could you provide that ? 

    It is just an example. they should only be setting it to the version they just downloaded (which is the latest version for F2838X)

    The environment variable should be like this: 

    NDK_INSTALL_DIR=C:\ti\f2838xSDK\ndk_f2838x_3_61_01_01

    Regards,

    Sudharsanan

  • Hi Carlo,

    Hope the customer is able to get it working. Please confirm.

    Regards,

    Sudharsanan

  • Hi Sudharsanan,

    I had the same problem with tcpEchoF2838X example, and I was able to compile it following the steps you provided, thank you. I just have one question: after unpacking  NDK and NS packages under C:\ti, they are not recognized by CCS9 as installed products (Preferences -> Code Composer Studio -> Products). Rediscover option did not work. What can I do to CCS recognize these packages?

    Regards,

    Harley

  • Hi Sudharsanan,

    I was able to successfully compile and run the example using the attached 'ndk_tirtos.zip', thanks.

    Thanks for your help

    Ohad

     

  • Hi Harley,

    The Example discovers these NDK,NS packages based on the system environment variables. Hence you may not need to look into CCS side discovery. 

    Regards,

    Sudharsanan

  • Hi Ohad,

    Ohad Madmon said:
    I was able to successfully compile and run the example using the attached 'ndk_tirtos.zip', thanks

    Thanks for the feedback.

    Regards,

    Sudharsanan

  • Hi  Carlo,

    I am closing this thread as resolved. If there are further queries. Please open a new thread.

    Regards,

    Sudharsanan