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.

TMS320F28062F: After selecting the chip model in CCS, the compilation prompts an error in the CMD file.

Part Number: TMS320F28062F

Hello TI:

        I got a program from another engineer. I made some modifications but the test is abnormal. I want to use the emulator to debug. I found the following phenomenon when I opened the project settings.

        

        The chip model is not selected in the settings, nor the emulator model. If I want to choose which model of emulator to use, I must first select the chip model, otherwise this tab is not allowed to operate. I chose the chip model , which is consistent with the chip I am using, and the model of the emulator is selected. After compiling, some errors are reported.

        

        Some of these errors are address conflicts in the CMD file, and some are ISA instruction set conflicts.The most amazing thing is that after I re-import the program without selecting the chip model, the program can drive the control board to run normally.

        Is there any way to solve this problem? Although programs that do not select the chip model can be used, I still want to be able to connect the emulator to debug.

  • Hi,

    While selecting the device, the CCS might have added an additional linker command file (.cmd file) to the project causing duplicate definitions. Please remove the redundant one

    Regards,

    Veena

  • Hi Veena:

            I found this extra CMD file through the file comparison tool and decoupled it from the program. At this time, the problem of CMD file conflict disappeared. But there is still the problem of ISA instruction set conflict.

            Among the conflicts of "C28FPU32", the answer I got in a previous question was: "fp_mode = fpu32". My program settings are already in the "fp_mode = fpu32" state. But there are still such problems.The rest are ISA's "C2800" conflicting with existing "C2700".How can these be resolved?

  • Are you using any libraries which was built for C27x?

    Regards,

    Veena

  • No,The library files I use all contain the name "C28xx", and I don't use the files containing "C27xx".

    Besides, these errors all appear after the chip model is selected. Before the chip model is not selected , the program can be compiled and run. I have been running this program for two weeks.

    As an additional question, the program monitors the results of the ADC acquisition and finds that the ADC results do not change after power is applied.This results in the inability to calculate the changes in phase current and phase voltage. The motor also fails to start at this time.

    If there is no solution to the problem I raised before, you can help me find a solution first. Because this error will not cause my debugging progress to lag when I don't need the emulator. But the new problem has delayed me now progress.

  • For the C28x/C27x issue, can you do a project rebuild and share the console output?

    On your second query, can you please start a new E2E thread?

    Regards,

    Veena