• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » MDL-BDC24 does not connect to PC when using command line mode
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • Stellaris PinMux Utility
  • Stellaris® LM4F120 LaunchPad
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • MDL-BDC24 does not connect to PC when using command line mode

    MDL-BDC24 does not connect to PC when using command line mode

    This question is not answered
    miguel roncancio
    Posted by miguel roncancio
    on Sep 07 2012 14:14 PM
    Prodigy100 points

    Hi

    I connected succesfully and ran different modes the motor controller MDL-BDC24 from the GUI, however when trying to send commads, the controller does not connect.

    When I send the command "bdc-comm -c 1"  I got  "#" promt, then "# heartbeat" and the answer is "# hearbeat OFF", still no change on the motor controller. I tried other commands but no change. The GUI version is 101, windows XP

    Any clue?

    Thank you,

    Miguel

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lela Garofolo
      Posted by Lela Garofolo
      on Sep 10 2012 09:46 AM
      Genius17190 points

      Miguel,

      I'll have to go back through a setup.  I remember having a similar issue...and off the top of my head there is a contention issue if you have com0com installed.  If you have it installed, do a un-install on it and try it again.

      I'll let you know what my results yeild.

      Lela

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • miguel roncancio
      Posted by miguel roncancio
      on Sep 10 2012 12:42 PM
      Prodigy100 points

      Lela,

      I am using a true serial COM port from my PC. I guess there should be a special command to open and setup properly the COM port. Remember that the motor driver works fine when accessing from the GUI.

      Bottom line, I want to verify that I can run the controller using serial commands. The final idea is to generate and send these commands from a PLC.

      Thank you,

      Miguel 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lela Garofolo
      Posted by Lela Garofolo
      on Sep 10 2012 14:27 PM
      Genius17190 points

      Miguel,

      What are your com settings?  The UART interface is run at 115,200 baud with eight data bits, no parity, and one stop bit (8-N-1).
      This is a standard UART rate and data configuration.

      Lela

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • miguel roncancio
      Posted by miguel roncancio
      on Sep 10 2012 14:40 PM
      Prodigy100 points

      Lela,

      Verified!  Flow contros is set to None

      Miguel

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lela Garofolo
      Posted by Lela Garofolo
      on Sep 10 2012 16:55 PM
      Genius17190 points

      Miguel,

      Have you been able to establish serial communication with anything else on com port 1?  Please close any applications that would cause contention on com port 1  i.e. the GUI, etc.

      Lela

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • miguel roncancio
      Posted by miguel roncancio
      on Sep 11 2012 07:11 AM
      Prodigy100 points

      Lela,

      Yes, I used COM1 it to connect another tools like to flash my PLC. After that I restarted the PC and just in case I manually disabled/enabled the COM1 and set the proper speed and settings you mentioned above.

      Again, I use this port to use the motor driver using the GUI and worked fine. I can drive the motor in any direction and/or position.

      Something interesting is that when I iniitially start the GUI interface, if for example the motor driver is unpowered or the DB9 disconnected, the STATUS shows CONNECTED, if I click on that tab the status will be show DISCONNECTED, click again and shows CONNECTED, Still I cannot do anything because all the other tabs (Mode, Configuration ..) stayed grey out.

      If the motor is powered and DB9 connected  all tabs will be available once I start the GUI.

      What is the command to connect/disconnect the port? Do you have a script that can do this job? I set the port at the proper speed using windows but just in case, what would be the command to set the speed from the command line?

      Miguel

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lela Garofolo
      Posted by Lela Garofolo
      on Sep 11 2012 16:23 PM
      Genius17190 points

      Miguel,

      I spoke with one of the other engineers in the office.  He told me that v101 is an indication you are using a First specific software for the GUI.  Can you tell me what version of Firmware is programmed into the MDL_BCD24?  You can find out by going to the configuration tab on the GUI. 

      Lela

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • miguel roncancio
      Posted by miguel roncancio
      on Sep 12 2012 11:59 AM
      Prodigy100 points

      Lela,

      The Configuration tab of the GUI does not show any information of software version. On the System tab  is shows Hradware version 2, and Firmware version 8161. On Help/About tab the version shown is 101.

      Which version I am suppose to use?

      Miguel

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • miguel roncancio
      Posted by miguel roncancio
      on Sep 21 2012 10:06 AM
      Prodigy100 points

      Lela,

      Please advice what is the software version you recommend to run this controller properly

      Thank you 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lela Garofolo
      Posted by Lela Garofolo
      on Sep 21 2012 10:24 AM
      Genius17190 points

      Miguel,

      My appologies for the delay.  I did not get the last response for some reason it didn't auto-generate a notification to me. 

      Please use version 9107, download at http://www.ti.com/tool/sw-rdk-bdc24.  This is the Stellarisware version.  I'm not sure how you ended up with First SW...but it will be easier for me to provide support with the Stellarisware only.

      I am going through a set up with one of the kits here too.

      Lela

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lela Garofolo
      Posted by Lela Garofolo
      on Sep 21 2012 13:28 PM
      Genius17190 points

      Miguel,

      One more quick question...what color is your Jaguar kit?  Brown or black?

       

      Lela

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • miguel roncancio
      Posted by miguel roncancio
      on Sep 21 2012 13:59 PM
      Prodigy100 points

      Black

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lela Garofolo
      Posted by Lela Garofolo
      on Sep 21 2012 14:45 PM
      Genius17190 points

      Okay good...The BCD-COMM only works with the black RDK-BDC24 kit. 

      when you get to the #

      type the following in the order:

      system enum         < should print out system enum = 1>

      id <value printed out by system enum>

      volt set 10000     

      The motor should spin.  The default mode is voltage mode, so you do not have to enable it.  The heartbeat command toggles it on/off each time you enter it.

      Lela

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • miguel roncancio
      Posted by miguel roncancio
      on Sep 26 2012 07:49 AM
      Prodigy100 points

      Lela,

      My 24V battery went dead so it took me some time to re-charge it

      System shows  System enum =1

      System shows Id = 0  --> LED blinking

      When sent the command volt set 10000 --> no motor activity

      I set a new ID =2 from GUI, then repeat DOS commands above, here the new response:

      System enum = 2

      Id = 0

      Still no motor activity and LED still  blinking

      ??

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lela Garofolo
      Posted by Lela Garofolo
      on Sep 26 2012 11:48 AM
      Genius17190 points

      When you typed system enum it printed, "=2"?

      If so, type the exact following, in the exact same order:

      type the following in the order:

      id 2

      volt set 10000     

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    12
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use