Hi,
We have two projects developed on MCUXpresso IDE v11.8.0, SDK 2.14.0, imxRT1064. In both projects, we implemented a TCP client over Ethernet.
In the 1st project, SRAM_DRAM was used as the default RAM, and in the 2nd project, BOARD_SDRAM was used.
A task was created for the TCP client with xTaskCreate with a PRIORITY value of 3 and a STACK SIZE of 1024. There are no other tasks in the project.
After the TCP client connects to the server, it periodically sends two packets every second. The size of the first packet is 1518 Bytes and the size of the second packet is 962 Bytes. There is a 200 millisecond wait between the first packet and the second packet.
pseudocode:
send packet1
wait 200ms
send packet2
wait 1000ms
While the same codes do not cause any problems in the 1st project (the project where the default ram is SRAM_DTC), the blockage occurs after the 6th or 7th cycle in the 2nd project (the project where the default ram is BOARD_SDRAM).
The application remains in the send function. When we make the socket non-blocking, the EAGAIN value is returned. (Client algorithm closes the socket and restarts the algorithm when the send function returns a value less than 0)
Heap_3.c was used as the Freertos heap scheme.
Please see attached lwipopts.h and FreeRtosConfig.h files of the error-producing project.
Also find attached the Heap and Stack Placement and MCU settings screenshots of the both projects.
Could you please help me about how we can solve this issue? Thanks.
1st project heap and stack:

1st project mcu settings:

2nd project heap and stack:

2nd project mcu settings:
