bugAVR Downloader/UploaDEr - Bugs: bug #32288, stk500v2 protocol issue

 
 

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

bug #32288: stk500v2 protocol issue

Submitted by:  None
Submitted on:  Sat 29 Jan 2011 03:05:21 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Need InfoPrivacy: Public
Assigned to: NoneOriginator Name: Rob Doyle
Originator Email: -unavailable-Open/Closed: Open

Mon 15 Aug 2011 04:09:53 PM UTC, comment #2:

Second, the most interesting question is: what is AVR Studio
doing?

Joerg Wunsch <joerg_wunsch>
Project Administrator
Sat 29 Jan 2011 08:10:18 AM UTC, comment #1:

First, I don't think the STK500v2 protocol has ever been defined
with a bootloader in mind.

Second, the most interesting question is: what is AVR Studio
doing?

Joerg Wunsch <joerg_wunsch>
Project Administrator
Sat 29 Jan 2011 03:05:21 AM UTC, original submission:

I just wrote a stk500v2 protocol for my own use. After some debugging and a peek at the avrdude code, I find the following comment in sk500v2.c - "We set bit 6 to indicate this is the very
last page to be programmed, whatever this means -- we just pretend
we don't know any better. ;-)"

The avrdude code sets bit 6 to '1' always...

I was using bit 6 (which should be only set on the last page to be
programmed) to tell the programmer to re-enable the RWW block of
flash after this page is written - which I believe is it's intended function.

Bob
... just trying to make a good thing better.

Anonymous

 

No files currently attached

 

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 None (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Aug 2011 04:09:53 PM UTCjoerg_wunschStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup