Yahoo Groups archive

AVR-Chat

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

Thread

Re: [AVR-Chat] Unable to download code in ATmega88

Re: [AVR-Chat] Unable to download code in ATmega88

2006-04-03 by John Samperi

At 11:25 PM 3/04/2006, you wrote:
>(i've mentioned all my settings below)

I could not see you crystal's clock frequency (maybe I missed that)
whatever your clock frequency is, make sure that the STK500 is set
at a max 1/4 of that. I usually have my clock for the programmer
at about 230KHz.


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Re: [AVR-Chat] Unable to download code in ATmega88

2006-04-04 by Kishore Diggavi

Hi all,

First of all , Thanks John for ur timely response.

My crystal clock frequency is 20Mhz .. i wanted to run my controller at full speed i.e., 20Mhz .. in order to achieve that i've NOT selected the fuse "Divide clock by 8 internally". Its a known fact tat the ISP frequency should be less than 1/4 th of the target clock frequency, but the maximum attainable ISP frequency is 1.845 Mhz. If thats the case then how should i run my controller @ 20 Mhz?? because 20Mhz / 4 = 5 Mhz.

I have 1 more doubt .. In the AVR studio, i've set the clock frequency as 20000000 hz in the "Configurations Options" is that the only place where i can enter my clock frequency or am I still missing something? Plz throw some light on the same.

Thanks & Regards,
Krish.



On 4/4/06, John Samperi <samperi@ampertronics.com.au> wrote:
Show quoted textHide quoted text
At 11:25 PM 3/04/2006, you wrote:
>(i've mentioned all my settings below)

I could not see you crystal's clock frequency (maybe I missed that)
whatever your clock frequency is, make sure that the STK500 is set
at a max 1/4 of that. I usually have my clock for the programmer
at about 230KHz.


Regards

John Samperi

********************************************************
."

Re: [AVR-Chat] Unable to download code in ATmega88

2006-04-04 by David VanHorn


Do you have the 20 MHz version of the part, and is your VCC within tolerance?
It's possible that the chip has the serial programming disabled, did you try another chip?
Beware, a virgin chip will be running on internal 1 MHz RC oscillator until you tell it otherwise, so setting your ISP clock to <250kHz is a good idea.

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.