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.

TMS320F28027F: Base source code for launchpadXL

Part Number: TMS320F28027F
Other Parts Discussed in Thread: C2000WARE

Hi,

I have a launchpadXL 28027F board to get familiar with the CCS environment prior to migrating to a higher-end processor.  

This user guide (https://www.ti.com/lit/ug/spruhh2c/spruhh2c.pdf?ts=1656396024325&ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252FLAUNCHXL-F28027F) says to get the source running on the board from this page: www.ti.com/c2000-launchpad

However, there is not any links here.  

Could you point me to the updated link to download this source code?

Thanks!

  • Paul,

    You can find this either in Resource Explorer in the cloud here: https://dev.ti.com/tirex/explore/node?node=AAHk3HWXe7x7UZtcTD9kVg__gYkahfz__LATEST

    or if you have downloaded C2000Ware locally the project is here: C:\ti\c2000\C2000Ware_4_01_00_00\device_support\f2802x\examples\drivers\C2kLaunchPadDemo

    Best,

    Matthew

  • Hi Matthew,

    I downloaded the files Example_F2802xLaunchPadDemo.c and ti_ascii.h and added them to a local project, but I am getting a critical error when I try to build the project:

    > Compilation failure

    subdir_rules.mk:7: recipe for target 'Example_F2802xLaunchPadDemo.obj' failed

    "../Example_F2802xLaunchPadDemo.c", line 111: fatal error #1965: cannot open source file "DSP28x_Project.h"

    1 catastrophic error detected in the compilation of "../Example_F2802xLaunchPadDemo.c".

    Compilation terminated.

    gmake: *** [Example_F2802xLaunchPadDemo.obj] Error 1

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

  • Paul,

    I think there is a path issue in play. I've attached the example folder as well as the support files/folders.  See if you can import this pjt into CCS directly.  Worst case you can re-use the files in this package for the already existing pjt you made.

    Best,

    MatthewF2802xLP_support_files.zip

  • Hi Matt,

    I tried copying over the header files from your directory over to my folder structure.  I also tried to import your project directly into CCS.  I am still getting build errors.

    It looks like the compiler is unable to find "F2802x_Device.h".  However, this file does appear to be in the folder structure for my project.  

    **** Build of configuration Debug for project DemoBoardTest ****

    /Applications/ti/ccs1120/ccs/utils/bin/gmake -k -j 7 all -O 

     

    Building file: "../headers/source/F2802x_GlobalVariableDefs.c"

    Invoking: C2000 Compiler

    "/Applications/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --include_path="/Users/pwhite/workspace_v11/DemoBoardTest" --include_path="/Applications/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="headers/source/F2802x_GlobalVariableDefs.d_raw" --obj_directory="headers/source"  "../headers/source/F2802x_GlobalVariableDefs.c"

     

    >> Compilation failure

    headers/source/subdir_rules.mk:7: recipe for target 'headers/source/F2802x_GlobalVariableDefs.obj' failed

    "../headers/source/F2802x_GlobalVariableDefs.c", line 46: fatal error #1965: cannot open source file "F2802x_Device.h"

    1 catastrophic error detected in the compilation of "../headers/source/F2802x_GlobalVariableDefs.c".

    Compilation terminated.

    gmake: *** [headers/source/F2802x_GlobalVariableDefs.obj] Error 1

    "../Example_F2802xLaunchPadDemo.c", line 111: fatal error #1965: cannot open source file "DSP28x_Project.h"

    1 catastrophic error detected in the compilation of "../Example_F2802xLaunchPadDemo.c".

    Compilation terminated.

  • Hi Matt,

    So we can send files, do you have an email address we can move this conversation to?  Can you reach out to my profile?  

  • Paul,

    Yes, I'll send you an email off line. 

    Best,

    Matthew