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/TMDSHVMTRPFCKIT: How to reflash the control card with the BLDC code using CCS v9

Part Number: TMDSHVMTRPFCKIT

Tool/software: Code Composer Studio

Ok so we just go the TMDSHVMTRPFCKIT to start testing our HV BLDC motors. the only problem is the card is flashed with the code optimized for running sensorless FOC on ACI and PMSM motors. They have supplied the code for BLDC motors.

The issue I have is that the instructions for reflashing are not very clear but also only correspond to CCS v5 and the current CCS is v9.

I'm assuming I can use the "DC-PwrEntryMacro[M6]" port and power supply included in the box to power just the card and allow reflashing without having to supply mains power to the whole board.

Basically It's just not clear to me how to link CCS v9 to the dev kit and reflash the control card with the BLDC code.

  • You are right about powering with M6.
    Regarding flash, it should be like how you did with ccs v5, and don't expect any change.
  • Hi thanks for confirming the power through M6, also I presume the switch needs to be flicked over toward the M3 USB socket

    The problem is that I haven't used any of the CCS versions before, I'm a complete noob, we have only just bought this kit and the txt file describing how to do it with CCS v5 doesn't seem to relate to what I'm seeing when I open the CCS v9 application.
  • Alex,

    Ramesh asked me to take a look at your post.

    In regards to Flashing in CCSv9: You can create a target configuration file (CCS Debug view -> View -> Target Configurations -> Right click on User Defined -> New Target Configuration File) by selecting the emulator and the device that you want to use.

    Once you power-up your device and connect the emulator from the host PC to the kit, you can launch the target configuration file in CCS (Right click on the target configuration file that you create and click on launch selected Configuration). Once it launches successfully, you can connect the core to the debugger in the Debug window.

    To reflash: CCS debug view -> Run -> Load -> Load Program (select the image that you want to program to Flash).

    Thanks and regards,
    Vamsi

  • Hi Vamsi

    Thanks that worked.

    What I don't understand a the moment is how to get an example project from control Suite into CCS v9 specifically

    "ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVBLDC_Sensored"
  • Managed to resolve this last issue myself
  • Alex,

    Glad that it helped and that you are able to resolve the issue.
    I am closing this post.

    Thanks and regards,
    Vamsi