Failed to find an ethernet interface

Started by Nglinding, March 04, 2010, 11:31:13 PM

Previous topic - Next topic

Nglinding

hi,

I try to download hex file using Flash Magic Ethernet but I got error "Failed to find an ethernet inteface",  I follow all instruction in the manual but still have the same issue.  the following is what I have done:

1. Using bootloader program sample from AN10744, I compiled with no error. I make sure that Mac Address is 0c-1d-12-e0-1f-10 (in sbl_config.h)
2. Using JTAG cable, download the bootloader as described in AN10744 , the led flashing as described in AN10744. unplug the JTAG Cable. (led still flashing).
3. Connected the Ethernet cable (the sample code of HTML and other ethernet program from keil work fine, and I can see and download all program in this MCB board and it works.  I always program using JTAG Cable)
4. Run Flash Magic program and configure as follow:
5. Select device: LPC2368 Ethernet (my MCB2300 has LPC2368 on board).
6. IP Address: 192.168.0.111 (this IP the same subnet as where this Fash Magic running and no other device use this IP in this network)
7. MAC address: 0c-1d-12-e0-1f-10
8. I compile the sample code (user code blinky) ==> generate to Blinky.hex (make sure program start at 0x2000)
9. Hex File set to this file ==> C:\Projects\test uVision\Ethernet IAP\EthernetBootloader\User Code Sample Blinky\Flash\Blinky.hex
10. Click "Start" button and display "Failed to find an ethernet interface"


Network setting all fine as I can see using IPCONFIG:

Windows IP Configuration


Ethernet adapter Local Area Connection:

        Media State . . . . . . . . . . . : Media disconnected

Ethernet adapter Wireless Network Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.0.11
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1

Ethernet adapter Local Area Connection 2:

        Media State . . . . . . . . . . . : Media disconnected


My operating system: windows XP Professional Service Pack 3

attach is the picture of error I got and also the setting.

any one have idea?

thanks in advance.

Andy Ayre

Can you please try a wired ethernet connection and disable the wireless connection. Let me know if that works or not.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Nglinding

hi Andy,

thanks for the response.

I tried as your suggestion, the error still the same, 
what I did as follow:
1. Disable wireless network connection
2. Using CAT5E connect to hub (this hub connected to MCB2300)
3. I try to make sure if there is a connection between MCB2300 and the computer by using program install in MCB2300 and ping the device.
4. Compile and Download the Bootlader Program to MCB2300
5. Compile hex program for download using Flash Magic
6. Run Flash Magic make sure all setting is correct (see in the attachment).
7. Click Start

In all trial, firewall has been disabled (no Firewall).

The error still the same as before, it looks the problem that flash magic can not detect the network

attach is the screen capture.

please advice.


Andy Ayre

This can only happen if the Windows API function GetAdaptersInfo returns an error. Please contact me at support at esacademy dot com if you are willing to try a few debug versions of Flash Magic to see if we can get some more information.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

pksinghg

I am also facing the similar issue w.r.t. Ethernet.
I have tried with 2 Keil boards (MCB1760 with LPC1768 and MCB2360 with LPC2368).
was there any solution found for this issue.

Andy Ayre

A bug was fixed so make sure you are using the current version of Flash Magic.

Please note that you cannot have a router or switch in your network between your PC and the bootloader. A hub is allowed however. A good test is to connect your eval board directly to your PC using a crossover cable. Let us know if it still doesn't work with a direct connection.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com