2025-11-20 5:29 AM
Hello to everyone,
I'm using a custom board based over STM32H743XIH6.
I'm developing a project that need to use TouchGFX, FreeRTOS and LWIP over ethernet.
My first goal it's to be able to PING the card while TouchGFX is running, but i'm having lot of problems (hardfoults)
If I enable only TouchGFX + FreeRTOS all run well
If I enable only LWIP + FreeRTOS I can PING the card
If I enable all (LWIP-FREERTOS-TouchGFX) I have lot of problems (HardFAULTS).
Someone could share a simple project that can use all of them?
I'm using a Custom board but i could try to a NUCLEO H743ZI KIT too.
Best Regards.
Roberto
Solved! Go to Solution.
2025-12-11 8:20 AM
Hello,
Yes i tried to reduce and to enlarge it to see if any offect but it not seems relate to the above problem.
For similar strange problem I tested lot of things.
Now it seem that the above problem disappear adding the follows raws in lwipopts.h..
#define LWIP_TCPIP_CORE_LOCKING_INPUT 1
#define INTERFACE_THREAD_STACK_SIZE (2*1024)As you can see, I had to increase the INTERFACE_THREAD_STACK_SIZE (originally at 1024) AND to set LWIP_TCPIP_CORE_LOCKING_INPUT = 1
Without any of the above corrections i'm still facing the assert problem.
Still remain a mistery for me why I had to insert that lines.
Have you any explains for that?
There's a way to know the amount of any stacks required from lwip?...
I'd like to set all of them in a proper way to avoid the possibility to have other strange troubles in future.
Best regards.
2025-12-12 2:56 AM
Another update:
I was able to generate the above problem on a small project that can run on a NUCLEO-H743ZI kit.
I already send you that project so, maybe, you could better investigate it.
Best Regards.
2025-12-12 3:05 AM
Hello @Roberto C,
I confirm that I have received the file. I will investigate it and try to identify the root cause. Thank you.
Best regards,