Yahoo Groups archive

AVR-Chat

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

Thread

Problems programming Tiny26 with AVRISP (mk1)

Problems programming Tiny26 with AVRISP (mk1)

2006-03-16 by Tim Mitchell

Another bizarre Tiny26 problem...

We are programming a Tiny26 with a very simple program. The Tiny26 is
running at 1MHz with a 3.3V supply.

First we tried to program it with an AVRISP mk1 using the old firmware
(for AVR Studio 3). This appeared to program correctly, but the code did
not run. When we read back the flash we found it was repeating the
bottom 256 bytes all the way up through the flash

So we upgraded the AVRISP to the newer firmware (for AVR Studio 4). Now,
it will only program correctly if we set the AVRISP's clock speed really
low (4KHz). If we set it any higher, then the program code is not
programmed correctly and fails to verify - some bytes remain at FF.

The tiny26 appears to be running at 500kHz presumably because we haven't
set the oscillator calibration byte. So any programming speed up to
125kHz should be OK.

Can anyone share a similar experience?

-- 
Tim Mitchell
tim@sabretechnology.co.uk
http://www.sabretechnology.co.uk

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.