Re: Basic AVR questions

From: Mike Harrison (mike_at_whitewing.co.uk)
Date: 12/28/04


Date: Tue, 28 Dec 2004 12:53:41 GMT

On Tue, 28 Dec 2004 02:25:55 +0000 (UTC), Prime <afra@666aurigae.demon.co.uk> wrote:

>"mc" <mc_no_spam@uga.edu> wrote in
>news:41ce04fa$1@mustang.speedfactory.net:
>
>> (1) Do all AVRs have the same instruction set? (Except obviously for
>> instructions that refer to things that are not there.)
>
>I believe that they all have core instruction set common to all, though I
>also believe that the later AVRs have some instructions that the earlier
>ones don't. If in douby check the data sheets available on Atmel's site.
>
>> (2) How easy is it to make an AVR programmer that is compatible with
>> AVR Studio?
>
>IIRC reasonably easy, however the problem is that this uses an AVR itself,
>which will need to be programmed.
Not necessarily - you can make an AVR programmer with a PIC, or any other micro. At a pinch you
could probably do it off the parallel port
>
>> (3) Would such a programmer be essentially universal (for AVRs)? Or
>> do they have different programming algorithms?
There are differences, mostly to do with configuration fuses - like PICs, they are similar, but with
a few device-specifics. Unfortunately config programming on AVRs is much worse than PICs in that
there is no standard for embedding config data into the hex file, so the programmer needs to have a
way to input all the options - a complete mess.


Loading