nucleo-F746 ethrnet, lwip configıration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-27 11:39 PM
Hi,
I am using Nucleo F746 eval board. I configured ethernet and lwip. But I can't get ping. "Reply from 169.254.255.144: Destination host unreachable." I get feedback like: My ETH and Lwip configurations are below. Can you help with this issue?
- Labels:
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-27 11:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-28 12:00 AM
Hi,
There is no ios file in the example in this link and I think I made a mistake here. How can I find the ioc file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-28 12:09 AM
Open the project in CubeIDE and then in the main.c compare the configuration in this project to your configurations.
Best regards.
II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-28 02:41 AM - edited 2023-09-28 02:50 AM
Hello @HS ,
The STM32F746xx devices are based on the high-performance ARM®Cortex®-M7, for that it is recommended to configure cortex-M7:
- Enable ICache and DCache.
- Enable memory protection unit (MPU) in “Background Region Privileged access only + MPU Disabled ...” mode. Configure regions according to the picture below:
Could you please check the MPU configuration?
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-28 04:04 AM
Unless he knows about cache handling, I'd say that turning OFF the caches would be the easier path for a start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-11-23 08:42 PM
I use F746_Discovery, i follow your recomendation about MPU and LDCache, and the configuration before about LwIP. In the main.c i have added:
extern struct netif gnetif;
while(1)
{ ethernetif_input(&gnetif);
sys_check_timeouts();
}
In the pc i made ping 192.168.000.123 but no have answer of the F746, some can lack here ?
I also ran the program LwIP_HTTP_Server_Netconn_RTOS and yes work, can see the ping, the http web
and LCD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-11-27 01:03 AM
At least you have the example working, then go through that code and compare to your own.
You'll learn a lot about lwip...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-11-28 10:33 AM
i see the example LwIP_HTTP_Server_Netconn_RTOS the call LwIP are mixed with lcd and os function, i search some simple for start of CubeMX or .ioc, because these is the purpose of these graphical configuration, make simple the management of the pheriperal.
