Yahoo Groups archive

AVR-Chat

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

Thread

Recover a stk500?

Recover a stk500?

2005-08-18 by thormj

Anxious to try the new toys, I tried programming the "LEDs&Switches" 
into the ATMega that came with the stk-500.  When I did this, it 
asked to upgrade the firmware on the stk-500...

After finding a screwdriver (ahem... IC Puller), and removing the 
target and jumpers, I held down the prog button while powering up, 
and it seemed to be programming ok....

Except, I got a "Program Failed" message at the end.  Now AVR 
Studio's avrprog doesn't recognize it...

Hrm... I'm actually not sure if its "all the way" dead -- the status 
sometimes goes red-yellow-green if I reset the pc.

If it matters, I'm using a Belkin USB->serial adapter (which I 
thought would work if it detected the STK firmware rev; stupid 
Toshiba with no serial ports)...

I'll try with a "real" serial port Friday...
Any tips on getting this back to working (or at least to where it 
was)?

Thanks,
Thor Johnson

Re: [AVR-Chat] Recover a stk500?

2005-08-18 by Kathy Quinlan

thormj wrote:

> Anxious to try the new toys, I tried programming the "LEDs&Switches" 
> into the ATMega that came with the stk-500.  When I did this, it 
> asked to upgrade the firmware on the stk-500...
> 
> After finding a screwdriver (ahem... IC Puller), and removing the 
> target and jumpers, I held down the prog button while powering up, 
> and it seemed to be programming ok....
> 
> Except, I got a "Program Failed" message at the end.  Now AVR 
> Studio's avrprog doesn't recognize it...
> 
> Hrm... I'm actually not sure if its "all the way" dead -- the status 
> sometimes goes red-yellow-green if I reset the pc.
> 
> If it matters, I'm using a Belkin USB->serial adapter (which I 
> thought would work if it detected the STK firmware rev; stupid 
> Toshiba with no serial ports)...
> 
> I'll try with a "real" serial port Friday...
> Any tips on getting this back to working (or at least to where it 
> was)?
> 
> Thanks,
> Thor Johnson


Did you try the proccess using a dos box and running the dos program 
"AVRprog.exe" it is located in
"C:\Program Files\Atmel\AVR Tools\AvrProg" (if you installed in the 
default place. just before running it, make sure the STK500 is plugged 
into the serial port (and IIRC it is in program mode (no jumpers, target 
uC, deafult links, powered up with the prog button held)

Regards,

Kat.


-- 
---------------------------------------------------------------
K.A.Q. Electronics	Website: www.kaqelectronics.dyndns.org
IM: Yahoo: PinkyDwaggy  MSN: katinka@kaqelectronics.dyndns.org
For Everything Electronics     Phone: 0419 923 731
---------------------------------------------------------------	


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/75 - Release Date: 17/08/2005

Re: Recover a stk500? ==> USB Adapter that works

2005-08-22 by thormj

> Did you try the proccess using a dos box and running the dos 
> program "AVRprog.exe" it is located in
> "C:\Program Files\Atmel\AVR Tools\AvrProg" (if you installed in
> the default place. just before running it, make sure the STK500 is 
> plugged into the serial port (and IIRC it is in program mode (no 
> jumpers, target uC, deafult links, powered up with the prog button
> held)

Thanks!

I didn't have to get to that; on my home PC the stk worked fine.  I 
tried a couple of other USB serial adapters (as my notebook has no 
serial ports):

USB serial to avoid: Belkin -- this looks like it works, but fails
USB serial that works: http://sewelldirect.com/usbtoserial.asp
  (I'm using the 9pin with the cable... but I got it from a yahoo 
store)

-Thor Johnson

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.