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.

DRV8412-C2-KIT Won't run motor

Other Parts Discussed in Thread: CONTROLSUITE, DRV8412

Hi,

We're trying to use the DRV8412-C2-KIT and followed the GUI quickstart to the letter but no matter what we do, we can't seem to make none of the motors spin.

We have three kits but none of them work. The DC voltage on all outputs (A/B/C/D) doesn't rise above 0.6V.

The motor themselves work when connected to external power supply. 

Also the computer connects to the MCU , and we even got a feedback fault error when we switched the S1 switch. 

 

Thanx Roy.

  • Roy,

     

    I am sorry for the delayed reply...I was out on vacation last week.  

     

    What revision of the EVM do you have?  F or G?  I can help you after knowing this.

     

     

     

  • This customer come to me and told that he has revision G, can you help right now ?

  • Daniel,

    My guess is that the wrong image was flashed onto the controlCARD during kitting and that is why the GUI will not work with the kit.

    Please go to ControlSUITE.  You will have to install it at the link below if you haven't already done so before:

    http://focus.ti.com/docs/toolsw/folders/print/controlsuite.html

    Navigate to the DRV8412-C2-Kit and you will find a ".out" file that is associated with the REVG EVM.  There are also instructions for flashing the controlCARD with this new .out file.  Follow the instructions and then run the GUI.  

     

  • Ryan,

     

    Sorry for the long delay between posts but I managed to flash the controlCARD with the file "DRV8412GUIv5.out" found on the DOK.

    Still the motor didn't run  when I loaded the GUI.

    We would appreciate any other leads on the matter.

     

    I could try running a simple code just to test the motor with the code composer. If you could point me to such an example it could be a step in the right direction.

     

    Thank you,

     

    Roy.

  • Roy,

     

    Example code can also be found on ControlSUITE.  I posted the link on the previous post.

     

    After install, you can navigate to /TI/controlSUITE/DRV8412-C2-Kit_v1.2 and find sample projects in there as well as the latest GUI files and ".out"  I am not sure from where you pulled the v5.out, but ControlSUITE has v6.out now.  Make sure you have "REVG" of the hardware, flash the card for ...v6.out and then run the version 6 GUI.  The GUI and .out versions need to match in order to function properly.  

     

     

  • Hello Roy,

    I met recently the same problem and worked it around in this way:

    1,Connect and set up the KIT as in the quick start guide.

    2,Using the v5.exe, which was found in the USB stick, delivered with the KIT.

    3,You should get a warning, saying no port found. That means we have to connect the board manuelly.

    click Connection --> start connection Wizard --> and so on. Find the COM number and connect! There is a video about DRV8412-C2-KIT on ti.com, which is very helpful at this point.

    4,controlSUITE sees now the board and you can control the KIT through the GUI.

     But this is not a clean solution, the best way is to reflash the controlCARD with the right .out file and use the respongding .exe (GUI).

    best regards,

    Long

     

  • This is an addition to my reply.

    Today I reflash the controlCARD with CCSv4 according to the file named "how to flash controlCARD.txt" found in documentation of controlSUITE.

    The out file I used is v6.out, because my board is RevG. After all done, I can use the GUI for Rev G from the controlSUITE to control my motor.

    Just one Hint: the single switch SW3 must be set to on(down), defautly it is off(op), to enable the reflash. After reflash turn it to off(up) again.

    If it dosn't work after successful reflash, manuelly connect in GUI, make sure the COM port with the right number and  turn the power down and on.

    Now make the motor running!

    best regards,

    Long

  • How did you get .v6 out from the stick? I only found "DRV8412GUIv2.out" and "DRV8412GUIv9.out". Please help. Thanks

    I am not able to follow CCSv4 to flash.

    power board, connect USB JTAG, launch CCSv4 ----- delete all other projects (right click, delete) --- view -> targets -> user defined make sure xds100-f28035[default] make sure no targets under projects folder --- launch debug (green bug) connect target target -> load program 2xPM_Motors.out ------ terminate all controlCARD is now flashed ----- power cycle before connecting GUI

    If I can flash v2.out and use the v2 gui it should work. is this assumption right? Or if somebody has a DRV8412GUIv6.exe gui that he can direct me to download.

  • I am able to flash after some reading and I think I flash the s/w successfully with the following console msg.

    [Console output redirected to file:

    C:\ti\controlSUITE\development_kits\DRV8412-C2-KIT_v131\~GUI\DRV8412GUIv2.out]

    I would appreciate if you could provide me with the .v6 out file and executable file.

    You can send it to my email at kleong98@gmail.com. Thanks

  • Kam,

    As long as you use the same version of .out and .exe file, you should be fine. Re-flash the control card with either v2 or v9, and use the corresponding GUI.

    Matt

  • Matt,

    Thank you for the quick response.

    I managed to connect to the target and loaded the out file and got an error either with the .v2 or v9 files. The error that I got a "Failed to load program" and the reason is  "Invalid file format" .I checked the disassembly window and it seems to have all the embedded code. Is it possible to send me the files?

  • Matt,

    One more issue I also lost the original code in the micro. The red light does not blink anymore. I think CSS4 erase all code before flashing the new code and in my case it did not flash successfully due to invalid format. Please help.

    I am learning as I go along finding these issues. Interesting and also frustrated..... Please help. 

  • Kam,

    I have a few suggestions. I ran through this procedure and successfully got my EVM to spin the motors. I have also attached my v9 files, in case yours have become corrupted.

    First, can you run through the hardware setup on page 3 of the Quick Start Guide (\ti\controlSUITE\development_kits\DRV8412-C2-KIT_v131\~GUI\QSG-DRV8412-C2-KIT-GUI, or in the zip file I have given you) EXCEPT make sure SW3 is in the ON (DOWN) Position. On my board some of these settings were not correct originally, and prevented me from loading the .out file.

    Second, can you verify that the USB emulator is installed correctly (ControlPanel-> System->Hardware->Device Manager; looking for USB Serial Port under Ports, mine  was COM5).

    Third, please try re-flashing the control card using CCS with my .v9 out. Rrun me through your procedure and tell me any issues that you have with it. I had a little bit of trouble getting CCS to cooperate, but eventually got it to successfully load the .out file.

    Fourth, if all the above steps work; make sure to power cycle the device before starting the GUI.

    Thanks,

    Matt

    8156.GUI.zip

  • Matt,

    Thank you for the information and by the way your zip file is corrupted and I could not open it.

    However, I reloaded the control suite from the USB key and I still have problem loading v9 giving me again a file format issue. I did successfully loaded v2 instead and is working. I thank you for your help and I learn quite a bit about the CCS4 environment going thru the exercise.

    Thank you again for your guidance and help.

  • Kam,

    You are correct, that zip file is corrupted; sorry about that.

    I'm glad that you successfully loaded v2 and got your EVM working! If you come across any other issues, please post them here and we can provide any more help, if needed.

    Thanks!

    Matt

  • Hi!

    I'm having the same problem with my board; the GUI is up and running, I can connect alright but the motors won't spin, and the DC Bus voltage just has a grey circle next to it and I think it is supposed to be green, yellow or red.

    I think I need to reflash the card, only I have CCS Version: 5.2.1.00018 installed and I don't think I have the proper software add-ons for the DRV8412 EVM. Can someone tell me what steps I can take in this matter?