Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/22/06 10:46
Modified:
  12/22/06 10:50

Read: times


 
#129986 - 8051 -> AVR: not easy !!!
Responding to: ???'s previous message
Jan Waclawek said:
I had rewritten several '51 asm projects into AVR asm and found out it is quite straighforward.


I tried it also.

But sometimes I stopped, because AVR code need more Flash.
E.g. I have many applications, which fits easily in the AT89C2051, but not in the ATtiny2313.


There are some main points, where you must watch on 8051->AVR conversion:

- AVR: no interrupt priorities.
- AVR: no powerful bit instructions (PLC applications)
- AVR: more code space (assembler and C)

Especially the first point was very important on bigger projects, so I use the AVRs only on small projects.
E.g. on one big project (40kB Flash) I assigned all four interrupt priorites.
It make the program development many times easier, if fast interrupts can act, like no other interrupts present.


Peter


List of 49 messages in thread
TopicAuthorDate
second serial port            01/01/70 00:00      
   google search            01/01/70 00:00      
   Didn't Search First            01/01/70 00:00      
      Yes , you can build your own software port.            01/01/70 00:00      
         No 3 on Jan's List            01/01/70 00:00      
            No 3 on Jan's List            01/01/70 00:00      
   have a look at here also            01/01/70 00:00      
      No 5 on Jan's Previous List            01/01/70 00:00      
   Have you considered 8052?            01/01/70 00:00      
      No 1 on Jan's List!            01/01/70 00:00      
      no problem in using 805x            01/01/70 00:00      
         do so, but first ...            01/01/70 00:00      
            I\'d say...            01/01/70 00:00      
               use something            01/01/70 00:00      
                  makes little sense ...            01/01/70 00:00      
                  No 6 on Jan's List - Why PIC?            01/01/70 00:00      
                     makes little sense ...            01/01/70 00:00      
                        1) why different architecture            01/01/70 00:00      
                        Sense            01/01/70 00:00      
                           Context            01/01/70 00:00      
                              Question for Ap Charles            01/01/70 00:00      
                                 Answer to Andy Neil            01/01/70 00:00      
                                    Fair point - so back to OP            01/01/70 00:00      
         Maybe one uArt is enough...            01/01/70 00:00      
   use Atmels            01/01/70 00:00      
      why use Atmel?            01/01/70 00:00      
         Maybe other architecture            01/01/70 00:00      
            why on earth do that            01/01/70 00:00      
               Don't let the pot call the kettle black ...            01/01/70 00:00      
                  I do not "call the kettle black" except..            01/01/70 00:00      
                     Noted            01/01/70 00:00      
                        I appreciate that Andy            01/01/70 00:00      
                           Erik's error rate            01/01/70 00:00      
                              you must be getting into the Christmas spirit            01/01/70 00:00      
               it's quite easy            01/01/70 00:00      
                  yechhh ... ATMEL (eewwww...)            01/01/70 00:00      
                  8051 -> AVR: not easy !!!            01/01/70 00:00      
                     good discussion            01/01/70 00:00      
                        How can you do this            01/01/70 00:00      
                           hand shaking            01/01/70 00:00      
                              no need of handshaking signals            01/01/70 00:00      
                                 you are right            01/01/70 00:00      
                              Not necessarily            01/01/70 00:00      
                     I confirm that            01/01/70 00:00      
         it all depends on what he can both get and afford            01/01/70 00:00      
            The architecture doesn't really matter            01/01/70 00:00      
               architectures            01/01/70 00:00      
                  There are many ways of defining "best"            01/01/70 00:00      
   how true            01/01/70 00:00      

Back to Subject List