Yahoo Groups archive

AVR-Chat

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

Message

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

2004-02-10 by Marcus Klein

Hi Dave!

Dave VanHorn schrieb:

> >
> >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.

Ok, but how can I change / adjust the clock rate? The software does not
support this feature.
PonyProg plus the SI-Programmer (serial adapter) has no options for clock rate
and in CodeVision
I haven't found one, too. (used with STK 200+/300-ICSP-Dongle on parallel
port)

> Make sure you don't have anything else hanging on the SPI lines, and that
> the STK can pull the reset down.

I'd put them in designing the schematics...
Reset is well down to ground - I've checked this

> 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.

Erhhhhh - I don't use the STK500 and I don't want to use it if it's possible
(SMDs don't
fit in DIL-sockets very well).

> Dave, Prince of Hopefully Suficient Light.

Marcus,
owner of a torch with empty cells %-{

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.