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.

TMS320F28379D: TMS320F28379D

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE,

Hi TI,

I am getting the following error while running a example file in CCS.

Please suggest any probable way to resolve this issue.

  • SMPL, 

    Are you running the example file from CCS directly, or have you made any kind of changes?

    In the console window, could you go to the top where it will mention the error and share a screenshot? The error message will be illuminated in red.

    Thanks.

  • Directly Running the example file from E:\TI\C2000Ware_4_03_00_00\device_support\f2837xd\examples\cpu1 folder.

    I have shared the screenshot for your reference.


  • gmake: *** [F2837xD_DefaultISR.obj] Error 1 adc_soc_epwm_cpu01 C/C++ Problem
    gmake: Target 'all' not remade because of errors. adc_soc_epwm_cpu01 C/C++ Problem

    The above error i am getting while compiling the example code.

    can you let me know, what does the meaning of "gmake" ?

  • SMPL, 

    The example as is, has been tested and builds properly.

    Q1) Have you made any changes to the code? Are you facing similar issues for other adc examples for the same device?

    Q2) What version of CCS are you using?

    Thanks.

  • can you let me know, what does the meaning of "gmake" ?

    gmake is a compiler tool that builds the final .out file from the program.

  • OK. but when i am compiling the code using TMS320F28379D I am getting error as the above screenshot send to you

    1. No, i have not change anything in that code.

    i have not compiled other ADC example program.

    2. Right now i am using CCS 12.2.0 version

    Thanks

  •  

    I have compiled ---E:\TI\C2000Ware_4_03_00_00\device_support\f2837xd\examples\cpu1\adc_soc_epwm_tempsensor 

    Getting the above error, same as the previous one and with no change in the code.

    Please suggest proper solution to resolve this problem.

    Thanks

  • The error you are seeing is because "ESTOP0" is being defined in multiple places.

    It is possible (albeit unlikely) that some of the files might have gotten corrupted. 

    Could you share the F2837xD_device.h and F2837xD_DefaultISR.c files, that you are currently working with?

    Thanks.

  • .

    F2837xD_DefaultISR.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    //###########################################################################
    //
    // FILE: F2837xD_DefaultISR.c
    //
    // TITLE: F2837xD Device Default Interrupt Service Routines
    //
    //###########################################################################
    // $
    // $Release Date: $
    // $Copyright:
    // Copyright (C) 2013-2023 Texas Instruments Incorporated - http://www.ti.com/
    //
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions
    // are met:
    //
    // Redistributions of source code must retain the above copyright
    // notice, this list of conditions and the following disclaimer.
    //
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    F2837xD_device.h

    ok

    i have share both the files

  • SMPL, 

    Apologies for the late response.

    All "asm" instructions need to be preceded with a space, otherwise it is read as a function.

    This means that the "F2837xD_DefaultISR.c" will need to be updated wherever there are no spaces.

    For eg.

    Fullscreen
    1
    asm ("ESTOP0"); -> Needs to be replaced with -> asm (" ESTOP0");
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    This will be updated within the package as well. 

    Thanks.