cancel
Showing results for 
Search instead for 
Did you mean: 

Running LwIP resulting in a HardFault

Jvan .10
Associate III

I've generated the LwIP code with CubeMX for my Nucleo H745ZI-Q and used this guide to make extra settings:

https://github.com/AnielShri/STM32H745_Ethernet

Now when I run my program, it results in a HardFault.

0693W00000AO4tIQAT.png0693W00000AO4tXQAT.png0693W00000AO4tmQAD.png0693W00000AO4qtQAD.png 

I've attached the memory .ld files, anyone knows how to fix this?

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1

Debugging Cortex-M Hard faults:

https://community.arm.com/developer/ip-products/system/f/embedded-forum/3257/debugging-a-cortex-m0-hard-fault

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.