
Problem with LPC 2368 Ethernet
i have a weird problem ,i am using PHY_DP83848 with LPC2368.Ethernet
is working fine .if PHY chip is damaged or not present ,in
initialization of Ethernet MAC(before PHY initialization)processor get
hanged. during following code....
LPC_MAC_MAC1_REG = 0x0000CF00; // Assert soft reset for all
//modules
LPC_MAC_CMD_REG = 0x00000038; // Assert soft resets for all
//datapaths and host registers
LPC_MAC_MAC1_REG = 0x00000000; // Deassert soft reset for all
//modules
LPC_MAC_CMD_REG = 0x00000000; // Deassert soft resets for
all //datapaths and host registers
Please inform if any one know about it...
Regards
See the errata sheet for LPC2368 and example code from nxp for KEIL.
--- On Tue, 16/12/08, tayyaba_ch wrote:
From: tayyaba_ch
Subject: [lpc2000] Problem with LPC 2368 Ethernet
To: l...
Date: Tuesday, 16 December, 2008, 11:32 AM
Hi All..
i have a weird problem ,i am using PHY_DP83848 with LPC2368.Ethernet
is working fine .if PHY chip is damaged or not present ,in
initialization of Ethernet MAC(before PHY initialization) processor get
hanged. during following code....
LPC_MAC_MAC1_ REG = 0x0000CF00; // Assert soft reset for all
//modules
LPC_MAC_CMD_ REG = 0x00000038; // Assert soft resets for all
//datapaths and host registers
LPC_MAC_MAC1_ REG = 0x00000000; // Deassert soft reset for all
//modules
LPC_MAC_CMD_ REG = 0x00000000; // Deassert soft resets for
all //datapaths and host registers
Please inform if any one know about it...
Regards
From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/
I have consulted Errata sheet and NXP code as well. every thing is
fine and Ethernet is working well . only problem is that if PHY chip
is Damaged processor will even not reset the EMAC and hanged.I
couldnt find any document regarding this problem, even if PHY is
faulty EMAC should reset and problem will be at point when processor
negotiate with PHY.
waiting for response
Regards
--- On Wed, 17/12/08, tayyaba_ch wrote:
From: tayyaba_ch
Subject: [lpc2000] Re: Problem with LPC 2368 Ethernet
To: l...
Date: Wednesday, 17 December, 2008, 10:42 AM
Hi
I have consulted Errata sheet and NXP code as well. every thing is
fine and Ethernet is working well . only problem is that if PHY chip
is Damaged processor will even not reset the EMAC and hanged.I
couldnt find any document regarding this problem, even if PHY is
faulty EMAC should reset and problem will be at point when processor
negotiate with PHY.
waiting for response
Regards
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
