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.

TM4C129ENCPDT: EK-TM4C129ENXL, EK-TM4C1294XL

Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: SYSBIOS,

Hi,

I am new in using TI-RTOS.

Can anyone give examples for reading and writing on USB storage device from tirtos_tivac_2_16_00_08.

Regards

Sijo Augustine

  • Hi,

      In CCS, under 'View' -> 'Resource Explorer', you can find the USB examples. See below. 

  • Hi Charles,

    Thank you for the suggestion.

    But in my CCSV12 > resource explorer > Arm based processors > Embedded Software > 

    TI-RTOS for TivaC-2.16.00.08 is not found.

    https://drive.google.com/file/d/1jEUF988bulA_jhiMu8sfNCRCqX4bx6rA/view?usp=share_link

    Can you tell which version of CCS you are currently using?

  • Hi,

      After you open Resource Explore, click the 'three horizontal bars' on the upper right and then select 'Package Manager'. See below. 

    Next, scroll down until you find 'TI-RTOS for Tiva'. See below. 

    Scroll to the right of the window you should see below. Click the 'Install'. 

    Once installed TI-RTOS for Tiva should appear under Arm-based processors although it is more appropriate to appear under Arm-base microcontrollers.

  • Hi Charles,

    I installed the TI-RTOS and import the fatsdusbcopy example project to my workspace as directed by you.

    Thank you!

    When I building following error message is coming.

    ** Build of configuration Debug for project fatsdusbcopy_EK_TM4C129EXL_TI ****

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

    Building file: "../fatsdusbcopy.cfg"
    Invoking: XDCtools
    "C:/ti/ccs1210/xdctools_3_62_01_16_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129ENCPDT -r release -c "C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"C:/Users/Hill Electronics IT/workspace_v12/fatsdusbcopy_EK_TM4C129EXL_TI\" --include_path=\"C:/Users/Hill Electronics IT/workspace_v12/fatsdusbcopy_EK_TM4C129EXL_TI\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix\" --include_path=\"C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include\" --define=ccs=\"ccs\" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../fatsdusbcopy.cfg"
    configuring fatsdusbcopy.xem4f from package/cfg/fatsdusbcopy_pem4f.cfg ...
    subdir_rules.mk:19: recipe for target 'build-187385983-inproc' failed
    error: xdc.cfg.Program: "C:/ti/ccs1210/xdctools_3_62_01_16_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
    js: "C:/ti/ccs1210/xdctools_3_62_01_16_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    xdctools_3_62_01_16_core\gmake.exe: *** [package.mak:202: package/cfg/fatsdusbcopy_pem4f.xdl] Error 1
    js: "C:/ti/ccs1210/xdctools_3_62_01_16_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-187385983-inproc] Error 1
    gmake: *** [build-187385983] Error 2
    subdir_rules.mk:16: recipe for target 'build-187385983' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    I under stand that this error may come due to the unmatched version of XDC tool  and SYS BIOS/TI-RTOS?

    Can you help me to overcome from this error, so that I can concentrate in the firmware development.

  • Hi,

      Please use only XDCtools 3.32.0.06 for TI-RTOS 2.16.00.08 for Tiva devices. Higher version of XDCtools is not compatible with TI-RTOS version for Tiva. 

  • Hi Charles,

    Thank you for the information!

    Even though XDCtools 3.32.0.06 is to be installed as a part of TIRTOS 2.16.00.08, actually its not happening now!

    https://drive.google.com/file/d/1_KDhB6MrKSNLy6wbYJS2SOD5k6Y1dNzi/view?usp=share_link

    In the CCS Resource explorer XDCtools are available for installation from version 3.50.03.33 only.

    https://drive.google.com/file/d/1wkTHlg2ZSujghEK3vNvYsORbWYrgfNzF/view?usp=share_link

    I can download the XDC tool from this site

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

    But its .exe file is not running, so I can't install it. ( In my case I am using Windows11)

  • Hi Sijo,

      Can you try to unzip the zip file to C:\ti\xdctools_3_32_00_06_core

  • Hi Charles,

    As you mentioned, extracting directly to the C:\ti folder solved the issues!

    Now I can build the TIRTOS example!

    drive.google.com/.../view

    Thank You