HardFault UDP Client
Hi Community,
I am using the Nucleo-H723ZG board for data receiving from the camera by utilizing the spi and processing the data then transforming the data through UDP to another program. The program can run for several hours without problem. But then it will suddenly lead to a HardFault problem caused by the wrong pointer to an invalid address inside the function of ethernet_input(struct pbuf *p, struct netif *netif) in the ethernet.c. The ethhdr is pointed to an invalid address and causes the HardFault: ethhdr = (struct eth_hdr *)p->payload; The address as I checked is a reserved memory somewhere, which can not be accessed (please also see the photo). The HardFault is very difficult to get, as it takes hours to run the program.
Thanks for the help in advance.
