I found an issue with the latest STR9 demo and lwip library. ( I am using IAR 5.40 if that makes any difference… ). I thought this kind of performance is simply wrong and started investigating, I saw alarming things on wireshark ethernet analyzer( previous segment lost, duplicate ack, tcp retransmission etc ). After that I thought it has had to work at some point, otherwise it wouldn’t be included as official demo.
After that I tried several versions to trace down where it stopped working. freeRTOS 4.72 works fine( instantaneus page load, no failures on wireshark ). With 4.80 I have exactly same issues as with the new release. Then I looked into subversion for changes between these versions, it turns out that if I use queue.c before rev255 it works fine. ( this revision was supposed to be more efficient re-implementation of queue ).
I didn’t try to see what exactly caused the issue on queue.c as the change was almost complete re-implementation.
Would it be safe to use the old rev 222 queue.c with the new 5.4 freeRTOS ? Does anyone have ideas how it caused this kind of complication for this demo? ( I believe that the problem is very confined and has not been widely known because of that ). I saw one post on this forum complaining about this demo after the change was made back in 2008 https://sourceforge.net/forum/message.php?msg_id=5023157
Any help with this would be highly appreciated.