avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] atmega16 vs. atmega32


From: James . Harris
Subject: RE: [avr-gcc-list] atmega16 vs. atmega32
Date: Thu, 5 Aug 2004 14:45:46 +0930

Another (very subtle) difference is the MCUCR used for power management:
The positions of the SE and CM2 bits are swapped between Mega16 and Mega32.

/James Harris



                                                                                
                                                      
                    "Dave Hansen"                                               
                                                      
                    <address@hidden>         To:     address@hidden, 
address@hidden                                           
                    Sent by:                   cc:                              
                                                      
                    avr-gcc-list-bounce        Subject:     RE: [avr-gcc-list] 
atmega16 vs. atmega32                                  
                    address@hidden                                              
                                                          
                                                                                
                                                      
                                                                                
                                                      
                    05/08/2004 07:31 AM                                         
                                                      
                                                                                
                                                      
                                                                                
                                                      



From: Reza Naima <address@hidden>

>
>I ran out of flash on the atmega16, and the atmega32 seems identical but
>with more memory.  I just wanted to ask if this was the case.  The pin

We went the other way (existing product used mega32, prototype new product
on mega32,  eventual product uses mega16).

The differences are slight, but they're enough to prevent binary
compatibility.  The biggest difference I remember is that the location (and

thus the priority) of some of the interrupt vectors changed.  So a
recompile
will be necessary, but source code should be identical (or nearly so).

HTH,
   -=Dave

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list




----------------------------------------------------------------------------------------------------------------------
ATTENTION:
This e-mail message is confidential and privileged. Only the intended recipient 
may access or use it. Any distribution, use, dissemination, reproduction, 
copying of this e-mail without prior written consent is prohibited. If you are 
not the intended recipient, please notify us immediately by return e-mail and 
then delete this e-mail.
----------------------------------------------------------------------------------------------------------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]