I send data from evaluation board MCB2300 (with LPC 2378 microprocessor) to a user's PC via Ethernet using TCP/IP protocol. A program named Ethereal shows that MCB2300 transfers 1024 bytes segment during 7-8 ms after ACK is received from PC. Why the transfer is so low? (Program sample is EasyWeb).
I send 4 Kbytes from MCB2300 to PC. Outgoing TCP data size = 1 Kbytes. 1 Kbyte was sent. The MCB2300 board got ACK from PC. The board sends next 1 Kbyte after 7-8 ms. What should I do to reduce this time? Total transfer time for 4Kbyte is 40 ms.
Are you using the Keil protocol stack? The Keil RL?
If so, what period have you got the TCP maintenance tick set to?
Our tests indicate that it is not a turtle; if you configure it to match your requirements!
Please tell me : What is TCP tick? How can I increase the TCP tick frequency without RL?
The TCP tick is the name given to the TCP internal maintenance call.
In the Keil TCP implementation, it is called by
timer_tick();
So you must call it more frequently.
View all questions in Keil forum