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.

DRV8301: "Universal" GUI doesn't work

Part Number: DRV8301
Other Parts Discussed in Thread: MOTORWARE

Hello,

I recently downloaded the Universal GUI for instaSPIN. Before installing, it asked me whether I wanted to Uninstall the previous version of the GUI (bought this kit about 4 years ago - finally using it), and I answered "yes". The installation got hung up, so I eventually hit the "Cancel" button. Tried running it anyway and saw a really ugly GUI. So, I figured I'd re-install it, but to save some time I'd run the uninstallers in the gui composer folder. They are 'uninstall_ti_dspack.exe' and 'uninstall_ti_emupack_5.1.641.0.exe'. I reinstalled the Universal GUI program (successfully this time), but I still have the ugly GUI. The following messages appear on the Configuration page:

Restarting Program Model...
Initializing target : C:\ti\guicomposer\eclipse\workspace\.metadata\.plugins\com.ti.binding.program\appConfig.ccxml
Loading program: null
sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.lang.NullPointerException (<Unknown source>#18) in <Unknown source> at line number 18Restart Completed.

I've attached a Screenshot of the GUI.

Any ideas what I might need to do to get this running?

Thanks,

Dave Reagan

  • Hey Dave,

    An expert has been notified and will help you with this during business hours.

    Sincerely,
    Sanmesh U.
  • Dave,

    Can you please uninstall all instances of this GUI and GUI Composer?

    Search your Program Files directories and delete those directories as well please.

    Then install from fresh.

    Regards,

    -Adam
  • Hi Adam,

    Tried uninstalling and re-installing once already, but I didn't look through the Program Files directory. Thanks for the advice.

    Dave

  • Dave,

    Get it all working?

    Regards,

    -Adam

  • Hi Adam,

    Nah.. it's still exactly the same GUI, with all the components x'ed out. Here are the messages on the Configuration page:

    Restarting Program Model...
    Initializing target : C:\ti\guicomposer\eclipse\workspace\.metadata\.plugins\com.ti.binding.program\appConfig.ccxml
    Loading program: null
    sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.lang.NullPointerException (<Unknown source>#18) in <Unknown source> at line number 18Restart Completed.

    Thanks,

    Dave Reagan

  • Dave,

    Please link me to the exact board you are using and the exact software link you used.

    Regards,

    -Adam
  • Hi Adam,
    Here are the links you requested:

    www.ti.com/.../DRV8301-HC-C2-KIT

    www.ti.com/.../INSTASPINUNIVERSALGUI

    As I said above, I bought this kit about 4 yrs ago. The project I was working on got cancelled, so I never had much chance to check it out. The project has since been revived, so now I'm looking at instaSPIN again. I upgrade Code Composer to the most recent version (8.something), and I have motorware_1_01_00_18 existing alongside motorware_1_01_00_14, though in a separate folder. Originally, I had the InstaSPIN FOC and instaSPIN Motion GUIs on this machine. When I tried to install the Universal GUI, I was asked whether I wanted to uninstall the existing GUIs. I answered "yes". Maybe I shouldn't have. Maybe there are some supporting files, that are now missing as a result. I'll try uninstalling the universal GUI again, reinstalling the original two I had (if I can find them), then reinstalling the universal.
    Thanks,
    Dave
  • the components are x'd out because you aren't connected to a target that has those variables in the binary.
    I'm guessing you don't have an appProgram.out in the folder at all?

    the Universal GUI is to be used with a compiled MotorWare (pref v18) project.

    There is a UG here
    C:\ti\motorware\motorware_1_01_00_18\docs\guis\universal

    which explains that you can use the Universal GUI inside CCS, or create a .out inside of CCS, move it to the Universal GUI folder, and rename to appProgram.out so that it auto loads this .out when you run the GUI standalone.
  • Hi Chris,

    Thanks. That was it. The ReadMe Tab has instructions stating:

    "To use the GUI .exe, the compiled .out must be copied to the webapp folder, ex: C:\ti\guicomposer\webapps\InstaSPIN_F2802xM_UNIVERSAL\appProgram.out"

    I didn't realize the "appProgram.out" was meant to be taken literally (i.e. you have to rename the file).

    Thanks again, and

    Best Regards,

    Dave Reagan