STM32H7 LwIp Ethernet
- July 3, 2018
- 2 replies
- 1468 views
Hi everyone,
I am new to programming Ethernet applications and wanted to start with just sending Ethernet frames with my stm32H7 Nucleo Board. The only Middleware I use is LwIP.
My problem is, that the programm itself is running, but i can not see any frames from my nucleo board with Wireshark.
Rigth now when I am trying to send a Ethernet frame with ethernet_output(), the first line
struct eth_hdr* ethhdr;
seems to fail to create the struct ethhd with following Message:
===============================================
Multiple errors reported.
1) Failed to execute MI command:
-var-create - * ethhdrError message from debugger back end:value has been optimized out2) Unable to create variable object
3) Failed to execute MI command:
-var-create - * ethhdrError message from debugger back end:value has been optimized out===============================================
My main methode looks basically like this 
(note: the MACAddrDest was not 0x00 during my testing).
Does anyone know, where my Problem could be?
Would appreciate any help i could get.
Best regards
PS. I also attached my whole project, if someone wants to look in.
#stm32h7-ethernet