cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using ethernet connection in Nucleo-h743zi2

AElta.1
Associate II

hi

I am using Nucleo-H743ZI2 for Ethernet :

Ethernet RMII:

First TxDescribter Address: 0x30000200.

First RxDescribter Address: 0x30000000.

Rx Buffers Length: 1536.

CortexM7 setup:

0693W00000UnbfTQAR.pngLWIP:

0693W00000UnbgCQAR.pngkey options:

0693W00000UnbgHQAR.pngLAN : Platform

0693W00000UnbggQAB.pngadd to Flash.id:

 .lwip_sec (NOLOAD) :

 {

  . = ABSOLUTE(0x30000000);

  *(.RxDecripSection) 

   

  . = ABSOLUTE(0x30000200);

  *(.TxDecripSection)

   

  . = ABSOLUTE(0x30000400);

  *(.Rx_PoolSection)  

 } >RAM_D2

add in main.c:

while (1)
  {
    /* USER CODE END WHILE */
	  MX_LWIP_Process();
	 	      HAL_Delay(1);
    /* USER CODE BEGIN 3 */
  }
  /* USER CODE END 3 */
}

but he when I ping the address I get :

ping 192.168.1.10

Pinging 192.168.1.10 with 32 bytes of data:

Reply from 192.168.1.37: Destination host unreachable.

Reply from 192.168.1.37: Destination host unreachable.

Reply from 192.168.1.37: Destination host unreachable.

Reply from 192.168.1.37: Destination host unreachable.

and I also tried the examples in :

https://github.com/stm32-hotspot/STM32H7-LwIP-Examples

but does not work still. same ping issue

I also followed guide in :

https://community.st.com/s/article/How-to-create-project-for-STM32H7-with-Ethernet-and-LwIP-stack-working

but does not work still. same ping issue

1 REPLY 1
Pavel A.
Evangelist III

Please always start from a ready example for this Nucleo, in the Cube software package or from github.

Do not use cube-generated stuff until you have a ready example working (whatever this means) as a reference.

Also, use a private ethernet network, avoid connecting the board to office network or internet while debugging.