Hello,
I'm developping a new ethernet electronic board based on LPC2368 (ARM 7 ). I based my design on MCB2300, but I changed the ethernet controller. I'm using the DP83848I. In order to test my design, I load the easyweb example, but it doesn't work at all. When I plug the ethernet cable on the computer, it doesn't even recognize the device. The computer says all the time "unplugged ethernet cable".
I would like to know if the easyweb for MCB2300 example should work on DP83848I ethernet controller and LPC2368 microcontroller. Also, I would like to ask you if you have never had this problem of "no connection" and how can it be fixed.
Best Regards,
Maybe you need to define/undefine some PHY constant. Look in your network driver.
Thank's for your answer. Apparently, both components have the same PHY configurations. The only difference is that I don't force the PHY Adress with resistence as MCB2300, so it is set by default (which should be the same)
For the DP838848I:
www.national.com/.../DP83848I.pdf
For the DP838848C (used in MCB2300):
www.national.com/.../DP83848C.pdf
It looks like both components are exactly the same (I version has JTAG).
If you refer changing the code, which part of the easyweb code should I change to adapt it?
In my LPC24_EMAC.c file,
#ifdef _DP83848_ #define PHY_DEF_ADR DP83848C_DEF_ADR #define PHY_ID DP83848C_ID #else #define PHY_DEF_ADR KSZ8001_DEF_ADR #define PHY_ID KSZ8001_ID #endif ,/pre>
I'm using the following example :
http://www.keil.com/download/docs/295.asp
On this part, there is EMAC.c , but I cannot find the code line. Probably, it's a newer version.
Using DP8384I, should I change the PHY adress or should I keep with the same adress than DP8384C?
If I must change it, where can I find this adress? I don't see it on the datasheet. Could you help me?