lwip - tcpecoserver - transmit data
Hello.
I am using an STM32H743BI processor in the project.
I am using freertos.
I have completed the connection setup from ethernet. I can ping the device and connect as tcpclient.
In the working scenario I need to send data at 100ms intervals as long as the client is connected to the client.
I am having trouble with this, after a few messages the device goes to hardfault as you can see in the picture below.

#define MEM_SIZE 10*1024
/*----- Default Value for H7 devices: 0x30044000 -----*/
#define LWIP_RAM_HEAP_POINTER 0x30004000
you can also find the whole lwipopts.h file attached.
I will also leave here the settings I made about memory.
MPU_InitStruct.Number = MPU_REGION_NUMBER2;
MPU_InitStruct.BaseAddress = 0x30004000;
MPU_InitStruct.Size = MPU_REGION_SIZE_32KB;
MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL1;
MPU_InitStruct.IsShareable = MPU_ACCESS_SHAREABLE;
MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE;
HAL_MPU_ConfigRegion(&MPU_InitStruct);
I am using heap1 as freertos heap and I set the size to 200000bytes.
Thanks for your helps.
Best Regards.
EMRE
