how to establish connection between mcb1800(lpc1857) and my laptop

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

how to establish connection between mcb1800(lpc1857) and my laptop

969 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by saur on Mon Oct 14 01:21:37 MST 2013
I am using the mcb1800 development board which has a LPC1857 controller.

I'm using the Keil IDE and have the MDK PRO license (12 days of license remaining, so kind of urgent).

I'm using the BSD Server program given by Keil and trying to establish a connection between my board and the laptop using an Ethernet cable.

I gave my laptop a static IP and gave the default gateway as the IP of the board and also added the arp of the board to the laptop using cmd.

But whenever I try to ping the board (default gateway), it says request timed out.

Can anyone please help me, as to how to establish the connection or any example program to get an Ethernet communication working.

If I'm doing something wrong, tell me that or what I should do?

If possible, a detailed flow as to how to establish the communication would be great.

Thanks in advance and waiting for all the valuable inputs.
Labels (1)
0 Kudos
Reply
2 Replies

907 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by saur on Sun Oct 20 22:49:26 MST 2013
Thanks for the reply Bavarian.

You are always helpful.

I also wanted to know, that using the Auto MDIX feature available with the PHY device can I do the same using parallel Ethernet cable.

I tried to change the initialization of Ethernet, so as to include advertisement of Auto MDIX. Can that cause a problem with communication?

Also, as its part of my project work, I wanted to know, that using the same Ethernet code given in example, can I create a code for transmission and reception of my data?

I tried what you had said with the parallel cable and using the Auto MDIX feature of the PHY device. Still, it does not ping nor does it switch the LED.

I also tried with the crossover cable and commented all codes I had added. Yet it does not work.

I could understand what you are saying, but don't know why its not working on my laptop. Can't understand or find any reason for the problem.

Thanks again for the great reply.

It was really helpful.
0 Kudos
Reply

907 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bavarian on Thu Oct 17 00:19:47 MST 2013
Well, what should I say? It simply works  0:)

I compiled the example in the folder  .\Keil\ARM\Boards\Keil\MCB1800\RL\TCPnet\BSD_server  and flashed it into an MCB1857.

I configure my ethernet interface on the laptop to 192.168.0.101/255.255.255.0 and open the utility LEDSwitch which can be found in the folder .\Keil\ARM\Utilities\LEDSwitch\Release.

Then I use a [u]crossover cable[/u] to connect the board with the laptop and then I can switch LEDs on the board with a mouseclick on the laptop.
Therefore a ping works as well.

C:\>ping 192.168.1.100

Pinging 192.168.1.100 with 32 bytes of data:
Reply from 192.168.1.100: bytes=32 time<1ms TTL=128
Reply from 192.168.1.100: bytes=32 time<1ms TTL=128
Reply from 192.168.1.100: bytes=32 time<1ms TTL=128
Reply from 192.168.1.100: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.1.100:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0m
s


Hope this helps,
NXP Support
0 Kudos
Reply