2186537_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2186537_en-US

2186537_en-US

Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE

Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE  work code Used PHY chip for Ethernet communication and use SRAM it gets problem for Ethernet communication in IDE give me solution.  my all files  are attached here please check and give me  corrections and why this sys_calls.c file is used

lpc2000Re: Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE

Hi @VijayaJangam1 

I have checked your some code.

I have some advices.

1. I think your PHY may not complete auto-negotiation before EMAC is enabled.

So i think you can 

  while (!phy_link_up()) { dly(1000000); } // Wait for stable link

2. Did you config the ENET_TX_EN, ENET_TXD0, ENET_TXD1, ENET_REF_CLK pin?

BR

Harry


Re: Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE

Ethernet Code  using intrnal SRAm base_RAM_ETH_16 = 0x7fe00000 ; /* RAM_ETH_16 */
__base_RAM2 = 0x7fe00000 ; /* RAM2 */
__top_RAM_ETH_16 = 0x7fe00000 + 0x4000 ; /* 16K bytes */
__top_RAM2 = 0x7fe00000 + 0x4000 ; /* 16K bytes */    use this adress transmit string data from transmitter to receiver  I'm working on Ethernet communication between 
two LPC2478 boards using LPCXpresso IDE. I want to send a string from one board to another using broadcast MAC (FF:FF:FF:FF:FF:FF) and store all buffers in internal SRAM (no external RAM or lwIP). send data in the form string from transmitter to receiver Give me corrections and why this problem face. give me solution                  Thank you .....

Re: Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE

Hi @VijayaJangam1 

I have checked your main.c.

If you're using external SRAM for buffers (tx_buf), make sure:

External memory is enabled and initialized before using it.

Your code does not include PHY register initialization via MDIO/MDC.

BR

Harry

Re: Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE

I have checked but my Ethernet code  is not working 

if You hve any sample code for ethernet provide me please for LPCXpresso IDE.

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎01-18-2026 02:19 AM
更新者: