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.

Search working project folder for "C2000 Delfino MCUs F28377S LaunchPad Development Kit" LAUNCHXL-F28377S for CCS Cloud or CCS Win10

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28377S

Hello!

I bought a LAUNCHXL-F28377S to program a DC-DC-Converter but it is impossible for me to get an example link, memory map and debug correctly.

When I import an example like "C:\Ti\controlSUITE\development_kits\LAUNCHXL-F28377S\LaunchPadDemo" I get only linker and mapping errors.

The same when I import something like "C:\Ti\controlSUITE\device_support\F2837xS\v200\F2837xS_examples_Cpu1\adc_soc_epwm"

I loaded a project from Github "github.com/.../TMS_Skype_Petcam" and after some changes in the project properties I could load it into the debugger. Then I exchanged the old HEADER-Files in the project with the new ones "C:\Ti\controlSUITE\device_support\F2837xS\v200\F2837xS_headers\include" nothing works. Linker and Mapper errors.

Then I tried it with the TI-Cloud but there are no examples available for the TMS320F28377S.

I have installed: (all should be up to date)

CCS V6.1.3.00034

ControlSuite Examples for F2837xS V2.0

IQMath V1.6

FPUfastRTS V1.0

CLAmath V4.01.00.00

Please can someone give me a working project folder for "C2000 Delfino MCUs F28377S LaunchPad Development Kit" LAUNCHXL-F28377S for TI Cloud or CCS Win10 with included Libs and Headers in the project that I can import and will work.

Best would be if it is a copy of a Project that is following configured.

CPU-Clock 200MHz

Peripheral-Clock 50Mhz

using external 10MHz Quartz

and the LED D9 or D10 is blinking

Thanks a lot for your HELP!!!

Best Regards

Harald


  • Hi Harald,

    Did you check with these example files in controlSuite:
    C:\ti\controlSUITE\device_support\F2837xS\v191\F2837xS_examples_Cpu1

    Regards,
    Gautam
  • Harald Noack40 said:
    The same when I import something like "C:\Ti\controlSUITE\device_support\F2837xS\v200\F2837xS_examples_Cpu1\adc_soc_epwm"

    I just imported this same project into my CCS 6.1.3.00034 and it built without any errors. The examples in ControlSuite are the recommended starting point for C2000 devices and are meant to build and work out of the box.

    Can you describe the errors you get when building this project? 

  • Hello!

    Thanks for your answers!

    I don't know what I have done but today I could import "C:\Ti\controlSUITE\device_support\F2837xS\v200\F2837xS_examples_Cpu1\adc_soc_epwm_tempsensor" V2.00

    Then I changed in the Project/Properties the Device to TMS320F28377S the Connection to XDS100V2 and to NO Linker command file.

    Compiler TI v15.12.1.LTS

    CPU1_RAM compiles and works in the debugger.

    CPU1_FLASH compiles but it doesn't work in the debugger (ERROR: No source available for "0x3fe493") 

    I get the following warnings:

    'Building target: adc_soc_epwm_tempsensor_cpu01.out'
    'Invoking: C2000 Linker'
    "C:/Ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/bin/cl2000" -v28 -mt -ml --tmu_support=tmu0 --cla_support=cla1 --vcu_support=vcu2 --float_support=fpu32 -g --define=CPU1 --define=_FLASH --diag_warning=225 --display_error_number --diag_suppress=1311 -z -m"adc_soc_epwm_tempsensor_cpu01.map" --stack_size=0x100 --warn_sections -i"C:/Ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/lib" -i"C:/Ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include" -i"C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd" -i"C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_headers/cmd" --reread_libs --display_error_number --xml_link_info="adc_soc_epwm_tempsensor_cpu01_linkInfo.xml" --rom_model -o "adc_soc_epwm_tempsensor_cpu01.out" "./F2837xS_Adc.obj" "./F2837xS_CodeStartBranch.obj" "./F2837xS_DefaultISR.obj" "./F2837xS_GlobalVariableDefs.obj" "./F2837xS_Gpio.obj" "./F2837xS_PieCtrl.obj" "./F2837xS_PieVect.obj" "./F2837xS_SysCtrl.obj" "./F2837xS_TempSensorConv.obj" "./F2837xS_usDelay.obj" "./adc_soc_epwm_tempsensor_cpu01.obj" -lrts2800_fpu32.lib -l2837xS_Generic_FLASH_lnk.cmd -lF2837xS_Headers_nonBIOS.cmd -llibc.a
    <Linking>
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 89: warning #10190-D:
    absolute symbol "_RamfuncsLoadStart" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 90: warning #10190-D:
    absolute symbol "_RamfuncsLoadSize" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 91: warning #10190-D:
    absolute symbol "_RamfuncsLoadEnd" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 92: warning #10190-D:
    absolute symbol "_RamfuncsRunStart" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 93: warning #10190-D:
    absolute symbol "_RamfuncsRunSize" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 94: warning #10190-D:
    absolute symbol "_RamfuncsRunEnd" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 89: warning #10190-D:
    absolute symbol "_RamfuncsLoadStart" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 90: warning #10190-D:
    absolute symbol "_RamfuncsLoadSize" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 91: warning #10190-D:
    absolute symbol "_RamfuncsLoadEnd" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 92: warning #10190-D:
    absolute symbol "_RamfuncsRunStart" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 93: warning #10190-D:
    absolute symbol "_RamfuncsRunSize" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 94: warning #10190-D:
    absolute symbol "_RamfuncsRunEnd" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 89: warning #10190-D:
    absolute symbol "_RamfuncsLoadStart" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 90: warning #10190-D:
    absolute symbol "_RamfuncsLoadSize" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 91: warning #10190-D:
    absolute symbol "_RamfuncsLoadEnd" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 92: warning #10190-D:
    absolute symbol "_RamfuncsRunStart" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 93: warning #10190-D:
    absolute symbol "_RamfuncsRunSize" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 94: warning #10190-D:
    absolute symbol "_RamfuncsRunEnd" being redefined
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 89: warning #10272-D:
    section relative symbols from different output sections cannot be mixed;
    "_RamfuncsLoadStart" is in section "ramfuncs", "DOT operator" is in section
    ".TI.ramfunc"
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 91: warning #10272-D:
    section relative symbols from different output sections cannot be mixed;
    "_RamfuncsLoadEnd" is in section "ramfuncs", "DOT operator" is in section
    ".TI.ramfunc"
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 92: warning #10272-D:
    section relative symbols from different output sections cannot be mixed;
    "_RamfuncsRunStart" is in section "ramfuncs", "DOT operator" is in section
    ".TI.ramfunc"
    "C:/Ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd/2837xS_Generic_FLASH_lnk.cmd", line 94: warning #10272-D:
    section relative symbols from different output sections cannot be mixed;
    "_RamfuncsRunEnd" is in section "ramfuncs", "DOT operator" is in section
    ".TI.ramfunc"
    'Finished building target: adc_soc_epwm_tempsensor_cpu01.out'
    ' '

    When I click on a warning then the file 2837xS_Generic_FLASH_lnk.cmd opens an I jumps int this section:

    SECTIONS
    {
    /* Allocate program areas: */
    .cinit : > FLASHB PAGE = 0, ALIGN(4)
    .pinit : > FLASHB, PAGE = 0, ALIGN(4)
    .text : >> FLASHB | FLASHC | FLASHD | FLASHE PAGE = 0, ALIGN(4)
    codestart : > BEGIN PAGE = 0, ALIGN(4)
    ramfuncs : LOAD = FLASHD,
    RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
    LOAD_START(_RamfuncsLoadStart),
    LOAD_SIZE(_RamfuncsLoadSize),
    LOAD_END(_RamfuncsLoadEnd),
    RUN_START(_RamfuncsRunStart),
    RUN_SIZE(_RamfuncsRunSize),
    RUN_END(_RamfuncsRunEnd),
    PAGE = 0, ALIGN(4)

    /* Allocate uninitalized data sections: */
    .stack : > RAMM1 PAGE = 1
    .ebss : >> RAMLS5 | RAMGS0 | RAMGS1 PAGE = 1
    .esysmem : > RAMLS5 PAGE = 1

    /* Initalized sections go in Flash */
    .econst : >> FLASHF | FLASHG | FLASHH PAGE = 0, ALIGN(4)
    .switch : > FLASHB PAGE = 0, ALIGN(4)

    .reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */

    #ifdef __TI_COMPILER_VERSION__
    #if __TI_COMPILER_VERSION__ >= 15009000
    .TI.ramfunc : {} LOAD = FLASHD,
    RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
    LOAD_START(_RamfuncsLoadStart),
    LOAD_SIZE(_RamfuncsLoadSize),
    LOAD_END(_RamfuncsLoadEnd),
    RUN_START(_RamfuncsRunStart),
    RUN_SIZE(_RamfuncsRunSize),
    RUN_END(_RamfuncsRunEnd),
    PAGE = 0, ALIGN(4)
    #endif
    #endif

    ramgs0 : > RAMGS0, PAGE = 1
    ramgs1 : > RAMGS1, PAGE = 1

    /* The following section definitions are for SDFM examples */
    Filter1_RegsFile : > RAMGS1, PAGE = 1, fill=0x1111
    Filter2_RegsFile : > RAMGS2, PAGE = 1, fill=0x2222
    Filter3_RegsFile : > RAMGS3, PAGE = 1, fill=0x3333
    Filter4_RegsFile : > RAMGS4, PAGE = 1, fill=0x4444
    Difference_RegsFile : >RAMGS5, PAGE = 1, fill=0x3333
    }

    /*
    //===========================================================================
    // End of file.

    Maybe someone can help me.

    This problems are only in the V2.00

    V1.80 and V1.91 don't have this warnings an problems.

    Thanks for your Help!!!!!!

    Best Regards

    Harald

  • Harald,

    Sorry about the delayed reply.

    Could you try the following:
    - make a backup copy of the file 2837xS_Generic_FLASH_lnk.cmd (found in C:\ti\controlSUITE\device_support\F2837xS\v200\F2837xS_common\cmd) in case we need to revert back to original
    - edit the 2837xS_Generic_FLASH_lnk.cmd so the .TI.ramfunc specification looks like this:

      .TI.ramfunc: {} LOAD=FLASHD, RUN=RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3, PAGE=0, ALIGN(4), table(BINIT)

    - rebuild the project

    Let us know if that eliminates the warnings and allows the program to run ok.

  • Hello,

    Before modification 6 Errors #10190-D and 4 Errors #10272-D.

    Then I modified the "2837xS_Generic_FLASH_lnk.cmd " to 

    #ifdef __TI_COMPILER_VERSION__
    #if __TI_COMPILER_VERSION__ >= 15009000

    .TI.ramfunc: {} LOAD=FLASHD, RUN=RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3, PAGE=0, ALIGN(4), table(BINIT)

    /* .TI.ramfunc : {} LOAD = FLASHD,
    RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
    LOAD_START(_RamfuncsLoadStart),
    LOAD_SIZE(_RamfuncsLoadSize),
    LOAD_END(_RamfuncsLoadEnd),
    RUN_START(_RamfuncsRunStart),
    RUN_SIZE(_RamfuncsRunSize),
    RUN_END(_RamfuncsRunEnd),
    PAGE = 0, ALIGN(4)
    */
    #endif
    #endif

    and I got NO errors.

    The program loads into the debugger and I can debug it.

    Thanks for your help!!!!!!

    In the file

    C:\Ti\controlSUITE\device_support\F2837xS\v200\F2837xS_common\source\F2837xS_EPwm.c

    after the line 235

    "void InitEPwm7Gpio(void)"

    the comments are all the same and copied from  "void InitEPwm6Gpio(void)".

    Maybe TI correct that for the next version.

    Thanks again!!!!!

  • Hello!

    Thank for your reply.

    The linker problem for V2.00 is solved.

    Best Regards

    Harald