[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #42633] Write many frames at high speed to a PC stops
From: |
Bart Houkes |
Subject: |
[lwip-devel] [bug #42633] Write many frames at high speed to a PC stops communication random. |
Date: |
Wed, 02 Jul 2014 06:27:20 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 |
Follow-up Comment #6, bug #42633 (project lwip):
Dear friends,
BUG analysed. Thanks for helping out!
ISSUE: Checksum is wrong calculated sometimes. This part of code was also
changed, because TI DSP's have a strange architecture with 16 bits per byte.
Reentrancy was not the issue, since I lock the core during writing. DMA is no
issue, because I read data without DMA.
LOCK_TCPIP_CORE();
err = tcp_write( tpcb, ptr, length, flags);
if ( err ==ERR_OK)
{
tcp_output( tpcb);
}
UNLOCK_TCPIP_CORE();
Today I have to solve the checksum issue!!
I didn't find this earlier, because Wireshark disables the checksum
validation. ONLY after I switch it on, I found the issue. I would always check
the checksum in Wireshark, since it is only for 20 bytes. :-)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?42633>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #42633] Write many frames at high speed to a PC stops communication random.,
Bart Houkes <=