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)

Submitted by:  None
Submitted on:  Sat 01 Oct 2005 06:39:06 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Colin O Flynn <c_oflynn>Originator Name: Wouter van Gulik
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer 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>
Project MemberIn charge of this item.
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>
Project 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>
Project 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

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 24 Nov 2005 03:01:43 PM UTCc_oflynnOpen/ClosedOpen=>Closed
Thu 24 Nov 2005 03:01:21 PM UTCc_oflynnStatusNeed Info=>Fixed
  Assigned toNone=>c_oflynn
Thu 06 Oct 2005 09:12:12 PM UTCNoneAttached File-=>Added log_4xv.TXT, #3030
Thu 06 Oct 2005 09:11:17 PM UTCNoneAttached File-=>Added log_3xv.TXT, #3029
Mon 03 Oct 2005 08:19:34 PM UTCjoerg_wunschStatusNone=>Need Info
Sat 01 Oct 2005 06:39:06 PM UTCNoneCarbon-Copy-=>Added avrmail --AT-- xs4all --DOT-- nl

Back to the top


Powered by Savane 3.1-cleanup1