[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #48767] ser_drain() for TCP on Windows doesn't work
From: |
anonymous |
Subject: |
[avrdude-dev] [bug #48767] ser_drain() for TCP on Windows doesn't work |
Date: |
Fri, 12 Aug 2016 20:10:46 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 |
URL:
<http://savannah.nongnu.org/bugs/?48767>
Summary: ser_drain() for TCP on Windows doesn't work
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Fri 12 Aug 2016 08:10:44 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: fibroin
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I have an Arduino Micro with Optiboot-Bootloader and I can upload sketches
with AVRDude over TCP on Linux.
I tried to use AVRDude 6.3 on Windows but AVRDude does not correctly drain the
read buffer and so AVRDude gets confused.
In ser_win32.c there is a special version of ser_recv() for TCP-connections,
but ser_drain() uses the version for serial connections. But it doesn't work.
I get the output as attached.
The read buffer isn't drained so avrdude recives the incoming data from the
initial getsync later.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 12 Aug 2016 08:10:44 PM UTC Name: avrdude fehler.txt Size: 3kB
By: None
<http://savannah.nongnu.org/bugs/download.php?file_id=38191>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?48767>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #48767] ser_drain() for TCP on Windows doesn't work,
anonymous <=