bugAVR Downloader/UploaDEr - Bugs: bug #35456, The progress bar for STK500V2...

 
 
Show feedback again

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

bug #35456: The progress bar for STK500V2 programmer is "wrong".

Submitted by:  Roger Wolff <rewolff>
Submitted on:  Sun 05 Feb 2012 09:16:37 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 3 - LowItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: me: rewolff
Open/Closed: Open

Sun 12 Feb 2012 12:33:58 PM UTC, comment #3:

attached is the hexfile with byte locations 0x100-400 cut out.

As you can see the maximum address is just beyond 1k.

(file #25048)

Roger Wolff <rewolff>
Mon 06 Feb 2012 07:13:13 AM UTC, comment #2:

No, I'm not programming a bootloader. (hmm. forgot to hit "submit" after writing that last night.)

Thinking about it overnight: wouldn't then programming a bootloader then have the progress bar "jump" to almost the end and then progress slowly to 100%?

What I see is slow progress 0,....5%, and then a sudden jump to 100%, done!

Roger Wolff <rewolff>
Sun 05 Feb 2012 10:18:32 PM UTC, comment #1:

Do you perhaps program a bootloader?

The progress is calculated as the amount of data already
been programmed vs. the highest address to be programmed.
As data not being present in the input file are being skipped
now in the SVN version, (not) programming these data happens
within a few microseconds ...

Yes, perhaps the progress indicator should take into account
how many data are about to be programmed in the first place.
I'd consider that a minor issue, but I'll leave the bug report
open as a reminder.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Sun 05 Feb 2012 09:16:37 PM UTC, original submission:

I'm using the latest SVN(*) (because I needed the syncbb driver a moment ago).

Anyway, when programming an AVR with an STK500V2 compatible programmer, I see the progress bar progress to about 5% and then suddenly it's done. I'm guessing that there is a 16x scaling issue in calling the progress bar functions.

If this is just a two minute "open editor change 1 line of code, close editor, commit to SVN", then please do so. If I need to delve in and figure out how the progress bar works, then let me know. I'll see if I can make time for this.

(*) Ehhhh. I think I have the almost-up-to-date SVN version, and then the patch I wrote here got added to the SVN version. So I'm lagging one patch, that's not relevant here.

Roger Wolff <rewolff>

 

Attached Files
file #25048:  bla.hex added by rewolff (1kB - text/x-hex)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 12 Feb 2012 12:33:58 PM UTCrewolffAttached File-=>Added bla.hex, #25048
    Sun 05 Feb 2012 10:18:32 PM UTCjoerg_wunschPriority5 - Normal=>3 - Low
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup