• 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 » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » HALCoGen Ethernet Driver and lwIP Integration Demonstration
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

HALCoGen Ethernet Driver and lwIP Integration Demonstration

This question is answered
subramanya sathyanarayana
Posted by subramanya sathyanarayana
on Apr 24 2012 10:10 AM
Intellectual270 points

Hi, 

I ran the demo project released at http://processors.wiki.ti.com/index.php/HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration  on the TMS570LS3137 HDK.

I'm  using my laptop as the DHCP server (by running DHCP Server v2.3.1) and i have connected the ethernet port of HDK to my laptop. I didn't come across any error, but I didn't get any message of successful connection either. 

How to solve this? 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Diwakar Bansal
    Posted by Diwakar Bansal
    on Apr 24 2012 10:43 AM
    Intellectual1280 points

    Hello Subramanya,

    We are looking into this question.

    Regards,

    Diwakar

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pramod Bhardwaj
    Posted by Pramod Bhardwaj
    on Apr 24 2012 22:25 PM
    Prodigy450 points

    Subramanya,

    Please provide a dump of the output on the console. BTW, are you using a crossover cable or a straight cable?

    Regards,
    Pramod

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • subramanya sathyanarayana
    Posted by subramanya sathyanarayana
    on Apr 25 2012 01:35 AM
    Intellectual270 points

    Hi, 

    In the console, i didn't get any message apart from "CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0".

    And I'm using a Category 5(twisted pair cable). I guess it is not a crossover cable (But i'm not sure)

    But actually, what am I supposed to do after building this project in order to establish the connection?

    I did all the hardware setup mentioned in that wiki page. 

    Am i supposed to do any modifications in the code ?

    Thanks and regards

    Subramanya 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pramod Bhardwaj
    Posted by Pramod Bhardwaj
    on Apr 25 2012 02:06 AM
    Prodigy450 points

    Subramanya,

    I was referring to the serial console output (SCI) on the PC. For details refer to the last screenshot on the Wiki Page.

    Regards,
    Pramod 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • subramanya sathyanarayana
    Posted by subramanya sathyanarayana
    on Apr 25 2012 04:17 AM
    Intellectual270 points

    Hi Pramod, 

    Actually that was  a blank screen. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • subramanya sathyanarayana
    Posted by subramanya sathyanarayana
    on Apr 26 2012 03:09 AM
    Intellectual270 points

    Could anyone please guide me with this demo project.

    I did Connect ethernet port on HDK to a network with DHCP Server, enabled the Ethernet on EVM by setting switch S2 bit4 to On and Connected the JTAG USB port to PC. 
    After debug, i dont get any message on the console.
    What else am I supposed to do? 

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pramod Bhardwaj
    Posted by Pramod Bhardwaj
    on Apr 26 2012 05:41 AM
    Verified Answer
    Verified by subramanya sathyanarayana
    Prodigy450 points

    Subramanya,

    Even before initializing the Ethernet Drivers and lwIP there are a couple of debug messages printed (eg., "HERCULES MICROCONTROLLERS"). If there was problem with the EMAC/lwIP initialization at least these should have been printed. Here's a list of things to try:

    1. Ensure that you are using the correct COM Port (Check the device manager)
    2. Execute the SCI/LIN example from the HALCoGen release and check if the output is visible on the COM port.
    3. When the executable (lwIP demo) is running where is the PC looping. (please attach screen shot).

    If none of these helps, then let's plan to have a webex session tomorrow. I'll send you the details via eMail.

    Regards,

    Pramod

    1
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • subramanya sathyanarayana
    Posted by subramanya sathyanarayana
    on Apr 26 2012 08:52 AM
    Intellectual270 points

    Pramod,

    Its working now.

    The problem was i was using a different COM port. So i never got any messages on the console. 

    .  

    Now, here are the 2 o/p messages of console. The first one is the o/p when i used my laptop as DHCP server. (by running dhcpsrv2.3)
    2nd one is using a router. 
    what could possibly be the problem of initializing the hardware in the first case?? 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pramod Bhardwaj
    Posted by Pramod Bhardwaj
    on Apr 26 2012 21:44 PM
    Verified Answer
    Verified by subramanya sathyanarayana
    Prodigy450 points

    Subramanya,

    Good to know that things are working now. The failure, with the first setup, could be because of the DHCP server not issuing the IP address. Have you tried verifying the DHCP server with another device (eg., another laptop)?

    Regards,
    Pramod

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • subramanya sathyanarayana
    Posted by subramanya sathyanarayana
    on Apr 27 2012 01:55 AM
    Intellectual270 points

    Pramod,

    Yes,
    That was the problem. DHCP server is not providing IP address for any devices connected. I'll try it with any other software and try to make it work.

    This demo project was quite helpful. Thanks for that. 

    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