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/CODECOMPOSER: F28379D support compatible GUI composer version for the application devloped using ccs Version: 7.1.0.00016

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi all,

Please let me know the F28379D support compatible GUI composer version for the application developed using ccs Version: 7.1.0.00016

Could see one of the post in the below link, the package would be release in March 2017.

Kindly let me know the bootloader implimentation as explained below can be simulated using the GUI composer.

Requirement/Implimentation: A custom bootloader application which executes on f28379d controlcard which will get the application for the custom downloader tool over a CAN and will load it on the flash. 

Wanted to simulate using GUI composer, is it possible?

  • f28379d_gui_error.zipHi all,

    Tried example timer toggle(timed_led_blink_cpu01) project with gui composer, it is not working ,...

    Please find the screenshot, the led status on board is also not blinking, tried with CCS the led status is blinking, look f28379d support is not there in gui composer.

    Kindly let me know f28379d support is available.

  • When I open GUI Composer from dev.ti.com I see F28377D listed as supported

    When you say that you tried timed_led_blink_cpu01 with GUI Composer what do you mean?  Did you create a new GUI Composer project and point it to the .out for that program?  Did the LED not blink or were you not able to get a widget in GUI Composer connected to a variable?

    If the program is not running can you try the suggestion listed in this thread and see if it makes a difference:

    https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/601175

    John

  • Hi JohnS,

    Thank you for you are reply.

    Later came to know there is support is avaialbe for f28379d, then verified timed_led_blink_cpu01.out with CCS and GUI composer.
    I am facing the issue mentioned in the thread you have specified, e2e.ti.com/.../601175

    will verify and will provid the results.

    Thanks
  • Hi JohnS,

    Am using windows7, could not able find the path you specifed,
    There is no loaders folder available in TICloudagent folder.
    C:\Users\<username>\TICloudAgent
  • AppData is a hidden folder by default on Windows. You should be able to type it into the address bar in Windows Explorer.  The loaders subfolder will get created when it installs support for the device you are using which will happen the first time you try to connect to the device.

    <user folder>\AppData\Local\Texas Instruments\TICloudAgent\loaders\ccs_base\emulation\gel

  • Hi JohnS,

    Here is the list of files available in the path you said, modified the f28379d_cpu1.gel as you said and verified.

    Looks like the image is not reflected on the board, means led is not glowing on board as well as on gui, the same image will work with ccs.

    1084391 28420 May 17 16:57 f28377d_cpu1.gel

    1084391 24416 May 17 16:57 f28377d_cpu2.gel

    1084391 27322 Jun  6 13:52 f28378d_cpu1.gel

    1084391 23318 Jun  6 13:52 f28378d_cpu2.gel

    1084391 28462 Jun 12 18:08 f28379d_cpu1.gel

    1084391 24421 Jun  6 13:47 f28379d_cpu2.gel

    Thanks

  • Hi Johns,

    I could see one gel file in old f28335 bootloader application project, the DSP2833x_Peripheral.gel file will also be created by default. please let me know?

    Thanks
  • I would have expected removing the GEL_Reset() to have done the trick.  I will need to loop someone else in to help.

    John

  • Hi Ashok,

       Just to make sure I'm in sync with you, I've created a project for the F28379D Control Card (see attached) that is  based on the timed_led_blink_cpu01 example, modified so that it is configured to run from Flash and using a global variable to control whether the LED blinks or not ('test_LED_global') and a global variable to indicate whether the LED is on or not ('on').  

    I've also posted a GUI Composer project that provides a GUI that interacts with these global variables, with a toggle switch controlling the state of test_LED_global and an LED widget that reflects the state of the 'on' variable.  It's available at https://dev.ti.com/gallery/search/F28379D_CCard 

    • To run the demo, just click on the 'tile'.  
    • To fork the GUI Composer project so that you can customize it, click on the GUI Composer icon 

    There are a couple of things to note in the target code:

    Could you please verify that this works on your setup?  We can then have a common baseline for working through any specific problems you are running into.

    Regards,

      Brian

    F28379D_CCard_timed_led_blink_cpu01.zip

  • Hi BrianC ,

    Thanks for you are reply.

    Super you are application/image is working as expected with out gel file modifications.

    In my case no difference yet.
    I knew that the volatile has to be used for global variable in this case.
    Please find the attached zip file for the source code project and screenshots.

    Please let me know any comments.

    Thanksgui_led_status_15_6_17.zip

  • Hi Ashok,

       Could you try changing your project configuration from CPU1_RAM to CPU1_Flash?

    • right click on the project in CCS, select Build Configurations / Set Active / CPU1_Flash
    • rebuild the project.
      • You may need to adjust your project memory range settings to run from Flash instead of RAM
    • in GUI Composer,
      • select Project Properties, click next, select the my_xds node
      • click the garbage can icon to delete the current target program
      • click the Upload... button and browse to your project's CPU1_Flash folder and select the .out file

    Regards,

      Brian

  • Hi Bian,

    Tried, as you mentioned but no success. Please find the attached project source code, if you are able to do with the same please let me know.timed_led_blink_cpu01.zip

      Thanks

     Ashok

  • Could you try changing your ISR code to the following:

    __interrupt void cpu_timer0_isr(void)
    {
    CpuTimer0.InterruptCount++;
    led_status = (led_status+1) % 2;
    if (led_status){
        GpioDataRegs.GPBCLEAR.bit.GPIO34 = 1;
    } else {
        GpioDataRegs.GPBSET.bit.GPIO34 = 1;
    }

    //
    // Acknowledge this __interrupt to receive more __interrupts from group 1
    //
    PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;
    }

     

    Regards,

      Brian

  • Hi BrianC,

    Thanks for you are attention.
    It is working now.
  • For future reference, attached is the CCS project referred to earlier, with the actual source files included instead of sym links to the C2000Ware examples directory.

    Regards,

      Brian

    3060.F28379D_CCard_timed_led_blink_cpu01.zip