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/RM48L952: Need help to change old GUI Composer project

Part Number: RM48L952
Other Parts Discussed in Thread: DRV8301, SEGGER, , TMS320F28054M, MOTORWARE, TMS320F28069M

Tool/software: Code Composer Studio

Hello!

I want to do some modification of GUI Composer project included in DRV8301-RM48-KIT.

In kit, there is GUI Composer v1.5.2.1 runtime and CCS v5.2.

Based on TI Wiki, I expected that I will find GUI Designer in CCS v5.x, but it is not so: there is no GUI Designer in CCS v5.2. Please, change wiki page, it is not correct to say "GUI Designer present in CCS v5.x" if there is no GUI Designer in CCS v5.2.

GC project in kit work perfectly only with GC v1.5.2.1 runtime from DVD included in kit and does not work in GC beginning from v1.7.0.0 runtime.

I install CCS v5.3, CCS v6.2, and it is unable to import GC project in Code Composer Studio: there is no any widget.

So, my question is: how can I change included GC project or update that GC project to use with latest GC1 version?

Second question: is it possible to use GUI Composer v1 or GC2 with RM4x and JLink ULTRA+? XDS100v2 in RM48CNCD control card is the slowest debug probe which I used. I know that JLink may work with AHB bus instead of default APB bus, and therefore can do a background memory access.

Regards,

  Vitaliy Bortsov

DRV8301_RM48_FOC_SMO_wEncoder.zip

  • Hi Vitaliy,
    Sorry for the delay. I have brought this thread to the attention of the GUI Composer experts who can answer best

    Thanks
    ki
  • Hi Vitaliy,

    The GUI Designer is no longer shipped by default, you can install it from the CCS App Center. Are you trying to modify the DRV GC app? Or you just want to use it with the latest runtime? Can you please screen capture the errors and post it here?

    I am not familiar with the JLink ULTRA. But if you can get it to work within CCS, it should be possible to get it working for GUI Composer as well. We don't support JLink for GCv2 at the moment.

    Regards,
    Patrick

  • Hello, Patrick.

    I want to do modification of DRV GC app.

    Of course, I install GUI Designer from CCS App Center in v6.2.

    JLink is supported by CCS v7 "out of the box" and with update site for CCS v6.2. Look at https://www.segger.com/products/debug-probes/j-link/technology/ides/ti-code-composer/

    What I need to do to change GC App for working with JLink?

    Regards,

      Vitaliy

  • Hi Vitaliy,

    This app is very old and we don't have an automatic upgrade path to convert it to the latest supported library version. If you still want to convert it manually yourself, you can try changing the libraries to have the same format as a new project. Also, the project has missing .json file for some of the html file, as well as the libs.settings file in the .settings folder. It is best to edit the files in an external editor by copying what is generated by the designer with a new project to the existing FOC app.

    I hope this help.

    Patrick

  • Hello, Patrick.

    Thanks for answer. I'll do it manually.

    What about JLink?

    Regards,

      Vitaliy

  • Patrick,

    Is there available any version of GUI designer to open that GC FOC app? What version of GUI Designer was used to create that old GUI Composer App?

    IMHO, it is better to use old GUI Designer instead of read and understand .html and other files.

    Regards,
    Vitaliy

  • Patrick,

    FOC GUI Composer App for Hercules platform is about 5 years old. For me it is strange to hear for Hercules platform "app is very old".
    5 years is not no too big time for industy.

    For reference, what is TI's support time for some kind of TI's software (for example, GUI Designer/GUI Composer) for TI's platforms?
    Is it unknown and any GUI Composer/GUI Designer App may not work at any time for new version of GC? What is lifetime of GC2? GC1 was dropped, now TI offer GC2. What is global status of GC2?
    Maybe I have seen that time in some licenses but I can't remember.

    Regards,
    Vitaliy

  • Hi Vitaliy,

    This app looks like it was created initially with the GC v1 designer and then manually polished by hand. Hence, the designer failed to migrate it to a newer version. We try our best to have backward compatibility between different versions of GC v1 apps. However, if the author make changes to the app outside of the GC designer, we are unable to properly migrate the app between version.

    FOC app should still be working as a standalone app and it should also work when you drop it into CCS. What it doesn't work out of the box is importing into the GC v1 designer for modification. There are works that need to be done inorder to fix the libraries path, adjust the widget position/layout (CSS style), add/modify required meta files etc... before it can be import back into the GC v1 designer.

    You can use JLink, it should work the same as XDS. I also manually ported the existing app to the latest GC v1. Try downloading it and import it into the GC v1 designer, I haven't fully fixed the layout (styling) of the app, but it does open in the designer at least. I also didn't verify whether the app works with the device.

    GC v1 is incompatible with GC v2 due to different framework is used. Unfortunately, we don't have a path to automatically migrate apps from GC v1 to GC v2.

    Can you let me know what you are trying to do with the existing FOC app? Are you trying to build a new application based on the FOC GUI? I looked at the RM48L952 spec, it does support UART. Is using UART an option by modifying the firmware? The reason that I asked is that it might be possible to use GC v2 with UART for your app.

    2816.DRV8301_RM48_FOC_SMO_wEncoder.zip

    Regards,
    Patrick

  • Hello, Patrick.

    Very thanks for project! I'll try it a little later.

    I am designing next version of control board for lung breathing ventilator, based on my existing RM46/RM48 board. One of functions that control board is motor control. For now, I use PWM generated with N2HET and my own motor control.

    I want to use InstaSPIN-Motion enabled MCU (such as TMS320F28069M/TMS320F28054M), but it will be in the future: I will remove motor control from my control board and design a new board with that InstaSPIN MCU. It will be in the future, but now I need to do field oriented motor control on RM48L952 and tune up sample software from TI Hercules MotorWare.

    Therefore, I want to change FOC GUI app for faster design with my tuning and add some additional information, not only for motor control.

    About UART. Yes, I may use it to work with GC2. Moreover, I have access to existing CAN bus from PC and I have an application to transfer CAN stream to virtual UART port on PC, so I can use CAN bus to work with GC2 (GC2 will see usual COM port on PC).

    I am new in using GUI Composer and decide to learn it. Best learning result from my point of view will be using existing and working GUI application from TI, is it not so :-) ?

    Regards, Vitaliy.

  • Hi Vitaliy,

    GC2 has many example apps that are hosted in the Gallery and online tutorials that you can get started. Perhaps you have picked a complicated project to use as an example in GC1 :-(. I hope you can use the modified FOC app to continue with you design, let me know if you need any other help.

    Regards,
    Patrick