Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] STK500 ISP Mode Error

2007-09-08 by Bruce

Klaus,

Ok, I tried what you suggested below.   However, it still failed to work.  

While looking very closely and repeating the procedure several times,   
I noted on the STK500 Interface box,  a selector called " Programming 
Mode ".    Looking closely,  I observed that I had the option of 
selecting  PP/HVSP mode.  

(light bulb goes off in head )   I went back and tried what you 
suggested for High Voltage programming again, with the PP/HVSP 
selected.     Works Fine now.   

I did say I never done High Voltage Programming didn't I ?    LOL. 

Also,  Noted that the STK500 user guide, pdf, was unclear about the 
OSCSEL jumper.    The picture shows pin 2 & 3 selected.  The 
instructions say pins 1 & 2.   I left the pins at 2 & 3 this time.  

Anyway,  Everything is working fine now.  Can select Fuses, Lockbits and 
do high voltage programming.

One question.   Why did the HV programming fix the problem ?  Or is it 
just one of the mystics of the universe.   Just curious. 

Many Thanks
Bruce


Klaus Ruebsam wrote:

>Hi Bruce,
>
>in case you have (however) accidently tampered the internal program of your STK500 you may restore that as follows:
>
>Disconnect any cables from the two ISP connectors
>
>Do not insert any device into the programming sockets
>
>Press the programming button just besides the ISP-connector and keep it pressed
>
>turn on the Power for the STK500
>
>Release the programming button
>
>The STK500 should go into upgrade-mode
>
>Now start AVR-Studio
>
>(the next steps a have to recover from my memory)
>
>Select "Tools" -> "AVRPROG". A device of type 8515 (or 8535 I´m not 100% sure) should be "selected" in the box (you can´t change it anyhow)
>
>Select the file stk500.ebn in the following directory: C:\Program Files\Atmel\AVR Tools\STK500 as upgrade file
>
>and hit the upgrade/program button.
>
>That will write the latest (at least latest according to the version of AVR-Studio you are using) STK500 firmware version to your STK.
>
>I just had a similar problem last week and for me that and nothing else was the solution. No idea how I broke the STK.
>
>I can´t find the proper document, but I´m sure the above procedure is described much better somewhere in the docs.
>
>In general HV-programming should work!
>
>One last idea: your power supply is working properly?!? Not too high, not to low in voltage?
>
>Good luck!
>
>Kind regards,
>
>Klaus
>  
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.