This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ETHERNET_LPC2378 hangs

Hi all

I am using LPC2378 processor and trying to initialize the ethernet ...i got the ethernet code from the net for MCB2300 board.

my LPC2378 is running on 16MHz crystal. and i am using DM9161 PHY layer which is different from the dev board of DP83848 chip.

I am using keil compiler for debugging the code but when i am trying to initialize the LPC internal register for ethernet .

   MAC1 = 0xCF00 ; /*soft resets all MAC internal modules*/

then after some delay

MAC_MAC1 = 0x0;         /* deassert all of the above soft resets in MAC1 */

the problem occures when i de assert the MAC1 register the debug stops and indicates an error saying "debug cannot stop the ARM module " agter which i am unable to debug the code .

if the ethernet init function is blocked and debugged ,its working fine .

The thing i am unable to understand is the same code is working for me on the dev board MCB2300 boad without any problem.....so wt might be problem with my LPC board .

has any one came accross this problem ....plz provode me with the solution ..

Regards
Suresh

0