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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/19/06 23:15
Read: times


 
#114585 - Memory usage
Responding to: ???'s previous message

Bruce,

I didn't spend much time with the IAR for the ARM as I couldn't get it to work - problemswith the startup code I expect. As for code size comparisons between IAR and others, I can't comment. I doubt if IAR would be substantially better as they might be for the 8051.

As for code memory usage comparison between the 8051 and ARM - this is purely speculative- I would say about twice for the ARM. However, using the THUMB instructions might redress the balance. Also, ints are 32 bits on the gcc compiler so that may cause more code bloat due to initialisers etc. In my reading of various articles on the web, the implication is that ARMs and other RISC cpus tend to be hungrier for code space. As such,this is not too much of an issue as most of the Philips ARMs and the other manufacturers usually have a fair slab of flash on the chip. I dare say for my LPC2103 project it might turn out to be more cost effective to go to a larger part. Once I've got most of the features implemented in the code, I'll be in a better position to compare compilers etc and decide whether I squeeze it into the '2103 or goto to a part with 128k or more flash.

I suppose the next question is comparison between Atmel, Philips and Analog Devices ARM parts. The Philips are reputed to be the fastest due to 128bit wide flash internally. As to who's parts you use will depend on speed,features and cost I expect.

Most of the tools support all these devices, it's mainly a matter of the include files for the peripherals, where the memory is located and the startup code.

Another negative just came to mind - the LPC's don't have a slab of internal eeprom like the AVRs,PICs and some of the 8051's have. Adding the external i2c eeprom is just so 90's!




List of 30 messages in thread
TopicAuthorDate
ARM micro's. Impressions?            01/01/70 00:00      
   My recent experience            01/01/70 00:00      
      Keil vs IAR            01/01/70 00:00      
         GCC and just about any target            01/01/70 00:00      
      Memory Usage comparison            01/01/70 00:00      
         Memory usage            01/01/70 00:00      
            I doubt that would be the general case.            01/01/70 00:00      
               In many respects, there's no comparison            01/01/70 00:00      
               How many bytes in an instruction?            01/01/70 00:00      
                  just some hair splitting            01/01/70 00:00      
                     Thumb            01/01/70 00:00      
                        Correct!            01/01/70 00:00      
                           Dense            01/01/70 00:00      
                     I hang my head in shame!            01/01/70 00:00      
                        why shame?            01/01/70 00:00      
                           kitchen sinks are expensive            01/01/70 00:00      
                              Core hogs            01/01/70 00:00      
                                 core memory            01/01/70 00:00      
   It's been a few years ...            01/01/70 00:00      
      please elaborate            01/01/70 00:00      
         LOTS of memory            01/01/70 00:00      
            I do not know, what I wondered abot was            01/01/70 00:00      
               Some app's require lots of memory            01/01/70 00:00      
            Integrated PHYs!            01/01/70 00:00      
               It's a MICREL part            01/01/70 00:00      
               link            01/01/70 00:00      
   Thanks. Found it.            01/01/70 00:00      
   Some compiler comparisons            01/01/70 00:00      
      yeah, but            01/01/70 00:00      
      Written by Hitex and Keil            01/01/70 00:00      

Back to Subject List