The program "EASYWEB" does not work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The program "EASYWEB" does not work

2,119 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kevin on Thu Mar 21 13:57:27 MST 2013
I'm using the example program "EASYWEB," and I'm trying to make the program respond to a "ping" command from the computer. In the code "EASYWEB" just set the pins on the ethernet put the ping command does not work.
can someone help me
0 Kudos
Reply
11 Replies

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Sun Mar 24 01:53:34 MST 2013
Following zero's post it should work
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kevin on Fri Mar 22 07:17:38 MST 2013

Quote: Serge
EASYWEB is written for a LAN8720 PHY and you are using a DP83848CVV PHY.

Did you change the EASYWEB program to work with the DP83848CVV instead of the LAN8720 ??



I did not changed the "LAN8720 PHY" to "DP83848CVV." How do I change this?
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Mar 22 07:02:40 MST 2013
:confused:

What do you think is:

 // Just check this actually is a DP83848C PHY
  phyid1 = ReadFromPHY (PHY_REG_IDR1);
  phyid2 = ReadFromPHY (PHY_REG_IDR2);

  if (((phyid1 << 16) | (phyid2 & 0xFFF0)) == DP83848C_ID) {
      phy_in_use =  DP83848C_ID;
  }
  else if (((phyid1 << 16) | (phyid2 & 0xFFF0)) == LAN8720_ID) {
      phy_in_use = LAN8720_ID;
  }
doing in ethmac.c :confused:

Easyweb is running with  DP83848C here without problem No changes required
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Fri Mar 22 06:54:18 MST 2013
EASYWEB is written for a LAN8720 PHY and you are using a DP83848CVV PHY.

Did you change the EASYWEB program to work with the DP83848CVV instead of the LAN8720 ??
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Mar 22 06:06:31 MST 2013
You are not providing much information and not answering questions ;)

I think your LAN is using a different IP range :confused:

I would suggest that you find someone who can help you to find out how your LAN is setup :)
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kevin on Fri Mar 22 05:22:17 MST 2013

Quote: Zero
I prefer to change IP to my LAN IP range (LPC1769 is connected to Network Switch) ;)

How did you connect your board?

Is your board working (especially Ethernet PHY)?

Is it compatible or are you using a different Ethernet PHY (DP83848C, LAN8720)?



I'm using DP83848CVV
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Mar 22 04:55:34 MST 2013
I prefer to change IP to my LAN IP range (LPC1769 is connected to Network Switch) ;)

How did you connect your board?

Is your board working (especially Ethernet PHY)?

Is it compatible or are you using a different Ethernet PHY (DP83848C, LAN8720)?
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kevin on Fri Mar 22 04:41:45 MST 2013

Quote: Zero
There are several easyweb samples, so which are you using?

Is it ...LPCXpresso_5.1.2_2065\lpcxpresso\Examples\NXP\LPC1000\LPC17xx\LPCXpresso176x_cmsis2.zip\LPCX176x_cmsis2_EasyWeb ?

Did you change IP in tcpip.h already?

Which hardware are you using?

Easyweb is working out of the box if it's IP is setup correct. Then of course pinging it's IP is working also :)

Console should show a message with your IP address:



ZERO
I'm using the example of LPCspresso "LPCX176x_cmsis2_EasyWeb" but not changed the IP address I'm using the same set that was already in the program that is "192.168.0.200". What do I need to answer the "ping" command
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kevin on Fri Mar 22 04:25:33 MST 2013

Quote: whitecoe
I've never seen any problems with the versions of Easyweb that I've played with.

You might get more help if you tell us exactly **which** Easyweb are you using.? For example if you have taken it from one of the example bundles within your LPCXpresso installation, exactly which zip file did you import?

And on exactly which board are you running it ??



The file that I imported is an example of LPCXPRESSO "LPCX176x_cmsis2_EasyWeb" and the board I'm using is a board created by the same company I work.

what I need to set the code so that I can of the "ping" command and microcontroller answer?
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Thu Mar 21 14:20:58 MST 2013
I've never seen any problems with the versions of Easyweb that I've played with.

You might get more help if you tell us exactly **which** Easyweb are you using.? For example if you have taken it from one of the example bundles within your LPCXpresso installation, exactly which zip file did you import?

And on exactly which board are you running it ??
0 Kudos
Reply

2,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Mar 21 14:18:03 MST 2013
There are several easyweb samples, so which are you using?

Is it ...LPCXpresso_5.1.2_2065\lpcxpresso\Examples\NXP\LPC1000\LPC17xx\LPCXpresso176x_cmsis2.zip\LPCX176x_cmsis2_EasyWeb ?

Did you change IP in tcpip.h already?

Which hardware are you using?

Easyweb is working out of the box if it's IP is setup correct. Then of course pinging it's IP is working also :)

Console should show a message with your IP address:


Quote:

RDB1768 Easyweb TCP/IP Stack
- Initializing
- IP addresss = (Your IP address)
Up and running!

0 Kudos
Reply