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 problem in LPC2378

I am working on LPC2378 ( the board was designed with the help of MCB2300 schematics taken from KEIL website)and currently testing the Ethernet MAC and the PHY used is DP83848. wheni try to initialize the MAC the microcontroller hangs and JTAG debugger communication halts with the message 'Target processor in reset' .The code is taken from the KEIL website and is as follows

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

/*a delay routine*/

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


The minute the above line of code is executed the debugger loses control and the LPC2378 hangs.
Please help.

Vinaya

0