cancel
Showing results for 
Search instead for 
Did you mean: 

FREERTOS + LWIP + shared memory

mosamasa
Associate II

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.

 

2 REPLIES 2
mƎALLEm
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.
Pavel A.
Super User

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