Reputation: 131
Im using stm32f746ZGT + LAN8472A and lwip + freertos on my custom board. I generated default ethernet project by cubemx. I set static ip.
But ETH_IRQHandler never hit so it doesnt answer any questions such as ping request. (I enabled ICMP at lwIP settings). What should i check to find the source of problem
Upvotes: 1
Views: 1195
Reputation: 11
I would suggest you check your Memory Protection Unit settings: ETH-related memory should be allowed to be modified by DMA (by default it's not). It is not a problem from Errata. I saw that in the past and the solution was the proper MPU configuration and proper size and alignment of Ethernet DMA buffers.
Upvotes: 0
Reputation: 419
I'm stuck in an issue that seems quite similar to your. I don't have a solution yet, but thought to share something I found that maybe take you into the right direction.
What I've found is that this seems an issue of teh Micro itself. Following I'm signaling you two links that point to long disucssions regarding (I think) the same problem.
https://github.com/ARMmbed/mbed-os/issues/6262 STM Errata
They both seem to point out to a specific hardware vesion of the STM32F769 (Rev. A) and it seems that the thing is solved in Rev. Z......I use a lot of conditionals, I know, but until I'll be able to test a Micro with the correct revision I won't be able to confirm the problem/solution.
Hope it helps.
Lorenzo
EDIT! While I don't have an answer yet I can confirm that on STM32F4, with the same software, the problem does not show.
Upvotes: 0