TI E2E Community
Hercules™ Safety Microcontrollers
Hercules™ Safety Microcontrollers Forum
HALCoGen Ethernet Driver and lwIP Integration Demonstration
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?
We are looking into this question.
Please provide a dump of the output on the console. BTW, are you using a crossover cable or a straight cable?
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
I was referring to the serial console output (SCI) on the PC. For details refer to the last screenshot on the Wiki Page.
Hi Pramod, Actually that was a blank screen.
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?
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:
If none of these helps, then let's plan to have a webex session tomorrow. I'll send you the details via eMail.
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??
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)?
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.
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.