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.

CCS/TMS320F28379D: TMS320F28379D

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Ozino:

  I get errors while "build all" begins and starts build process.
Pl see attached. 

When I first got to the screen of project- build all, I got an option screen to select CU1, CPU2 or both.

Since in the end, we plan to use CPU1 for the LLC converter, I selected CPU1.

Then  after trying the redo the steps, I do not see the CPU selection any longer. 

And of course, the errors come up.

I am back in stuck mode.build_errors_cpu1.pptx

Any help will be high;y appreciated.

  • Robin,

    Can you provide the build output error that is visible before you attempt to load the program to the device. Once you select a CPU, it is set in the project settings. You will have to update if you intend to run it on another core.

    Regards,

    Ozino

  • Ozino:

    Pl see attached files-

    screenshot of clean project

    - Build log

    Hope I go the info you expect to see,.

    If not, I will try again.

    thnx much

    robinbuild_errors_cpu1_feb3.pptxbuild_feb3_1pm_log.docx

  • Ozino:

    Note that J15 in the LLC board is not installed. Is it even needed for this phase of checking out the converter  & the code?

    robin

  • Ozino

    I selected CPU1 at first.

    But I cannot still figure out where in the project I can rest the selection...if & when I would need.

    BTW: We will have 2 topologies running in the dual core MCU. They are independent. 

    So, it ought to be ok to select CPU! for LLC, right?

  • Robin,

    In the past it has been a bit difficult to retrieve the dialog window that gives you the option to select the core. However, it is always possible to select the cores to load the .out file to. Here is a document discussing how to debug with multiple cores: http://software-dl.ti.com/ccs/esd/documents/ccs_multi-core-debug.html

    Regards,

    Ozino

  • Ozino:

    Do you think it is a matter of selecting the correct CPU - without this one gets the errors I do?

    I notice all the examples relate to Spectrum Digital  emulation board. While we are using TI XDS110 emulation integrated on the control card. Does it make a difference on the set up?

    -robin

  • I don't think the emulation matters until you attempt to connect to the target and load the .out file. If you launch a target configuration with a different emulator than the one on the controlCard, you won't be able to load the code. Make sure that your .ccxml file specifies the correct emulator as the one on the device.

  • Ozino

    I thought I will recheck everything by going to the 1day workshop examples. Which I had started to work through a while. Using CCS9 at that time.

    I have uninstalled 9 since I got 8.2 to work with the HV2ph_llc project.

    The 1day workshop can be opened through any version after 6

    But  I get connection rejected citing CCS 9!

    FYI: all I have now is the TMS320F28379D control card connected through the USB  at the emulator & the Emulator is the integrated XDS100 or some such #

    See attached.

    Just no idea how to make progress!

    rconnection_rejection.pptx

  • Okay. At this point, I will recommend that you install the last tool chain used to build and test the kit. The last update of controlSUITE was March 28, 2018. So I will suggest you install CCS v8.0 or higher, which you have already done so. I would also recommend you use compiler v18.1.2.LTS. 

    From you initial connection error, it appears that you are trying to load this program to CPU2. Is this correct? If so, it looks like there is a reference to CPU1.

    I am able to build the project in CCS v8.2.0 with compiler v18.12.3.LTS. I am able to run the project on CPU2 core on F2837xD device using XDS100v2 (default Connection probe on controlCARD).

    Can you use XDS100v2 as your emulation connector?

    By the way, here are the steps i followed to load the code to CPU are as follows:

    - Navigate to 'View' -> 'Target Configurations'

    - Browse the projects directory til you find the .ccxml file for your project. Right-click and select 'Launch Selected Configuration'

    - Right click on the desired core to run and select 'Connect to target' ( I choose C28xx_CPU2 in this scenario)

    - Once connected, select the now suspended, desired core and select 'Run' -> 'Load Program' and choose the .out for the desired project.

    At this point, the program should be loaded to the desired CPU core and ready to run. Select the core and select 'Run' -> 'Resume'

    I hope these steps provide some clarity in running this example.

    Regards,

    Ozino

  • Ozino

    Thnx a lot: gives me clear path to move forward.

    I am going to follow your instructions & let you asap.

    r