-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
I'm using a STM32H743VIT board and I have a TCP client that continuously sends messages in a loop to a remote host. The issue is that, after a few successful iterations where messages are correctly received by the remote device, the system अचानक triggers a HardFault inside the mg_send function, specifically at this point:
bool mg_send(struct mg_connection *c, const void *buf, size_t len) {
struct mg_tcpip_if *ifp = c->mgr->ifp;
While debugging, I observed that the ifp pointer appears to reference a memory region that is not accessible or valid. However, I do not understand why the HardFault does not occur immediately, but only after several successful transmissions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels