Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] (Probably solved) Probs programming ATMega16 via ICSP

2004-02-10 by Dave VanHorn

>
>There must be a way using ICSP from the very first programming on all
>devices. I don't want to buy an STK 500 for high voltage p/s programming

"click"

We do this with M8's, M128's and T26's.
Your clock rate on the board should be no faster than 1/4 the M16's clock.
They should come with internal 1 MHz RC on.

Make sure you don't have anything else hanging on the SPI lines, and that 
the STK can pull the reset down.
If you use the SPI for other tasks, you'll need resistors between the M16 
and the device, and the programming connector direct to the M16, otherwise 
the programmer may not be able to pull the lines up and down.

Dave, Prince of Hopefully Suficient Light.

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.