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.

Gui Composer alternative GUI HVMotorCtrl+PfcKit_v1.7

Other Parts Discussed in Thread: CCSTUDIO

I'm currently trying to use the HVMotorCtrl+PfcKit_v1.7 with C2000 Microcontroller but instead I want to use GUI Composer to alter how the motor operates compared to the default GUI. I went to HVPM_Sensored folder to build the GUI since the c++ file is located there to control the Permanent Synchronous Motor. I'm trying to get it to function with the speedRef variable in a dial GUI but I got a connection error when used in conjunction with HVMTRPFCKIT-GUI-FlashImagev1.out when flashed:

sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error connecting to the target: emulation failure occurred (<Unknown source>#14) in <Unknown source> at line number 14Restart Completed.

I was wondering if anyone knows what I'm doing wrong or what I need to do to fix this issue.

  • I managed to change jumper from [M6]-J4 to [Main]-J9 to have it reflash the card from the gui. However I'm unable to get any response from the PMSM controlled by the C2000 Microcontroller. I tried using variables:

    SpeedRef - Dial

    rc1.TargetValue - Dial

    rc1.SetpointValue - Dial

    EnableFlag - Button

    I'm not very knowledgeable about this process just yet and was wondering if this approach will help me on allowing to control the PMSM. Could some one please reply to this post.

  • in CCS are you connected to the target through an emulator?

    in GUI Composer can you go into the view mode and instrument variables?

    did you deploy the GUI (selecting the correct emulation package)?