Hello,
I am involved in a problem related to a network latency.
The system consist of 6 boards where one is a converter from standard RS232c serial to TCP/IP
port. The other 5 boards are slaves that answer to their proper requests.
This system is designed considering one task to send network request and five tasks for each
slave to process answer received from network. So all boards are connected by ethernet.
This system works fine. Anyway when there is a network latency of millisec (e.g. 10 msec), provided
for example from a firewall, all tasks related to network will crash after few seconds.
I tried to review the question from memory management side and also from SACK context.
No solution until now. I suspect that the TI TCP/IP stack has strange behavior while manage
delayed/lost packages. I mean the problem get start from repeated request on network while
there is delayed reply from network related to one socket. This means that I created the problem
only for one slave not for all of them.
The system work fine until to 3 slaves including the delayed. it starts to work bad with a configuration
that include 4 slaves. This means that the master create 3 tasks related to each slave (included the delayed)
and works fine but when add one more task (related to the new one slave without any network latency) all tasks go down after few seconds. Memory management problem? Heap? Stack? What to review there? I tried to extend th size of heap and stack assigned to each task without success.
The TI RTOS package used is the TI-RTOS v1.1.0.25 in ARM/Stellaris context.
Welcome any advice.
Thanks