patchAVR Downloader/UploaDEr - Patches: patch #9304, [Bug #48767] Implemented WinSock...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9304: [Bug #48767] Implemented WinSock variation of "ser_drain(...)" functionality

Submitter:  Christopher Cooper <ccooper21>
Submitted:  Thu 30 Mar 2017 01:28:51 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  joerg_wunsch Open/Closed:  Closed

Sat 27 Nov 2021 09:16:15 PM UTC, comment #1: 

Applied in r1499, thanks!

Joerg Wunsch <joerg_wunsch>
Group administrator
Thu 30 Mar 2017 01:28:51 AM UTC, original submission:  

This patch addresses bug #48767.  Unlike the POSIX network programming functionality, the Win32 networking programming functionality did not include a working version of the "ser_drain(...)" function.  This function is responsible for draining any stray characters from the programming device before attempting to synchronize with the programmer for the actual programming task.  The "ser_drain(...)" function did get used when attempting network programming, but it always failed because it attempted to use the Win32 "ReadFile(...)" API to read data from a WinSock socket, which is illegal.  Hence, the actual programming would fail if there were any stray characters queued, causing a synchronization problem between the host and the programmer.

Christopher Cooper <ccooper21>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by ccooper21 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-27 joerg_wunsch StatusNone Done
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2017-03-30 ccooper21 Carbon-CopyRemoved -email is unavailable- -
    2017-03-30 ccooper21 Attached File- Added 99-Add-WinSock-variation-of-ser_drain.patch, #40203
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code