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.

How to flash an example program on the ControlCard?

Other Parts Discussed in Thread: DRV8412, CONTROLSUITE

Hi,

I am trying to reflash the control card with the .out file from the example program 2xDCmotor. I already had to reflash the card with the GUIv9.out and everything worked perfectly so I would like to know if I have to use a different approach with the programs .out file. I am working on a DRV8412 C2 kit and the control card is Picollo F28035.

Nika

 

 

  • Nika,

    The instructions to flash the 2xDC_Motor program onto the control card can be found in Dual Axis BDC.pdf (\ti\controlSUITE\development_kits\DRV8412-C2-KIT_v131\2xDC_Motor\~Docs).

    May I ask the reason you need to use this example program?

    Thanks,

    Matt

  • Matt,

    I have already done that, but i was trying to see, if you can change data in the source code and then see the changes on the GUI. But whenever I flash the example program on the Control Card and then close the code composer, GUI doesn't work. I assume, that this program is compatible with GUI, since it includes all the same parameters and orders?

    Best regards

    Nika

     

     

  • Nika,

    The 2xDC_Motor program is not intended to interact with the GUI. The file GUI_project is the firmware to be used with the GUI.

    Thanks,
    Matt

  • Matt,

    thank you for your info. I managed to get everything up and running with GUI_project and i was hoping that you could help me with another issue. I went through the source code but I cannot find the part of the code, that interacts with the interface? Where is data being saved and where are the functions, that transfer this info to GUI? I am quite new to the programming part, so that info would be very helpful.

    Regards,

    Nika

     

  • Nika,

    If I may ask, what specifically would you like to view/modify? I may be able to narrow down the code if you give me a description of your application so I know what to look for.

    Thanks,

    Matt

  • Matt,

    I will create a new interface with matlab and that's why I would like to see where exactly the code is transfering data to GUI and I will need all the commands from the GUI.

    Regards,

    Nika

  • Hi Nika,

         The GUI and f2803x communicate using the COMMROS program from Crosshairs Embedded and serial data transfer. Please see the following link for more information on COMMROS, http://crosshairsembedded.com/upload/2011/10/14/crosshairs%20commros%20user%20guide.pdf. I am not to familiar with it but I believe the functionality you are looking for is located in the commros_full.h, Commros_user.h, and Commros_user.c files. From there should be able to begin figuring out how to setup an interface with MATLAB.

    Best Regards,

    Nick