2022-10-07 08:07 AM
hi
I am using Nucleo-H743ZI2 for Ethernet :
Ethernet RMII:
First TxDescribter Address: 0x30000200.
First RxDescribter Address: 0x30000000.
Rx Buffers Length: 1536.
CortexM7 setup:
LWIP:
key options:
LAN : Platform
add 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 :
but does not work still. same ping issue
2022-10-08 02:48 PM
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.