AnsweredAssumed Answered

F767 EMAC Debugging Suggestions

Question asked by Kenny on Oct 30, 2016
Latest reply on Nov 6, 2016 by Kenny
Hi,

I'm attempting to bring up LWIP under FreeRTOS for an F767 on a Nucleo board. I'm using code generated by Cube. This is my third STM32 project and I'm very comfortable using an RTOS but I am just becoming acquainted with LWIP and the EMAC.

At the moment I'm simply trying to get DHCP to work. Basically I create a task, call MX_LWIP_Init(), and then loop/sleep(). With the device connected to a computer with a sniffer I am not seeing any activity.

I have probed the signals between the microcontroller and the PHY and believe that I have the GPIO configured properly.

The initialization code does not report any errors and I can see requests from the stack to call HAL_ETH_TransmitFrame().

LWIP debugging is enabled and it is telling me that it is trying to send DHCP discover UDP packets. Using a breakpoint I never see the ethernet IRQ called.

I'm curious if this solution is known to work on the F7. I suspect the EMAC IP is likely the same as an F4. Any ideas on what else to do for debugging?

 

Outcomes