Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > Microcontrollers 8bit > Re: Programming...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 9 Topic 838 of 862
Post > Topic >>

Re: Programming ATMega8515

by Rich Webb <bbew.ar@[EMAIL PROTECTED] > Apr 15, 2008 at 04:39 PM

On Tue, 15 Apr 2008 15:43:34 -0400, russ lyttle <lyttlec@[EMAIL PROTECTED]
>
wrote:

>I'm trying to program ATMega8515's using STK500 and have not had any 
>luck. I've programmed ATMega16's and AT90S8515 OK with 3 Stk500 boards, 
>but get device ID errors with ATMega8515's. I've also looked on the 
>Atmel site, but haven't found the right FM to read.

The "usual" problem with programming AVRs is that they typically
(all?) come from the factory set to use the internal RC oscillator as
the clock source and that oscillator is typically (always?) set, or
divided down, to 1 MHz.

If the STK500's programming clock is higher than 1/4 of that then
programming will fail. Check the "settings" button under the Main tab
from the STK500 window in AVR Studio.

A good test is to *always* do a signature check before trying to
program. If the signature is wrong or cannot be read then something's
amiss.

Once you're talking to it reliably, set the fuses as needed if you're
using an external clock source or crystal.

-- 
Rich Webb     Norfolk, VA
 




 9 Posts in Topic:
Programming ATMega8515
russ lyttle <lyttlec@[  2008-04-15 15:43:34 
Re: Programming ATMega8515
Tom <t.wyckoff@[EMAIL   2008-04-15 19:55:38 
Re: Programming ATMega8515
"TT_Man" <So  2008-04-15 21:20:02 
Re: Programming ATMega8515
russ lyttle <lyttlec@[  2008-04-16 10:42:02 
Re: Programming ATMega8515
Tom <t.wyckoff@[EMAIL   2008-04-17 14:35:26 
Re: Programming ATMega8515
Rich Webb <bbew.ar@[EM  2008-04-15 16:39:09 
Re: Programming ATMega8515
russ lyttle <lyttlec@[  2008-04-16 10:58:03 
Re: Programming ATMega8515
Rich Webb <bbew.ar@[EM  2008-04-16 12:10:05 
Re: Programming ATMega8515
russ lyttle <lyttlec@[  2008-04-16 16:36:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 12:35:04 CST 2008.