bugAVR Downloader/UploaDEr - Bugs: bug #14681, Avrdude fails communication when...

 
 

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

bug #14681: Avrdude fails communication when using -v -v -v -v (4x)

Submitter:  None
Submitted:  Sat 01 Oct 2005 06:39:06 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  c_oflynn Originator Name:  Wouter van Gulik
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Thu 24 Nov 2005 03:01:21 PM UTC, comment #5: 

Hello,

Tested Brian Dean's patch on the mailing list, now it works with 3,4, or 16 v's. Commited to CVS.

 -Colin

Colin O Flynn <c_oflynn>
Group Member
Thu 27 Oct 2005 02:14:06 PM UTC, comment #4: 

This is a bug in ser_send() on Windows, but not Unix (ser_win32.c vs ser_posix.c).  The bug is that the buffer index and the buf itself are incremented within the char output loop and by the time execution reaches the point where the buffer itself needs to be output, the counters have been updated, and thus there is no more data to output.  A temporary variables need to be used for the verbose output loop instead of the originals.

Brian Dean <bdean>
Group administrator
Thu 06 Oct 2005 09:15:50 PM UTC, comment #3: 

I attached two log files per your request.

One showing avrdude doing fine. (3x -v)
One making avrdude fail. (4x -v)

Anonymous
Mon 03 Oct 2005 08:19:34 PM UTC, comment #2: 

Can you describe a bit more about your environment?

I've been using -vvvv quite frequently, and never observed a
problem with it.

Perhaps, you can add a full log file.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sat 01 Oct 2005 09:59:40 PM UTC, comment #1: 

I forgot to mention:

I use avrdude5.0 for Win32.
I downloaded this from Avr "Super-Project"

Anonymous
Sat 01 Oct 2005 06:39:06 PM UTC, original submission:  

While I was programming and debugging my application I noticed that:

avrdude -cstk500v2 -Pcom1 -pm16 -v -v -v
works fine.

But when using (4x -v)
avrdude -cstk500v2 -Pcom1 -pm16 -v -v -v -v
It 'hangs' generating only:
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout

I noticed that the sequence number is always 1
I know that AvrStudio adds 1 for every cycle. Even if the previous attempt failed. Maybe this causes the problem?
Or is this related to the %z bug?

Anonymous

 

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

Attached Files
file #2966:  log_4xv.TXT added by None (488B - text/plain - Log file of avrdude failling on -vvvvv (4x v))
file #2965:  log_3xv.TXT added by None (32KiB - text/plain - Log file of -vvv)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-11-24 c_oflynn Open/ClosedOpen Closed
2005-11-24 c_oflynn StatusNeed Info Fixed
    Assigned toNone c_oflynn
2005-10-06 None Attached File- Added log_4xv.TXT, #3030
2005-10-06 None Attached File- Added log_3xv.TXT, #3029
2005-10-03 joerg_wunsch StatusNone Need Info
2005-10-01 None Carbon-Copy- Added avrmail --AT-- xs4all --DOT-- nl

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code