ATmega64a with WinAVR(avr-gcc)

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi friends,

As far as I know ATmega64a is not supported by avr-gcc (as it is not in supported device list).

But according to this migration note(AVR524) both controllers are a functionally identical, and only different in manufacturing process and some electrical characteristics.

So can I select ATmgea64 controller in avr-gcc(winavr) and compile code for ATmega64a. will it work?

Thank you guys in advance.

edit: sorry... AVR524 is migration note not application note

Last Edited: Thu. Mar 11, 2010 - 12:24 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

will it work?

Yes, the key thing in determining if two CPU models are functionally identical is whether they have the same signature bytes. I believe mega64 and mega64A do - but check the migration note.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you clawson for the fast reply,

Migration note does say this...
The ATmega64A is a functionally identical, drop-in replacement for the ATmega64.

And as you said about signature, signature byte description is same in both devices' data-sheet...

For the ATmega64/ATmega64a the signature bytes are:
1. 0x000: 0x1E (indicates manufactured by Atmel)
2. 0x001: 0x96 (indicates 64KB Flash memory)
3. 0x002: 0x02 (indicates ATmega64 device when 0x001 is 0x96)

so I am guessing code should work. :)