• 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 » BLDC kit - Problem with Ethernet Connection
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
  • Forums

    BLDC kit - Problem with Ethernet Connection

    This question is not answered
    Carlos Costa
    Posted by Carlos Costa
    on Oct 21 2010 06:16 AM
    Prodigy50 points

     Hi.

    I have a BLDC kit with LM3S8971. While measuring the signals around the board I burn out the uC and I replaced with another one.

    To program I used a JTAG parallel cable with the H-JTAG software. This works fine. I program the 'boot_eth' to the flash base adrress and the 'qs_bldc' to the 0x1000 address of the flash.

    The 'run Led' it's blinkg and pressing the DEMO switch the motor starts to rotate, so the program is runing.

    The problem is when I try to connect over ethernet to the BLDC-GUI application to communicate with the board. I don't know why this is not working. The yellow LED of the ethernet connector it's ON (with the cable connected) and the green LED turn ON sometimes too.

    Can anyone help me solving this problem?

    As the uC is a new one the I don't have the flash parameters programmed, as it says at the memory Layout in the User Guide... Could this be the problem? If yes where can I get those parametres?

     

     

     

     

    BLDC Ethernet LM3S8971
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Eric Ocasio
      Posted by Eric Ocasio
      on Oct 21 2010 10:00 AM
      Expert8850 points

      Let's start out with the obvious red flag... you said you burned out the original MCU.  That cannot be ignored!  Are you sure that other components on the board are not damaged?  Which pins were you probing when you damaged the device?  If there was a short, perhaps something else was damaged on the board.

      Assuming everything else is OK, the first thing you need to do is program a MAC address into the device.  If you use a debugger, changes are that it is skipping the Ethernet steps since the default MAC address is FFs.  Even if you don't have flash parameters programmed, you should still be able to communicate with the board.

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Carlos Costa
      Posted by Carlos Costa
      on Oct 22 2010 02:51 AM
      Prodigy50 points

      Thank you for your quick reply.

      I think that is the problem. If the MAC address it isn't correct ythis won't ever be configurated obver the LAN.

      I thought that one of the paramters would be the MAC address, so if I don't have it defined the uC would never communicate.

      How can I define the MAC adress? How would the application 'bldc_eth'  & 'qs_bldc' (together) work with this kind of problem?

       






      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Eric Ocasio
      Posted by Eric Ocasio
      on Oct 22 2010 14:02 PM
      Expert8850 points

      Basic networking.. everything  needs a unique address.  If the board doesn't have a MAC assigned, the application won't initialize the interface.  The correct way to get a MAC address is to request a block from the IEEE, but for testing purposes, you can probably just make up a number that is not all FFs.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Carlos Costa
      Posted by Carlos Costa
      on Nov 08 2010 10:44 AM
      Prodigy50 points

      Hi.

       

      Sorry but, I was out off office in the last days..

      I also think that the problem is the MAC address as I told you.

      In that way I would like to have all the parameters to define the MAC address. Can you tellme that information?

      The informaation of my BLDC Kit is:

      Opt Item: LBL 242A         (L) TO:1120

      (31T) LOT:  000624CTU

      (4W) TKY (1T): 0029682ZAF

      After that can you tell me how can I send those parameters to the MCU.

       

      Best Regards.

      Carlos Costa

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Eric Ocasio
      Posted by Eric Ocasio
      on Nov 09 2010 10:07 AM
      Expert8850 points

      I don't know what all of those numbers you listed there are...

      You obviously wiped away the factory programmed MAC addresss, and there is no way of getting that number back.  Like I said, for testing purposes, you can make up any number that is not all ff's.  If you want more information about what a MAC address is, try doing a search on Google.  I cannot give you a new MAC address because those are distributed by IEEE.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Carlos Costa
      Posted by Carlos Costa
      on Nov 10 2010 05:47 AM
      Prodigy50 points

      Ok.

      In that way, how can I change the MAC address to be able to comunicate with BLDC-Kit?

      What I need is to comunicate with the BLDC kit and change the motor speed.

       

      Can I have a Serial communication with a PC? If yes, can you teel me the comands protocol?

      Beste regards,

      Carlos Costa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Carlos Costa
      Posted by Carlos Costa
      on Nov 10 2010 06:53 AM
      Prodigy50 points

      In the last time I got the MAC and an IP addr, using the BLDC-GUI.

      To do that I must press the DEMO bottom on the board and the software qs-bldc load the DEFAULT_IPADDR (not DHCP).

      When I start the BLDC-GUI it founds the BLDC board with IP-169.254.89.71 and with the MAC-20:C1:00:00:20:C1.

      What should I do to have the board working with DHCP?

       

      thanks.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Eric Ocasio
      Posted by Eric Ocasio
      on Nov 10 2010 10:13 AM
      Expert8850 points

      You can try to implement a serial interface by starting with the ui_serial.c/h files from one of the other RDKs (like the stepper).  The command sequence is in the documentation, under the Ethernet Interface section.  The same command protocol is used for all interface types.

      If you hold the DEMO button for a couple seconds while starting up the board, you will force it into DHCP mode.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    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