bugAVR Downloader/UploaDEr - Bugs: bug #41293, High voltage serial programming...

 
 

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

bug #41293: High voltage serial programming only supported with STK500 firmware version 2.x

Submitter:  Daniel Hiepler <rigid>
Submitted:  Tue 21 Jan 2014 06:39:35 PM UTC
   
 
Category:  None Severity:  1 - Wish
Priority:  1 - Later Item Group:  None
Status:  Wont Fix Privacy:  Public
Assigned to:  None Originator Name:  Daniel Hiepler
Open/Closed:  Closed Release:  None
Programmer hardware:  Device type: 

Wed 22 Jan 2014 07:54:31 AM UTC, comment #3: 

I don't think there are STKs that cannot be upgraded.  I have
not come across one, and I've upgraded even really old ones.

The protocol is described publically, so yes, an implementation
could be done.  However, there's a reason Atmel did a complete
rewrite of the protcol.  The v1 protocol is flawed in many
respects, starting with that "devcode" idea.

Joerg Wunsch <joerg_wunsch>
Group administrator
Tue 21 Jan 2014 10:42:14 PM UTC, comment #2: 

Multiple reasons. I've "bricked" an STK500 in the past, not every STK can be upgraded to 2.x, AVR Studio is needed (I didn't find another way after a quick web search), plus it's simply not necessary. But for me it was basically lack of time/lazyness and no windows at hand.

But I see, I thought it would be just some quick "configuration" issue, since stk500v1 already is supported and hvsp also is.
The piece of code could also be taken from uisp, but it certainly needs some effort.
I'd be fine if this issue is closed. At least it serves as documentation to a possible solution (by using uisp) for future generations ;)

Daniel Hiepler <rigid>
Tue 21 Jan 2014 07:35:19 PM UTC, comment #1: 

Curious, why would one not be able to upgrade a genuine STK500
to V2 firmware?

Anyway, unless someone really contributes that piece of code,
I don't think it will ever happen.

Joerg Wunsch <joerg_wunsch>
Group administrator
Tue 21 Jan 2014 06:39:35 PM UTC, original submission:  

I didn't find a way to flash an ATtiny11 (which needs hvsp) using an STK500 with firmware version 1.15

I tried
"avrdude -P /dev/ttyS0 -c stk500hvsp -p t11"
which gave
"avrdude: stk500v2_ReceiveMessage(): timeout"

while with

"avrdude -v -P /dev/ttyS0 -c stk500v1 -p t11"

communication with the STK seemed to work.


A firmware upgrade was no option and I succeeded with
"uisp -dprog=stk500 -dserial=/dev/ttyS0 -dpart ATtiny11 -dhiv"

It would be nice if there was some kind of "stk500v1hvsp" programmer option for people who can't do a firmware upgrade.

Daniel Hiepler <rigid>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-22 joerg_wunsch StatusNone Wont Fix
        Open/ClosedOpen Closed
    2014-01-21 joerg_wunsch Severity3 - Normal 1 - Wish
        Priority5 - Normal 1 - Later

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code