Skip to main content
Associate III
Question

FREERTOS + LWIP + shared memory

Hi,

I'm using STM32H755 nucleo board. I'm having freertos + LWIP on M7 core and bare metal on M4. I'm using TCP command to start some real time test on core M4. I'm using shared memory to trigger test and also transmitting some data back to M7 core. 

I'm having occasional problem. I am getting hardfault on M7 core. I'm looking fault analyzer with following results:

fault.PNG

debug.PNG

I'm not sure how I can find root cause for the problem? It seems that something goes wrong with tcpip_thread.

 

    This topic has been closed for replies.

    2 replies

    mƎALLEm
    ST Technical Moderator

    Hello,

    You need to debug the hardfault: How to debug a HardFault on an Arm® Cortex®-M STM32

    To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
    Pavel A.

    Fortunately this kind of fault is very clear. Code in ethernet_input(), precisely at the given address, tried to touch address 0x0FAF0FAF. Debug.